LinHES Forums
http://forums.linhes.org/

NIC speedup tweak?
http://forums.linhes.org/viewtopic.php?f=5&t=4615
Page 1 of 1

Author:  graysky [ Tue May 17, 2005 3:25 pm ]
Post subject:  NIC speedup tweak?

Is there a utility one can use to speedup network traffic? I'm on a 100 base TX LAN and transfers to/from my mythbox are around 400 k/sec. Transfers to/from other boxes are on the order of 3-4 megs/sec.

Thanks for any info :)

Author:  cesman [ Tue May 17, 2005 3:36 pm ]
Post subject: 

You can use mii-tool to check what speed/media the card is set as. You can google for details on mii-tool. ethtool is another utility that can be used but isn't included (apt-get). More info on your NIC would be helpful as this maybe a kernel bug.

Author:  graysky [ Tue May 17, 2005 3:48 pm ]
Post subject: 

I'm using the onboard NIC (Asus A7N8X-VM). Here's the details from the manual (helpful or not?): Realtek 8201BL PNY 10/100 Mbps.

Here's the output from mii-tool:

Code:
root@mythtv:/home/mythtv# mii-tool -v
SIOCGMIIPHY on 'eth0' failed: Operation not supported
no MII interfaces found

Author:  cesman [ Tue May 17, 2005 3:52 pm ]
Post subject: 

Code:
apt-get update
apt-get install ethtool
ethtool eth0

Author:  graysky [ Tue May 17, 2005 3:55 pm ]
Post subject: 

Done, here's the output (it looks okay to me):

Code:
root@mythtv:/# ethtool eth0
Settings for eth0:
        Supported ports: [ 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: externel
        Auto-negotiation: on
        Supports Wake-on: g
        Wake-on: d
        Link detected: yes

Author:  graysky [ Tue May 17, 2005 4:07 pm ]
Post subject: 

Seems as though the problem is in SAMBA. I restarted it and now my transfer speeds to a win32 box are as follows:

1.2 gig file via SAMBA --> 157 secs (7.8 megs/sec)
1.2 gig file via ftp --> 108 seconds (11.3 megs/sec)

Dunno what to say. As always, thank you for your assistance, cesman :)

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/