[realtek] Question: Rx Ring Buffers in the rtl8139 module

joerg.beyer@email.de joerg.beyer@email.de
Fri Aug 30 14:59:02 2002


Donald Becker <becker@scyld.com> schrieb am 30.08.02 20:37:53:
> On Fri, 30 Aug 2002 joerg.beyer@email.de wrote:
> > Donald Becker <becker@scyld.com> schrieb am 30.08.02 20:13:19:
> > > On Fri, 30 Aug 2002 joerg.beyer@email.de wrote:
> > > 
> > > > 8139too gives in the order of 10.000 errors per sec under load, while
> > > > rtl8139 is better and has (only) a few 100 errors per sec.
> > > > 
> > > > Is there anything I can do about that?
> > > 
> > > Turn on flow control, if you have a flow control switch.
> > > Tune the PCI parameters.

it's a hub (with only 3 machines connected right now)

> > > What are the errors?  Dropped packets?  Or CRC errors?
> > 
> > dropped packet (ifconfig states the same sumber for dropped as
> > for overruns). There are onyl Rx no Tx errors.
> 
> What are the errors reported in /proc/net/dev?

after a scp of 17 MBytes in 9 seconds 

Inter-|   Receive                                                |  Transmit
 face |bytes    packets errs drop fifo frame compressed multicast|bytes    packets errs drop fifo colls carrier compressed
    lo:       0       0    0    0    0     0          0         0        0       0    0    0    0     0       0          0
dummy0:       0       0    0    0    0     0          0         0        0       0    0    0    0     0       0          0
  eth0:18454280   12218 1257 1257 1257     0          0         0   868920   12225    0    0    0     7       0          0


and there are the errors as reported by ifconfig:

eth0      Link encap:Ethernet  HWaddr 00:07:CA:00:AC:A3  
          inet addr:10.0.0.30  Bcast:10.255.255.255  Mask:255.0.0.0
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:12215 errors:1257 dropped:1257 overruns:1257 frame:0
          TX packets:12220 errors:0 dropped:0 overruns:0 carrier:0
          collisions:7 txqueuelen:100 
          RX bytes:18454074 (17.5 Mb)  TX bytes:868093 (847.7 Kb)
          Interrupt:10 Base address:0x1c00 

this is from /var/log/messages:

Aug 31 20:51:14 wally last message repeated 3 times
Aug 31 20:51:14 wally kernel: eth0: Abnormal interrupt, status 00000040.
Aug 31 20:51:14 wally last message repeated 2 times
Aug 31 20:51:14 wally kernel: eth0: Abnormal interrupt, status 00000041.
Aug 31 20:51:14 wally last message repeated 3 times
Aug 31 20:51:14 wally kernel: eth0: Abnormal interrupt, status 00000040.
Aug 31 20:51:14 wally last message repeated 7 times
Aug 31 20:51:14 wally kernel: eth0: Abnormal interrupt, status 00000041.
Aug 31 20:51:14 wally kernel: eth0: Abnormal interrupt, status 00000040.
Aug 31 20:51:14 wally kernel: eth0: Abnormal interrupt, status 00000040.

do you see anything from this?
    Joerg