Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Aug 2022 13:47:42 -0400
From:      mike tancsa <mike@sentex.net>
To:        Jim King <jim@jimking.net>, stable@freebsd.org, kbowling@FreeBSD.org
Subject:   Re: igc problems with heavy traffic
Message-ID:  <fd1e825b-c306-64b1-f9ef-fec0344a9c95@sentex.net>
In-Reply-To: <a8192d60-2970-edb5-ce1a-c17ea875bf07@jimking.net>
References:  <fc256428-3ff1-68ba-cfcc-a00ca427e85b@jimking.net> <59b9cec0-d8c2-ce72-b5e9-99d1a1e807f8@sentex.net> <e714cd76-0aaa-3ea0-3c31-5e61badffa18@sentex.net> <86995d10-af63-d053-972e-dd233029f3bf@jimking.net> <3d874f65-8ce2-8f06-f19a-14cd550166e3@sentex.net> <a8192d60-2970-edb5-ce1a-c17ea875bf07@jimking.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 8/5/2022 11:41 AM, Jim King wrote:
> If I fiddle with the Flow Control settings it seems to make a 
> difference.  I can do it without bouncing the link.  I wonder what the 
> Linux driver has as default ?
>>
>> ie.
>>
>> sysctl -w dev.igc.1.fc=1
>> sysctl -w dev.igc.0.fc=1
>>
>> Does it help in your case ?
>>
> Thanks for the suggestion.  Unfortunately it doesn't seem to help in 
> my case.  All four values for flow control give pretty much the same 
> results with my iperf test.
>
>
Are you able to boot a RELENG_13 stable kernel and test ? I am using a 
stable kernel from a couple of days ago and setting the fc=0 (you set 
that on all nics right ?) does work for me both at 2.5G and 1G. Leaving 
the default causes the nic to bounce on my test boxes. I dont see any 
obvious big changes in the driver itself since 13.1 came out so I am 
guessing something else fixed or worked around this bug ?

https://cgit.freebsd.org/src/log/?h=stable%2F13&qt=grep&q=igc

Been running this loop for 30min without any link bounces

#!/bin/sh

TARGET=10.1.255.168
I=/usr/local/bin/iperf3


while true
do
$I -t 60 -c $TARGET
sleep 2
$I -P4 -t 60 -c $TARGET
sleep 2
$I -R -t 60 -c $TARGET
sleep 2
$I  -R -P4 -t 60 -c $TARGET
done


Anything interesting come up in

sysctl -a dev.igc

?



     ---Mike




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?fd1e825b-c306-64b1-f9ef-fec0344a9c95>