[vortex] RX overrun with 3COM 3c982

Claude Pignol cpignol@seismiccity.com
Fri Nov 29 17:24:00 2002


Donald Becker wrote:

>OK, I have a new test version 3c59x.c (and an updated vortex-diag.c)
>that should handle this overload dynamically.
>
>I'll announce them on both driver-announce and vortex-announce in a few
>minutes.
>
>Please try the new driver:
>________________
>3c59x.c:v0.99Xg 11/27/2002
>
3c59x.c:v0.99Xg 11/27/2002 Donald Becker, becker@scyld.com
http://www.scyld.com/network/vortex.html
3c59x.c:v0.99Xg 11/27/2002 Donald Becker, becker@scyld.com
http://www.scyld.com/network/vortex.html
eth0: 3Com 3c982 Server Tornado at 0x2400, 00:e0:81:22:b0:6a, IRQ 5
8K buffer 5:3 Rx:Tx split, autoselect/Autonegotiate interface.
MII transceiver found at address 24, status 782d.
Using bus-master transmits and whole-frame receives.
eth1: 3Com 3c982 Server Tornado at 0x2480, 00:e0:81:22:b0:6b, IRQ 10
8K buffer 5:3 Rx:Tx split, autoselect/Autonegotiate interface.
MII transceiver found at address 24, status 7809.
Using bus-master transmits and whole-frame receives.

The original driver was unloaded and replaced by v0.99Xg 11/27/2002

With the v0.99Xg I got the following result:

eth0 Link encap:Ethernet HWaddr 00:E0:81:22:B0:6A
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:510606 errors:0 dropped:0 overruns:611 frame:0
TX packets:502828 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:446083455 (425.4 Mb) TX bytes:42822955 (40.8 Mb)
Interrupt:5 Base address:0x2400

R=611/510606=0.0012
So it seems not to improve the error ratio.

CP.

>...
>Dynamically increase the RxPriorityThresh on every a Rx FIFO overrun.
>  The default value is 4*32 bytes
>  We increase it by 32 bytes up to 31*32 bytes.
>  If Rx FIFO overruns continue we want on each corrupted packet!
>________________
>
>
>On Tue, 19 Nov 2002, Claude Pignol wrote:
>  
>
>>Donald Becker wrote:
>>    
>>
>>>Allow changing the Rx FIFO priority level with the -G <threshold-bytes> flag.
>>>Try setting
>>> -G 512
>>>      
>>>
>>I try the new vortex-diag:
>>Registers berfore -G512
>>    
>>
>...
>  
>
>>Change the RX priority to 512 bytes
>>    
>>
>..
>  
>
>>Error ratio: ( 127616 -123204)/(534880121-468076386)=.000066
>>For the same period an interface with the default value has a ratio .00018
>>
>>It seems that it goes in the right direction (there is no interface with 
>>a ratio < .00012 with the default value).
>>    
>>
>
>  
>

-- 
------------------------------------------------------------------------
Claude Pignol SeismicCity, Inc. <http://www.seismiccity.com>
2900 Wilcrest Dr. Suite 370 Houston TX 77042
Phone:832 251 1471 Mob:281 703 2933 Fax:832 251 0586