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

Can't reach the Gigabit barrier



I have a small server at the specs are as follows

Duron 900
Gigabyte GA-7ZM
512 MB PC133 SDRAM
1x 120 GB HDD
1x 200 GB HDD
Two networks cards:
1x D-Link DE-528TX (10 Mbps)
1x Intel Pro/1000 MT Desktop Adapter (1000 Mbps)
I just added the Intel Pro/1000 adapter, as a replacement to an older D-Link DFE-538TX ( 100 Mbps)

Generally I keep most network card drivers as modules, and so I didn't need to upgrade my kernel, and am running 2.6.6. I also purchased a Linksys EG008W 8 port Gigabit Workgroup (Unmanaged) switch. The problem is that I can't get anything decent in terms of speed, it seems to only get up to 100 Mbps, still. Futhermore I get inconsistent information from most tools.

Now before people start saying silly things, first that I have 2 other debian machines, but didn't bother buying network cards for them yet, as there just desktops.

If I run: ping -f -s 60000 172.27.2.27 from the three machines and target my Windows machine, the other machine with a 1 Gbps card, I can get about 45%, usage out of the network, according to windows, so the linksys switch seems to be able to handle it. If I run that just from the machine that has the 1 Gbps card, windows says its using about 20%, which is the same as if I just run the command from the other debian machine, thats alot faster, but only has a 100 Mbps card. Futhermore if I ping flood from my the 1 Gbps box, and then use the other debian machine to flood the 1 Gbps box, the traffic seems to cancel out.

mii-tools says that I'm running at 100 Mbps, but the man pages say that it doesn't support 1000 Mbps (well actually it says it only supports... and 1000 Mbps isn't there).

Furthermore ethtool seems to be just as useless as its information seems to be completely irrelevant. For instance if I use ethtool to change the speed, it doesn't. If I tell mii-tool to change it to 10 Mbps, it does change it, but ethtool still says the linkspeed is 1000 Mbps.

Someone had suggested it might be the cable, but its not for a few reasons. One the windows box has a Cat5 not Cat5e/6 cable and I manage to crack 100 Mbps, and secondly, I dug up a Cat5e and it has had no effect.

I have also tried passing parameters to the e1000 module directly, but still no luck. Anyone have any ideas? (This is debian-testing, btw)

Steve R

Here is some information:
[04:04:33] root@fermat:/var/log$lspci
0000:00:00.0 Host bridge: VIA Technologies, Inc. VT8363/8365 [KT133/KM133] (rev 81) 0000:00:01.0 PCI bridge: VIA Technologies, Inc. VT8363/8365 [KT133/KM133 AGP] 0000:00:07.0 ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super South] (rev 40) 0000:00:07.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06) 0000:00:07.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 16) 0000:00:07.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 16) 0000:00:07.4 Bridge: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI] (rev 40) 0000:00:09.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8029(AS) 0000:00:0a.0 Ethernet controller: Intel Corp. 82541GI/PI Gigabit Ethernet Controller
0000:00:0e.0 Multimedia audio controller: Ensoniq 5880 AudioPCI (rev 02)
0000:01:00.0 VGA compatible controller: S3 Inc. ProSavage KM133 (rev 03)

[04:05:13] root@fermat:/var/log$ethtool eth1
Settings for eth1:
       Supported ports: [ TP ]
       Supported link modes:   10baseT/Half 10baseT/Full
                               100baseT/Half 100baseT/Full
                               1000baseT/Full
       Supports auto-negotiation: Yes
       Advertised link modes:  10baseT/Half 10baseT/Full
                               100baseT/Half 100baseT/Full
                               1000baseT/Full
       Advertised auto-negotiation: Yes
       Speed: 1000Mb/s
       Duplex: Full
       Port: Twisted Pair
       PHYAD: 0
       Transceiver: internal
       Auto-negotiation: on
       Supports Wake-on: umbg
       Wake-on: g
       Link detected: yes

