Gentoo Archives: gentoo-server

From: "Chris T. Purcell" <c_purcell@×××××××××.net>
To: gentoo-server@l.g.o
Subject: Re: [gentoo-server] 1000Mbps NIC Getting 100Mbps speeds
Date: Sat, 23 Apr 2005 02:20:42
Message-Id: 20050422212510.467ace79@faerun.realms
In Reply to: [gentoo-server] 1000Mbps NIC Getting 100Mbps speeds by fire-eyes
1 On Fri, 22 Apr 2005 09:42:28 -0400
2 fire-eyes <sgtphou@×××××××××.org> wrote:
3
4 > I have installed a 1000Mbps NIC in my system. This is the system some of
5 > you read about me where I was trying to swap the names of eth0 and eth1
6 > so maybe that has something to do with my problem.
7 >
8 > The light on the NIC shows 1000Mbps link, as does the switch it is
9 > connected to. Kernel messages show the link as autonegotiated, and
10 > 1000Mbps.
11 >
12 > The only odd one out is mii-tool which claims "eth0: negotiated
13 > 100baseTx-FD, link ok"
14 >
15 > I also tried using ethtool to set it at 1000Mbps anyway via ethtool -s
16 > eth0 speed 1000 , and the kernel again spits out messages about a
17 > 1000Mbps link being up just fine. mii-tool still says the same as above,
18 > however.
19 >
20 > The problem is that I get speeds just as if it were a 100Mbps link,
21 > starting at about 9MB/s then dropping to about 8.
22 >
23 > As noted above I had two NIC's. One was an onboard 100Mbps, and the
24 > second an add on 64-bit 1000Mbps. I had to do some tweaking with nameif
25 > to get the 1000Mbps as eth0, and the 100Mbps as eth1. The reasons why I
26 > wanted this really don't matter.
27 >
28 > Making things more confusing, last night when I first applied the nameif
29 > changes, I DID see 1000Mbps speed transfers.
30 >
31 > I saw exactly this behavior in the past, what was happening was the
32 > traffic was going right back out the 100Mbps and thus we had 100Mbps
33 > speeds. However this time I've disabled the 100Mbps, even unplugged it.
34 >
35 > There are no unusual routing entries. I am not using iptables.
36 >
37 > I'm stumped here, any ideas?
38 >
39 > --
40 > gentoo-server@g.o mailing list
41 >
42 mii-tool does not report anything higher than 100Mbps. That's your problem. Wrong tool for the job.
43 --
44 gentoo-server@g.o mailing list