Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Aug 2022 14:04:11 -0500
From:      Jim King <jim@jimking.net>
To:        mike tancsa <mike@sentex.net>, stable@freebsd.org, kbowling@FreeBSD.org
Subject:   Re: igc problems with heavy traffic
Message-ID:  <a4ddc96a-3dd5-4fee-8003-05f228d10858@jimking.net>
In-Reply-To: <fd1e825b-c306-64b1-f9ef-fec0344a9c95@sentex.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> <fd1e825b-c306-64b1-f9ef-fec0344a9c95@sentex.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 8/5/2022 12:47 PM, mike tancsa wrote:
> 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 ?
>
I build stable/13 from yesterday and still haven't found a working 
configuration.  When I turn off Flow Control on both NICs my first iperf 
test always causes the NIC to bounce, and sometimes subsequent tests 
will work OK, but only sometimes.  Most of the time the subsequent iperf 
runs also cause the NIC to bounce.

I also tried -rxcsum and -txcsum on the NIC, which had no effect.


> Anything interesting come up in
>
> sysctl -a dev.igc
>
> ?
>
Nothing that catches my eye, but I don't have much experience with this 
kind of troubleshooting.

Jim





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a4ddc96a-3dd5-4fee-8003-05f228d10858>