[Bug 268490] [igb] [lagg] [vlan]: Intel i210 performance severely degraded

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 15 Feb 2023 14:14:29 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268490

--- Comment #14 from Daniel Duerr <duerrd561@gmail.com> ---
(In reply to Franco Fichtner from comment #13)

Thank you, Franco. I tested what you suggested here but I do not see a change.
Here's my `ifconfig` output before (the PROMISC flag is missing as you
suggest):

igb0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 9000
        options=800028<VLAN_MTU,JUMBO_MTU>
        ether 00:25:90:d6:e6:72
        media: Ethernet 1000baseT <full-duplex>
        status: active
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
igb1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 9000
        options=800028<VLAN_MTU,JUMBO_MTU>
        ether 00:25:90:d6:e6:72
        hwaddr 00:25:90:d6:e6:73
        media: Ethernet 1000baseT <full-duplex>
        status: active
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>

And here are the baseline `iperf -s` test numbers to match:

[ ID] Interval       Transfer     Bandwidth
[  1] 0.00-79.38 sec  60.0 Bytes  6.05 bits/sec
[  2] 0.00-76.85 sec  60.0 Bytes  6.25 bits/sec
[  3] 0.00-56.37 sec  60.0 Bytes  8.52 bits/sec
[SUM] 0.00-98.92 sec   180 Bytes  14.6 bits/sec

I then made the change you suggested:

[root@nfs dd]# ifconfig igb0 promisc
[root@nfs dd]# ifconfig igb1 promisc

Which is reflected in the `ifconfig` output:

igb0: flags=28943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST,PPROMISC>
metric 0 mtu 9000
        options=800028<VLAN_MTU,JUMBO_MTU>
        ether 00:25:90:d6:e6:72
        media: Ethernet 1000baseT <full-duplex>
        status: active
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
igb1: flags=28943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST,PPROMISC>
metric 0 mtu 9000
        options=800028<VLAN_MTU,JUMBO_MTU>
        ether 00:25:90:d6:e6:72
        hwaddr 00:25:90:d6:e6:73
        media: Ethernet 1000baseT <full-duplex>
        status: active
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>

But the `iperf -s` numbers are still terrible:

[ ID] Interval       Transfer     Bandwidth
[  1] 0.00-68.47 sec  60.0 Bytes  7.01 bits/sec
[  2] 0.00-48.60 sec  60.0 Bytes  9.88 bits/sec
[  3] 0.00-28.25 sec  60.0 Bytes  17.0 bits/sec
[SUM] 0.00-70.48 sec   180 Bytes  20.4 bits/sec

Do I need to adjust the `lagg` interface to replicate your test, given I'm
running inside of a `lagg` interface?

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