Low LAN speed (max 200-400KB/s)?!

This is a discussion on Low LAN speed (max 200-400KB/s)?! within the Linux Networking forums, part of the Linux Forums category; Hello group! I am having the following configuration: - Lynksys WRT-54GL: WLAN-Router (54MBit/s) with 4x 100MBit LAN Hub - ...


Go Back   Usenet Forums > Linux Forums > Linux Networking

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-20-2007
Tom
 
Posts: n/a
Default Low LAN speed (max 200-400KB/s)?!

Hello group!

I am having the following configuration:

- Lynksys WRT-54GL: WLAN-Router (54MBit/s) with 4x 100MBit LAN Hub
- Ubuntu 6.02 box LAN 100MBit (with apache and proftpd)
- OpenSuSE 10.2 Laptop WLAN 11MBit
- Vista Business Laptop WLAN 54MBit

Now my problem is, that I have a very slow network connection.
I try to transfer data from the ubuntu box to the two laptops. I have tried
this via HTTP and FTP. In all cases I am reaching only speeds between
200-400 KB/s (= 1.5 - 3.2 MBit/s).
And even more strange: I am reaching this speed not as a total, but PER
TRANSFER. that means: if I start more transfers, i will get EACH time a
speed of 200kb for EACH transfer!
I have checked proftpd but it has unlimited transferspeeds set up!

Any idea what I could check?

Thank you for any advice
tom

Reply With Quote
  #2 (permalink)  
Old 09-20-2007
Gretch
 
Posts: n/a
Default Re: Low LAN speed (max 200-400KB/s)?!

In news:5lff3fF7mjopU1@mid.dfncis.de,
Tom <null@void.void> wrote:

> I am having the following configuration:
>
> - Lynksys WRT-54GL: WLAN-Router (54MBit/s) with 4x 100MBit LAN Hub
> - Ubuntu 6.02 box LAN 100MBit (with apache and proftpd)
> - OpenSuSE 10.2 Laptop WLAN 11MBit
> - Vista Business Laptop WLAN 54MBit
>
> Now my problem is, that I have a very slow network connection.
> I try to transfer data from the ubuntu box to the two laptops. I have
> tried this via HTTP and FTP. In all cases I am reaching only speeds
> between 200-400 KB/s (= 1.5 - 3.2 MBit/s).
> And even more strange: I am reaching this speed not as a total, but
> PER TRANSFER. that means: if I start more transfers, i will get EACH
> time a speed of 200kb for EACH transfer!
> I have checked proftpd but it has unlimited transferspeeds set up!
>
> Any idea what I could check?


First thing would be to direct-connect one of the laptops with the server
using a crossover cable and see if the slow transfer rate persists. If it
doesn't, then that would indicate that the problem lies in the wireless
configuration.

Reply With Quote
  #3 (permalink)  
Old 09-20-2007
Tom
 
Posts: n/a
Default Re: Low LAN speed (max 200-400KB/s)?!

Hello Gretch,

> First thing would be to direct-connect one of the laptops with the server
> using a crossover cable and see if the slow transfer rate persists. If it
> doesn't, then that would indicate that the problem lies in the wireless
> configuration.


That's a good advice!
I connected the ubuntu box and a laptop via a 100 MBit Switch (only these
both machines attached).
The transfer via the cable was approx. 5 MB/s, that equals to 40MBit/s. As
far as my researches in the internet found out, this is a pretty normal
speed for 100BaseT (due to overhead).

So as it seems my WLAN is not working correctly, isn't it?
I just retested it: I am downloading now from the ubuntu box via the Linksys
WLAN-router to the 54MBit vista business laptop a single file of 700MB via
FTP. The speed is 340 KB/s- that equals to 2.6 MBit/s.
I have WEP-PSK with TKIP encryption enabled. I know, that encryption is a
bit slower, but 2.6 MBit instead of 54?? There must something be wrong,
isn't it??

What could i check?

Thanx for any hint
tom

Reply With Quote
  #4 (permalink)  
Old 09-20-2007
Rick Jones
 
Posts: n/a
Default Re: Low LAN speed (max 200-400KB/s)?!

Tom <null@void.void> wrote:
> Hello group!


