LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-04-2006, 06:48 PM   #1
humbletech99
Member
 
Registered: Jun 2005
Posts: 374

Rep: Reputation: 30
Extremely slow networking on server


I have a linux server connected to a small netgear DG834G box using the 100Mbps ethernet switch on the back. It is connected to a Windows XP Workstation via this switch using cat5 cables. Both the linux server and the xp workstation detect their links up at 100Mbps but when I am moving files from the workstation to the server I get appallingly slow speeds as follows:
Code:
# ifstat
       eth0
 KB/s in  KB/s out
  808.35     38.22
  763.30     35.93
  226.73     11.50
  964.94     45.11
  935.02     43.78
  995.17     46.58
 1214.59     56.95
  286.66     14.01
  841.36     39.43
  955.50     44.71
  995.30     46.52
  973.76     45.58
  660.65     31.22
  320.71     15.59
  956.05     44.53
  779.64     36.56
  760.13     35.66
  516.97     24.56
  423.88     20.24
  858.45     40.23
  785.63     36.84
 1011.87     47.35
  983.24     46.02
The traffic rate should be many multiples times this speed, so why isn't it? If the link wasn't up properly then surely ethtool would say half duplex or show a reduced speed but it doesn't so I'm not sure why throughput is so appalling.

Any suggestions on how I can improve this and make it work properly are most appreciated.
 
Old 11-12-2006, 12:58 AM   #2
carl0ski
Member
 
Registered: Sep 2004
Location: Melbourne, Victoria Australia
Distribution: Support those that support you :)
Posts: 872
Blog Entries: 12

Rep: Reputation: 30
Quote:
Originally Posted by humbletech99
I have a linux server connected to a small netgear DG834G box using the 100Mbps ethernet switch on the back. It is connected to a Windows XP Workstation via this switch using cat5 cables. Both the linux server and the xp workstation detect their links up at 100Mbps but when I am moving files from the workstation to the server I get appallingly slow speeds as follows:
Code:
# ifstat
       eth0
 KB/s in  KB/s out
  808.35     38.22
  763.30     35.93
  226.73     11.50
  964.94     45.11
  935.02     43.78
  995.17     46.58
 1214.59     56.95
  286.66     14.01
  841.36     39.43
  955.50     44.71
  995.30     46.52
  973.76     45.58
  660.65     31.22
  320.71     15.59
  956.05     44.53
  779.64     36.56
  760.13     35.66
  516.97     24.56
  423.88     20.24
  858.45     40.23
  785.63     36.84
 1011.87     47.35
  983.24     46.02
The traffic rate should be many multiples times this speed, so why isn't it? If the link wasn't up properly then surely ethtool would say half duplex or show a reduced speed but it doesn't so I'm not sure why throughput is so appalling.

Any suggestions on how I can improve this and make it work properly are most appreciated.
at 1MB per second that looks like 10base ethernet

1 is it still slow opposite direction?
2 do you have a third device to figure which is the cause
Server, Client or Switch

best to use the web admin on the netgear and view what connection are present

often they state the speed on the devices connected in client status.
 
Old 11-16-2006, 04:44 PM   #3
humbletech99
Member
 
Registered: Jun 2005
Posts: 374

Original Poster
Rep: Reputation: 30
no it's faster than 10baseT, observe the following
Code:
ifstat -b
       eth0
 Kbps in  Kbps out
34016.12    612.88
18445.04    318.52
11860.48    187.00
16905.78    309.23
19999.11    349.51
25150.41    429.57
13964.76    216.65
 9615.34    173.42
26861.65    519.52
11523.90    224.87
14133.45    260.40
14881.46    249.67
20504.05    422.31
30415.43    521.52
 5805.99     87.15
15933.40    280.93
12241.23    218.13
26557.12    493.41
26244.60    452.88
 4501.63     87.50
14656.42    271.50
17546.92    291.54
33181.35    573.01
36174.82    710.14
But this is still a lot slower than the 100Mbps potential and even in real world tests it's supposed to be able to maintain 30-40Mbps, I'm not even sustaining half that...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Appallingly slow networking on server humbletech99 Linux - Networking 4 10-11-2006 02:04 AM
Wine extremely slow!!!!!!!!!!!! augu2000 Linux - Software 3 11-01-2005 06:18 PM
OpenGL is extremely slow stonehurstX11 Linux - General 2 05-26-2005 06:33 PM
sdl games are slow extremely slow linksocc Linux - Software 7 01-17-2004 03:53 PM
KDE extremely slow? totalcommand Linux - Newbie 1 08-18-2001 10:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration