[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Realtek 8139 issues.



Hi there.
 
I hope someone can help me out.
 
Below is my NIC setup on the "Woody" box with a 2.4.18-bf2.4 kernel.
Both my NIC's are Realtek 8139 cards.
eth0 is the internal lan and eth1 is connected to the internet. All NIC's do auto-negotiate and eth0 is 100Mb/full duplex en eth1 is 10Mb/half duplex, due to the internet connection cable modem.
When starting the network interfaces, the speed settings correspond with the expectations, according to the syslog.
 
When surfing and downloading from the internet using another machine in the lan, i can easily reach a downstream of 300K or more.
This data obviously moves through both interfaces.
When uploading a file to the debian box, this is on the 100Mb/fd network and performes greatand extremely fast.
This is also through the eth0 interface.
When downloading from the debain box to a machine in the lan trough eth0 using samba, the speed drops to under 10K, while all NIC's are set to 100Mb/fd. Also on the eth0 interface.
Connections trough ftp limit to 50K while there is no limit set in the ftp server config.
When downloading from that same debian machine using a webbrowser, i can easily start multiple downloads, all running at 50K.
 
My first thaught would be that the NIC speeds don't match, but that would result in many collisions. But there a 0 collisions reported in ifconfig.
Many collisions on eth1 though, but this connection is not used when transferring data on the lan.
 
Can anyone of you help me find out how to increase the LAN performance of this box?
 
ifconfig --------------------------
eth0      Link encap:Ethernet  HWaddr 00:40:95:34:BC:E9 
          inet addr:192.168.0.1  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:946146 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1189209 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:227921231 (217.3 MiB)  TX bytes:1420566924 (1.3 GiB)
          Interrupt:5 Base address:0xa000
 
eth1      Link encap:Ethernet  HWaddr <left out>
          inet addr:<left out> Bcast:<left out>Mask:255.255.254.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:16679972 errors:0 dropped:0 overruns:0 frame:0
          TX packets:460326 errors:0 dropped:0 overruns:0 carrier:0
          collisions:13888 txqueuelen:100
          RX bytes:1754479878 (1.6 GiB)  TX bytes:50393147 (48.0 MiB)
          Interrupt:11 Base address:0xc000
 
lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:415 errors:0 dropped:0 overruns:0 frame:0
          TX packets:415 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:37447 (36.5 KiB)  TX bytes:37447 (36.5 KiB)
syslog--------------------------------
May 23 21:13:30 <left out> kernel: eth0: Setting 100mbps full-duplex based on auto-negotiated partner ability 45e1.
May 23 21:13:30 <left out> kernel: eth1: Setting half-duplex based on auto-negotiated partner ability 0000.

Reply to: