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