Welcome to the { mindfrost82.com } forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

Go Back   { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Linux > Linux Networking

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-18-2008, 01:28 PM
Szymon Turkiewicz
 
Posts: n/a
asymetric capacity on windows on Linux everything is fine

Hi,

Lately I encounter quite interesting problem on my network.
I have 512/512 kbit/s link from my isp and everything seems to be fine
when I'm uploading I have something about 512kb/s when I'm testing
download I have about 512kbit/s :). This works fine both on Windows XP
and Gentoo. Problem starts when I'm testing up/down simultaneously then I
have down ~500 and up ~ 200 kbit/s on widnows and ~500/500 on gentoo.
I wonder where is the difference between Windows and Linux and if there
is any chance to solve this problem.

Thanks in Advance

Pozdrawiam
Mroofka
Reply With Quote
  #2 (permalink)  
Old 08-18-2008, 04:30 PM
John Oliver
 
Posts: n/a
Re: asymetric capacity on windows on Linux everything is fine

On Mon, 18 Aug 2008 12:28:16 +0000 (UTC), Szymon Turkiewicz wrote:
> Hi,
>
> Lately I encounter quite interesting problem on my network.
> I have 512/512 kbit/s link from my isp and everything seems to be fine
> when I'm uploading I have something about 512kb/s when I'm testing
> download I have about 512kbit/s :). This works fine both on Windows XP
> and Gentoo. Problem starts when I'm testing up/down simultaneously then I
> have down ~500 and up ~ 200 kbit/s on widnows and ~500/500 on gentoo.
> I wonder where is the difference between Windows and Linux and if there
> is any chance to solve this problem.


Sounds like a driver issue. I'd look for a driver update for Windows.

--
* John Oliver http://www.john-oliver.net/ *
Reply With Quote
  #3 (permalink)  
Old 08-18-2008, 05:44 PM
Szymon Turkiewicz
 
Posts: n/a
Re: asymetric capacity on windows on Linux everything is fine

Dnia Mon, 18 Aug 2008 17:30:30 +0200, John Oliver napisał(a):

> On Mon, 18 Aug 2008 12:28:16 +0000 (UTC), Szymon Turkiewicz wrote:
>> Hi,
>>
>> Lately I encounter quite interesting problem on my network. I have
>> 512/512 kbit/s link from my isp and everything seems to be fine when
>> I'm uploading I have something about 512kb/s when I'm testing download
>> I have about 512kbit/s :). This works fine both on Windows XP and
>> Gentoo. Problem starts when I'm testing up/down simultaneously then I
>> have down ~500 and up ~ 200 kbit/s on widnows and ~500/500 on gentoo. I
>> wonder where is the difference between Windows and Linux and if there
>> is any chance to solve this problem.

>
> Sounds like a driver issue. I'd look for a driver update for Windows.


I'm almost sure this is not the problem. I've made tests on few different
notebooks and on WindowsXP and Windows2000.

Pozdrawiam
Szymon Turkiewicz
Reply With Quote
  #4 (permalink)  
Old 08-19-2008, 09:50 PM
David Brown
 
Posts: n/a
Re: asymetric capacity on windows on Linux everything is fine

Szymon Turkiewicz wrote:
> Dnia Mon, 18 Aug 2008 17:30:30 +0200, John Oliver napisał(a):
>
>> On Mon, 18 Aug 2008 12:28:16 +0000 (UTC), Szymon Turkiewicz wrote:
>>> Hi,
>>>
>>> Lately I encounter quite interesting problem on my network. I have
>>> 512/512 kbit/s link from my isp and everything seems to be fine when
>>> I'm uploading I have something about 512kb/s when I'm testing download
>>> I have about 512kbit/s :). This works fine both on Windows XP and
>>> Gentoo. Problem starts when I'm testing up/down simultaneously then I
>>> have down ~500 and up ~ 200 kbit/s on widnows and ~500/500 on gentoo. I
>>> wonder where is the difference between Windows and Linux and if there
>>> is any chance to solve this problem.

>> Sounds like a driver issue. I'd look for a driver update for Windows.

