[Bug 259635] netstat 1 with lagg failover, impossible transfer rate

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 03 Nov 2021 23:59:58 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259635

            Bug ID: 259635
           Summary: netstat 1 with lagg failover, impossible transfer rate
           Product: Base System
           Version: Unspecified
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: jwb@freebsd.org

Lenovo T430:

ifconfig_em0="ether 6c:88:14:a7:59:0c"
wlans_iwn0="wlan0"
ifconfig_wlan0="WPA"
create_args_wlan0=""
cloned_interfaces="lagg0"
ifconfig_lagg0="up laggproto failover laggport em0 laggport wlan0 DHCP"
ifconfig_lagg0_ipv6="inet6 accept_rtadv"

After plugging in and starting a transfer of video files from a desktop system
over NFS, netstat shows almost 200 MB/s sustained:

FreeBSD moray.acadix  bacon ~ 1015: netstat 1
            input        (Total)           output
   packets  errs idrops      bytes    packets  errs      bytes colls
    106994     0     0  161901590      55324     0    3320082     0
    134136     0     0  202975988      69376     0    4164680     0
    135402     0     0  204893698      70032     0    4202918     0
    130116     0     0  196886320      67271     0    4037274     0
    128795     0     0  194881488      66635     0    4005910     0
    126675     0     0  191687146      65502     0    3931348     0
    116430     0     0  176186388      60218     0    3613532     0
    128540     0     0  194515260      66479     0    3990266     0

iostat 1 shows about half this rate, as expected.

I use netstat regularly and never see this kind of behavior on a simple wired
connection.  After disconnecting Ethernet, wireless transfers are also showing
double the expected rate.

-- 
You are receiving this mail because:
You are the assignee for the bug.