> I am having the following configuration:


> - Lynksys WRT-54GL: WLAN-Router (54MBit/s) with 4x 100MBit LAN Hub
> - Ubuntu 6.02 box LAN 100MBit (with apache and proftpd)
> - OpenSuSE 10.2 Laptop WLAN 11MBit
> - Vista Business Laptop WLAN 54MBit


> Now my problem is, that I have a very slow network connection.
> I try to transfer data from the ubuntu box to the two laptops. I have tried
> this via HTTP and FTP. In all cases I am reaching only speeds between
> 200-400 KB/s (= 1.5 - 3.2 MBit/s).
> And even more strange: I am reaching this speed not as a total, but PER
> TRANSFER. that means: if I start more transfers, i will get EACH time a
> speed of 200kb for EACH transfer!
> I have checked proftpd but it has unlimited transferspeeds set up!


> Any idea what I could check?


First, check netstat -s -t statistics on each of the Linux systems,
and use whatever Vista has for reporting TCP statistics. You want to
look for things like retransmissions.

If you see any, then you want to look at ethtool -S <interface> stats
on each of the Linux systems, and whatever Vista has for link-level
statistics. You are looking for things that are errors or drops and
the like.

If you have any of those, they could be limiting your throughput by
either having the stacks sitting there waiting to retransmit, or by
keeping the "congestion window" (aka cwnd - feel free to web search
for details) small.

One of the limits to the performance of a TCP connection is:

Tput <= Weff/RTT

Where Weff is the "effective" window size which will be the lesser of:

*) the receiver's advertised window
*) the sender's "SO_SNDBUF"
*) the sender's computed cwnd

For the RTT, you could try the results of a ping between the systems
as a decent first approximation.

It wouldn't be a bad thing to minimize the variables. While the
transfer rates are quite probably well within the limits of the
filesystems on each end, doing some "just networking" transfers would
still be a good idea. For that I would, naturally, suggest netperf :)

With netperf you can try increasing the socket buffer and hence TCP
window size to see if it makes the transfers any faster.

rick jones
--
denial, anger, bargaining, depression, acceptance, rebirth...
where do you want to be today?
these opinions are mine, all mine; HP might not want them anyway... :)
feel free to post, OR email to rick.jones2 in hp.com but NOT BOTH...
Reply With Quote
  #5 (permalink)  
Old 09-20-2007
Larry Finger
 
Posts: n/a
Default Re: Low LAN speed (max 200-400KB/s)?!

Tom wrote:
> Hello Gretch,
>
>> First thing would be to direct-connect one of the laptops with the server
>> using a crossover cable and see if the slow transfer rate persists. If it
>> doesn't, then that would indicate that the problem lies in the wireless
>> configuration.

>
> That's a good advice!
> I connected the ubuntu box and a laptop via a 100 MBit Switch (only
> these both machines attached).
> The transfer via the cable was approx. 5 MB/s, that equals to 40MBit/s.
> As far as my researches in the internet found out, this is a pretty
> normal speed for 100BaseT (due to overhead).
>
> So as it seems my WLAN is not working correctly, isn't it?
> I just retested it: I am downloading now from the ubuntu box via the
> Linksys WLAN-router to the 54MBit vista business laptop a single file of
> 700MB via FTP. The speed is 340 KB/s- that equals to 2.6 MBit/s.
> I have WEP-PSK with TKIP encryption enabled. I know, that encryption is
> a bit slower, but 2.6 MBit instead of 54?? There must something be
> wrong, isn't it??


You should be able to get roughly 20-25 Mbit/sec over a 54M line, at least I do when the laptop is
close to the AP (2 m, or so). The 802.11b interface in the may be slowing you down.

Things to try: (1) Turn the 802.11b (11M) laptop off, configure your AP for 802.11g only, and retest
the Vista machine. Installing iperf on both machines and using the Ubuntu box as a server will let
you see the transfer rates very easily.

(2) Try changing the channel on the AP. You should test channels 1, 6, and 11. If they all have the
bad performance, you may have interference over all the channels.

Once you have the 54M link working the best it can, then allow both -b and -g mode. It may degrade
the 54M link, but you will do the best you can.

Larry
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 12:45 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0