[04:05:56] root@fermat:/var/log$mii-tool -v eth1
eth1: negotiated 100baseTx-FD flow-control, link ok
 product info: vendor 00:aa:00, model 56 rev 0
 basic mode:   autonegotiation enabled
 basic status: autonegotiation complete, link ok
 capabilities: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD
 advertising:  100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control
 link partner: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control

[04:06:19] root@fermat:/var/log$uname -a
Linux fermat 2.6.6 #1 Fri Jul 2 01:21:20 PDT 2004 i686 GNU/Linux

[04:06:20] root@fermat:/var/log$modprobe -l | grep e1000
/lib/modules/2.6.6/kernel/drivers/net/e1000/e1000.ko

[04:06:34] root@fermat:/var/log$ifconfig eth1
eth1      Link encap:Ethernet  HWaddr 00:0E:0C:71:2E:14
         inet addr:172.27.1.2  Bcast:172.27.7.255  Mask:255.255.248.0
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
         RX packets:433800 errors:765 dropped:765 overruns:765 frame:0
         TX packets:555390 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:1000
         RX bytes:371660280 (354.4 MiB)  TX bytes:776392947 (740.4 MiB)
         Base address:0xcc00 Memory:dffe0000-e0000000

Module Loading:
modprobe e1000 Speed=1000 Duplex=1 AutoNeg=0

and finally:
[04:09:20] root@fermat:/var/log$cat syslog | grep e1000
Apr 13 15:03:51 fermat kernel: e1000: eth1 NIC Link is Up 100 Mbps Full Duplex
Apr 13 15:21:50 fermat kernel: e1000: eth1 NIC Link is Down
Apr 13 15:21:58 fermat kernel: e1000: eth1 NIC Link is Up 1000 Mbps Full Duplex Apr 13 23:23:11 fermat kernel: e1000: eth1 NIC Link is Up 1000 Mbps Full Duplex
Apr 13 23:33:34 fermat kernel: e1000: eth1 NIC Link is Down
Apr 13 23:35:18 fermat kernel: e1000: eth1 NIC Link is Up 1000 Mbps Full Duplex
Apr 13 23:46:03 fermat kernel: e1000: eth1 NIC Link is Down
Apr 13 23:46:34 fermat kernel: e1000: eth1 NIC Link is Up 1000 Mbps Full Duplex Apr 13 23:47:22 fermat kernel: e1000: eth1 NIC Link is Up 1000 Mbps Full Duplex Apr 13 23:48:36 fermat kernel: e1000: eth1 NIC Link is Up 1000 Mbps Full Duplex Apr 13 23:49:57 fermat kernel: e1000: eth1 NIC Link is Up 1000 Mbps Full Duplex Apr 13 23:50:04 fermat kernel: e1000: eth1 NIC Link is Up 1000 Mbps Full Duplex
Apr 14 00:05:56 fermat kernel: e1000: eth1 NIC Link is Down
Apr 14 00:06:02 fermat kernel: e1000: eth1 NIC Link is Up 1000 Mbps Full Duplex Apr 14 00:16:54 fermat kernel: e1000: eth1 NIC Link is Up 1000 Mbps Full Duplex
Apr 14 00:27:42 fermat kernel: e1000: eth1 NIC Link is Down
Apr 14 00:27:44 fermat kernel: e1000: eth1 NIC Link is Up 10 Mbps Half Duplex Apr 14 00:35:17 fermat kernel: e1000: eth1 NIC Link is Up 1000 Mbps Full Duplex Apr 14 00:35:49 fermat kernel: e1000: eth1 NIC Link is Up 1000 Mbps Full Duplex Apr 14 00:39:34 fermat kernel: e1000: eth1 NIC Link is Up 1000 Mbps Full Duplex Apr 14 00:41:11 fermat kernel: e1000: eth1 NIC Link is Up 1000 Mbps Full Duplex













Reply to: