On 7/31/2022 11:41 PM, Jim King wrote:
I'm trying to use a Qnap dual port 2.5Gb NIC with FreeBSD 13.1.
FreeBSD recognizes the NIC and I'm able to connect to my LAN at 1Gb.
However, trying to push heavy traffic through the NIC results in a
temporary loss of connectivity: traffic stops and the message "igc0:
link state changed to DOWN" appears in the system log. About 10
seconds later the message "igc0: link state changed to UP" is logged,
followed by some messages from dhclient indicating that it has
acquired a lease. At that point network connectivity works normally,
until I try to push a lot of traffic again. I've been able to trigger
this every time using iperf3 from another PC on my LAN, and by using
Ookla's speedtest client (my Internet service is good for about 900
Mbps).
How long does it take to wedge the nic ? I have a pair of Topton routers
(4 IGC NICs) back to back and a simple iperf3 test seems to work ok
between the 2 units.
iperf3 -c 10.1.255.168
Connecting to host 10.1.255.168, port 5201
[ 5] local 10.1.255.209 port 55168 connected to 10.1.255.168 port 5201
[ ID] Interval Transfer Bitrate Retr Cwnd
[ 5] 0.00-1.00 sec 282 MBytes 2.36 Gbits/sec 0 1.07 MBytes
[ 5] 1.00-2.00 sec 281 MBytes 2.35 Gbits/sec 0 1.07 MBytes
[ 5] 2.00-3.00 sec 281 MBytes 2.35 Gbits/sec 0 1.07 MBytes
[ 5] 3.00-4.00 sec 281 MBytes 2.35 Gbits/sec 0 1.07 MBytes
[ 5] 4.00-5.00 sec 281 MBytes 2.35 Gbits/sec 0 1.07 MBytes
[ 5] 5.00-6.00 sec 281 MBytes 2.35 Gbits/sec 0 1.07 MBytes
[ 5] 6.00-7.00 sec 281 MBytes 2.35 Gbits/sec 0 1.07 MBytes
[ 5] 7.00-8.00 sec 281 MBytes 2.35 Gbits/sec 0 1.07 MBytes
[ 5] 8.00-9.00 sec 281 MBytes 2.35 Gbits/sec 0 1.07 MBytes
[ 5] 9.00-10.00 sec 281 MBytes 2.35 Gbits/sec 0 1.07 MBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-10.00 sec 2.74 GBytes 2.35 Gbits/sec 0 sender
[ 5] 0.00-10.00 sec 2.74 GBytes 2.35 Gbits/sec
receiver
iperf Done.
Doing iperf3 -R -P4 -c 10.1.255.168 seems to work as well
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-10.00 sec 936 MBytes 785 Mbits/sec 0 sender
[ 5] 0.00-10.00 sec 935 MBytes 785 Mbits/sec
receiver
[ 7] 0.00-10.00 sec 658 MBytes 552 Mbits/sec 0 sender
[ 7] 0.00-10.00 sec 658 MBytes 552 Mbits/sec
receiver
[ 9] 0.00-10.00 sec 936 MBytes 785 Mbits/sec 0 sender
[ 9] 0.00-10.00 sec 935 MBytes 785 Mbits/sec
receiver
[ 11] 0.00-10.00 sec 278 MBytes 233 Mbits/sec 0 sender
[ 11] 0.00-10.00 sec 278 MBytes 233 Mbits/sec
receiver
[SUM] 0.00-10.00 sec 2.74 GBytes 2.36 Gbits/sec 0 sender
[SUM] 0.00-10.00 sec 2.74 GBytes 2.35 Gbits/sec
receiver
Similarly, just doing perf3 -t60 -c 10.1.255.168 seems to work ok too
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-60.06 sec 16.0 GBytes 2.29 Gbits/sec 4 sender
[ 5] 0.00-61.60 sec 16.0 GBytes 2.23 Gbits/sec
receiver
---Mike