>
> I'm almost sure this is not the problem. I've made tests on few different
> notebooks and on WindowsXP and Windows2000.
>


How are you testing the speed? If you are using tcp connections, then
for every transferred packet there is an acknowledge packet going in the
opposite direction. There is also normally other traffic in both
directions - things like DNS lookups and transfer handshakes. If
windows is badly prioritising the packets so that all the bandwidth in
one direction is completely filled with data packets, the other
direction could quickly be stalled because the small but critical
handshaking packets are delayed. You can read about this sort of thing
on webpages about bittorrent clients - they normally recommend that you
limit download and upload bandwidth to slightly lower than your full
rate to avoid this sort of stalling.
Reply With Quote
  #5 (permalink)  
Old 08-22-2008, 12:14 AM
Andy Furniss
 
Posts: n/a
Re: asymetric capacity on windows on Linux everything is fine

Szymon Turkiewicz wrote:
> Hi,
>
> Lately I encounter quite interesting problem on my network.
> I have 512/512 kbit/s link from my isp and everything seems to be fine
> when I'm uploading I have something about 512kb/s when I'm testing
> download I have about 512kbit/s :). This works fine both on Windows XP
> and Gentoo. Problem starts when I'm testing up/down simultaneously then I
> have down ~500 and up ~ 200 kbit/s on widnows and ~500/500 on gentoo.
> I wonder where is the difference between Windows and Linux and if there
> is any chance to solve this problem.


As David already said it's generally bad for tcp when you have bulk
traffic in both directions as the acks get delayed in the queue.

The main difference between Linux and XP/2K TCP is that by default Linux
uses window scaling and XP/2K don't. This means that XP/2K won't ever
have more than 64k unacked data in transit. There are no doubt other
differences as well and what exactly is happening for you will depend on
things like buffer sizes in modem/at ISP, how far away the other end of
the connection is and what settings that server uses.

Andy.
Reply With Quote
  #6 (permalink)  
Old 08-26-2008, 08:56 PM
Szymon Turkiewicz
 
Posts: n/a
Re: [solved] asymetric capacity on windows on Linux everything isfine


>> Hi,
>>
>> Lately I encounter quite interesting problem on my network. I have
>> 512/512 kbit/s link from my isp and everything seems to be fine when
>> I'm uploading I have something about 512kb/s when I'm testing download
>> I have about 512kbit/s :). This works fine both on Windows XP and
>> Gentoo. Problem starts when I'm testing up/down simultaneously then I
>> have down ~500 and up ~ 200 kbit/s on widnows and ~500/500 on gentoo. I
>> wonder where is the difference between Windows and Linux and if there
>> is any chance to solve this problem.

>
> As David already said it's generally bad for tcp when you have bulk
> traffic in both directions as the acks get delayed in the queue.
>
> The main difference between Linux and XP/2K TCP is that by default Linux
> uses window scaling and XP/2K don't. This means that XP/2K won't ever
> have more than 64k unacked data in transit. There are no doubt other
> differences as well and what exactly is happening for you will depend on
> things like buffer sizes in modem/at ISP, how far away the other end of
> the connection is and what settings that server uses.


Hi,


I've found problem. I've upgraded kernel from 2.6.19 to 2.6.23 on router
and there was a change in IMQ.

2.6.19
4: imq0: <NOARP,UP,10000> mtu 1500 qdisc hfsc qlen 30
2.6.23
4: imq0: <NOARP,UP,10000> mtu 16000 qdisc hfsc qlen 11000

after setting mtu and qlen like in 2.6.19 kernel problem disappeared. now
I have 60/60kB in tests.

Thanks for your time and advices.

Now I would like to learn which exactly is qlen and how it could be used
to tune my routers but this is another topic :)

Pozdrawiam
Mroofka
Reply With Quote
Reply

  { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Linux > Linux Networking


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 11:09 AM.


Powered by vBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
© 1999-2008 mindfrost82.com v11.0


Sponsors:
Loans | Wikipedia | Debt Settlement | Online Loans | Buy PSP



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114