awfull network speeds
I have 5 machines on my network (6 including router), 4 of which are 1gig and 2 are 10/100 (a laptop and the router)
My 8 port network is 1gig and shows the conections with a multi colour led. It shows the 1gig conections are 1gig. The following is reported on my file server (pc 1gig) and my desktop (pc 1gig) One runs debian squeeze and the other ubuntu 10.10 The hardware is asus p43 and asus p45 respectively and both have realtek rtl8168d on board Ethernet. Quote:
Quote:
Quote:
Quote:
Any help much appreciated in finding a solution |
@ Reply
Hi JonathanWilson,
It would be great if you would have given the IP address information for these machines and would have let us know the communication flow that occurs between these machines. The output that you pasted shows that the system's are configured to use "Auto Negotiation" which according to me is the reason behind the slowness. If you could hard code them to use 1 gig speed then it will work fine and when they are communicating with 10/100 base machine the speed will automatically come down to match their speed. It appears to me that as of now the are communicating using 10/100 base speed by default. |
I am begining to think its a network card problem in my desktop as the speeds are slow for my desktop to/from server and fairly fast from other machines to/from on the network.
setting on my desktop to: ethtool -s eth0 speed 10 duplex full autoneg off results in iperf results of : Quote:
Quote:
If i try to set autoneg off (on my desktop) when setting speed 1000 it tells me invalid argument. Quote:
Quote:
As a quick and dirty test I went to to my windows laptop (10/100) and sent a 1 gig file to both the server and my desktop and the results were 10.4 MB/s server 5.82 MB/s desktop |
Does speed change if you disconnect the laptop from the 8 port switch ?
|
@ Reply
What is the speed of your server's network adapter. If it is a gigbit adapter then yes there is a possibility of network card issue on your desktop. Because from the output you pasted your Desktop has got a gigabit adapter and your laptop has got base 100 full duplex adapter. So if laptop is able to transfer files quickly to your server and not to your desktop then there can be an issue with desktop's NIC.
Could you please let us know what are the OSs installed on these three machines (server, laptop and your desktop) |
@Cedrik
I will try removing everything that is 10/100 (laptop and ISP router) and see what speeds I get from my lads pc (gigabit, windows) although the 8 port hub should be able to handle mixed speeds. @t3em1nvt0r The server is debian setup with ssh and samba and headless, and yes its a gigabit builtin adapter The desktop is Ubuntu 10.10 And the laptop is Windows vista. I think a couple of other things I will check are: swap network cable from the laptop to the desktop to test the cable, boot from a clean install of debian on the desktop, just to be sure its not software related as the ubuntu has had numerious updates and things installed and removed over time. |
Well that was interesting, the problem was with the cables.
Using a brand new cat 6 cable, I direct connected my pc and the borgCUBE and my results were: Quote:
ifconfig eth0 192.168.1.25 netmask 255.255.255.0 broadcast 192.168.1.255 on the server seemed to keep even after disconnecting the cable, and inserting the direct connection. the same command (IP changed) on the desktop, and bingo I could ping and then start the iperf test. I guess its time to go and get some new cat 6 cables for the rest of the computers, then worst case a new gig hub, best case it all goes well and is fast :-) |
All times are GMT -5. The time now is 02:38 AM. |