slow networking on hardy with on board intel pro 10/100

Asked by GaryProsser

I get no more than 6-7 MB/sec on file transfers between new install of hardy 8.04 (I believe) and a windows server on the same subnet. Other windows XP PC's (same hardware) don't have this problem.

My hardware is a new 2GHz Celeron with 2gb ram and Intel 915GAGL motherboard.

Gnome-nettool reports that eth0 is active but link speed 'unavailable' - furthermore when I click 'configure' after authorising I am told 'the interface does not exist'.

Sounds like a driver issue - but how to resolve ?? Many thanks.
Gary

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu gnome-nettool Edit question
Assignee:
No assignee Edit question
Solved by:
GaryProsser
Solved:
Last query:
Last reply:
Revision history for this message
Harvey Muller (hlmuller) said :
#1

Gary,

Please run both of these in a terminal and report the results:

   $ lsmod | grep 100
   $ sudo mii-tool

Thanks,

Harvey

Revision history for this message
GaryProsser (gary-prosser) said :
#2

Dear Harvey

#lsmod | grep 100
e100 37388 0
mii 6400 3 8139too,e100,8139cp

#sudo mii-tool
eth0: negotiated 100baseTx-FD flow-control, link ok
eth1: no link

Cheers

Gary Prosser

Revision history for this message
Harvey Muller (hlmuller) said :
#3

Gary,

I did a little more reading. What I didn't know previously, is that mii-tools has been obsoleted by ethtools. Please run:

    $ sudo ethtool eth0

Second, please post the results of this:

    $ dmesg | grep eth0

Third, take a look at this forum post:

    http://sudan.ubuntuforums.com/showthread.php?t=30714

It indicates a potential problem with apic for boards with these NICs. The suggested solution is using "noapic" on the kernel parameters line.

I have more questions, but will wait until you reply back with the results of the first and second commands above.

Thanks!

Harvey

Revision history for this message
GaryProsser (gary-prosser) said :
#4

Dear Harvey

prosserg@U-ITROOM:~$ sudo ethtool eth0
[sudo] password for prosserg:
Settings for eth0:
 Supported ports: [ TP MII ]
 Supported link modes: 10baseT/Half 10baseT/Full
                         100baseT/Half 100baseT/Full
 Supports auto-negotiation: Yes
 Advertised link modes: 10baseT/Half 10baseT/Full
                         100baseT/Half 100baseT/Full
 Advertised auto-negotiation: Yes
 Speed: 100Mb/s
 Duplex: Full
 Port: MII
 PHYAD: 1
 Transceiver: internal
 Auto-negotiation: on
 Supports Wake-on: g
 Wake-on: g
 Current message level: 0x00000007 (7)
 Link detected: yes

prosserg@U-ITROOM:~$ dmesg | grep eth0
[ 26.406139] e100: eth0: e100_probe: addr 0x50000000, irq 21, MAC addr 00:19:d1:20:9a:e7
[ 38.633873] e100: eth0: e100_watchdog: link up, 100Mbps, full-duplex
[ 50.940630] bridge-eth0: enabling the bridge
[ 50.940635] bridge-eth0: up
[ 50.940637] bridge-eth0: already up
[ 50.940640] bridge-eth0: attached
[ 52.587490] eth0: no IPv6 routers present
[ 3040.917576] device eth0 entered promiscuous mode
[ 3040.917586] audit(1215686436.608:4): dev=eth0 prom=256 old_prom=0 auid=4294967295
[ 3040.917596] bridge-eth0: enabled promiscuous mode
[ 3114.218795] device eth0 left promiscuous mode
[ 3114.218823] audit(1215686510.112:5): dev=eth0 prom=0 old_prom=256 auid=4294967295
[ 3114.218832] bridge-eth0: disabled promiscuous mode
[ 3114.410833] device eth0 entered promiscuous mode
[ 3114.410842] audit(1215686510.304:6): dev=eth0 prom=256 old_prom=0 auid=4294967295
[ 3114.410852] bridge-eth0: enabled promiscuous mode
[ 3280.162131] device eth0 left promiscuous mode
[ 3280.162148] audit(1215686676.508:7): dev=eth0 prom=0 old_prom=256 auid=4294967295
[ 3280.162157] bridge-eth0: disabled promiscuous mode

I've added 'noapic to the default kernel in grub and will see the effect (if any) when the computer is next restarted.

Thanks
Gary

Revision history for this message
Harvey Muller (hlmuller) said :
#5

Gary,

My additional question was related to your second adapter, the realtek, which I am assuming is eth1. But I'm not concerned about that now.

ethtool shows eth0 speed at 100MB/s full duplex. What may be causing your slowdown is the bridging. dmesg shows it's trying to enable promiscuous mode, but keeps disabling.

I'm thinking that if you don't need bridging, then removing it may improve your perceived network speed.

I have no bridging expertise, but you must, so the details are left to you.

Please return to Launchpad and mark this question Solved, if this resolves your issue.

Thanks!

Harvey

Revision history for this message
Harvey Muller (hlmuller) said :
#6

Gary,

I am checking to see if the informatoin provided previously resolved your question. If so, please mark this question Solved.

Thanks!

Harvey

Revision history for this message
GaryProsser (gary-prosser) said :
#7

Not fully resolved in that max speed is still 6-7MB/s even after taking out bridging etc. BUT if 6-7 MByte/s = 48-56Mbits/s and a 100MB/s NIC is actually mbits/s then I guess the performance I'm getting doesn't look so bad.