Networking Forums

Networking Forums > Computer Networking > Linux Networking > asymetric capacity on windows on Linux everything is fine

Reply
Thread Tools Display Modes

asymetric capacity on windows on Linux everything is fine

 
 
Szymon Turkiewicz
Guest
Posts: n/a

 
      08-18-2008, 12:28 PM
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
 
 
 
 
John Oliver
Guest
Posts: n/a

 
      08-18-2008, 03:30 PM
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
 
Szymon Turkiewicz
Guest
Posts: n/a

 
      08-18-2008, 04:44 PM
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
 
Andy Furniss
Guest
Posts: n/a

 
      08-21-2008, 11:14 PM
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
 
Szymon Turkiewicz
Guest
Posts: n/a

 
      08-26-2008, 07:56 PM

>> 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

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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
DD-WRT fine in win 2k4 pro but not seeing past router in Backtrack linux? KG0WX Wireless Internet 10 02-13-2007 09:37 PM
Fine Tuning Linux for backup/production coexistence. Todd Linux Networking 2 02-05-2007 02:01 PM
Can't open WMV or JPG from Windows share, but MPG and AVI work fine rex roland Linux Networking 2 02-03-2006 01:52 PM
Other than POP3 & SMTP, Windows email works just fine Holliston Perni Windows Networking 0 09-15-2005 03:42 PM
WLAN asymetric Albert Voss Wireless Internet 3 09-06-2004 09:27 PM



1 2 3 4 5 6 7 8 9 10 11