Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
10 Mbit throughput on 100 Mbit infrastructure
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
massheep
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jan 2005
Posts: 81

PostPosted: Sat Sep 16, 2006 12:21 pm    Post subject: 10 Mbit throughput on 100 Mbit infrastructure Reply with quote

i start with the facts:

client
eth0: negotiated 100baseTx-FD, link ok
product info: TDK 78Q2120 rev 10
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
link partner: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control

server (eth0: WAN, eth1: LAN)
eth0: negotiated 100baseTx-FD, link ok
product info: vendor 00:00:00, model 0 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
link partner: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control

eth1: negotiated 100baseTx-FD, link ok
product info: vendor 00:00:00, model 0 rev 0
basic mode: autonegotiation enabled
basic status: autonegotiation complete, link ok
capabilities: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD
advertising: 100baseTx-FD 10baseT-FD
link partner: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control

it doesn't matter if i download from eth0 or eth1 of the server. the speed is around 1.5 MB/s.

what could be the reason?
Back to top
View user's profile Send private message
Janne Pikkarainen
Veteran
Veteran


Joined: 29 Jul 2003
Posts: 1143
Location: Helsinki, Finland

PostPosted: Sat Sep 16, 2006 12:26 pm    Post subject: Reply with quote

With what you tried to download? What I mean that in some occasions I get VERY crappy transfer speeds with Konqueror, but if I try from exactly same computer to exactly same computer from shell with scp or any other tool, it will be fast.
_________________
Yes, I'm the man. Now it's your turn to decide if I meant "Yes, I'm the male." or "Yes, I am the Unix Manual Page.".
Back to top
View user's profile Send private message
massheep
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jan 2005
Posts: 81

PostPosted: Sat Sep 16, 2006 12:39 pm    Post subject: Reply with quote

i tryed it with wget (http) and mc (nfs).

i just tryed it with mozilla and there is no change.
Back to top
View user's profile Send private message
neuron
Advocate
Advocate


Joined: 28 May 2002
Posts: 2371

PostPosted: Sat Sep 16, 2006 12:48 pm    Post subject: Reply with quote

have you looked on top while copying? to see if you see extreamly high output on SI/HI for example?

You could also cat /proc/interrupts to see if ERR is high while copying. And check dmesg after copying to see if anything looks off there.
Back to top
View user's profile Send private message
massheep
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jan 2005
Posts: 81

PostPosted: Sat Sep 16, 2006 1:02 pm    Post subject: Reply with quote

top
1.7 hi
8.6% si
>80% id

cat /proc/interrupts
ERR stais on 0 all the time

dmesg
shows nothing strange going on

=== addition ===
the driver is 3c590/3c900 for the two cards 3c905b and 3csoho100.

=== addition 2 ===
it is not the server but the client. i just managed to download over http on win2k at 4.5 MB/s.

is there a benchmark for nics on linux?
Back to top
View user's profile Send private message
nobspangle
Veteran
Veteran


Joined: 23 Mar 2004
Posts: 1318
Location: Manchester, UK

PostPosted: Sat Sep 16, 2006 1:56 pm    Post subject: Reply with quote

check the duplex setting on the switch, make sure it is on for the ports you are trying to use, duplex mismatches can cause this kind of issue.
Back to top
View user's profile Send private message
massheep
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jan 2005
Posts: 81

PostPosted: Sat Sep 16, 2006 6:27 pm    Post subject: Reply with quote

everything is fd, at least what the leds and mii-tool tell.

is it possible that my 10/100 nic is just 10? it is the only thing i can imagine... (3com megahertz 574b) :-/
Back to top
View user's profile Send private message
Janne Pikkarainen
Veteran
Veteran


Joined: 29 Jul 2003
Posts: 1143
Location: Helsinki, Finland

PostPosted: Sat Sep 16, 2006 6:45 pm    Post subject: Reply with quote

Have you tried to turn auto-negotiation off and force the connection to be 100-FD? ethtool -s eth0 speed 100 duplex full autoneg off should do the trick, or mii-tool -F 100baseTx-FD, for that matter.
_________________
Yes, I'm the man. Now it's your turn to decide if I meant "Yes, I'm the male." or "Yes, I am the Unix Manual Page.".
Back to top
View user's profile Send private message
massheep
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jan 2005
Posts: 81

PostPosted: Sat Sep 16, 2006 7:11 pm    Post subject: Reply with quote

instead of
eth0: negotiated 100baseTx-FD, link ok
it says
eth0: 100 Mbit, full duplex, link ok
now, but no change in speed, not even when ich change cable which was able to handle 100 Mbit.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum