You are not logged in.
Hi,
Today I updated my Archlinux install using 'pacman -Syu' and since then I've noticed that my samba shares on the Archlinux server seem very slow when accessed from my windows machine. To be honest I hadn't used the shares for sometime so this problem may have existed before I update Archlinux (although it has been faster previously).
I tested transfers using scp and ftp as well to see how fast the connection was (this is over 100mb ethernet).
For both scp and ftp the results were the same, 6MB/s when copying to the server and only 3MB/s when copying from the server.
Shouldn't I be getting faster speeds than this? I've searched the forums and followed a number of things to try and find a cause but haven't had any success.
Heres the output of ifconfig:
eth0 Link encap:Ethernet HWaddr 00:02:A5:97:81:EC
inet addr:192.168.11.10 Bcast:192.168.11.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:388590 errors:0 dropped:0 overruns:0 frame:0
TX packets:286622 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:451634880 (430.7 Mb) TX bytes:225199803 (214.7 Mb)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)Originally I was connecting to my router using wireless (802.11g) and it was half as fast again.
Any suggestions?
Offline
I've spent the last two days trying to solve this... I've figured out some more things:
Using 'ethtool eth0' I get:
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: yesWith this setup I'm getting ~3.0MB/s when downloading from archlinux machine using scp.
If I use ethtool to change the settings of eth0 like follows:
ethtool -s eth0 autoneg off speed 10 duplex fullI get the a download speed of ~95KB/s
ethtool -s eth0 autoneg off speed 10 duplex halfI get the a download speed of ~1.1MB/s
ethtool -s eth0 autoneg off speed 100 duplex fullI get the a download speed of ~450KB/s
ethtool -s eth0 autoneg off speed 100 duplex halfI get the a download speed of ~3.0MB/s
Any idea why half duplex works better than full duplex?
I thought my router may have been the problem so I switched over to a plain 100Mbit switch but it made no diffference.
Offline