Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account


Photo

Windows 2000/XP http download speed vs linux.

- - - - -

  • Please log in to reply
12 replies to this topic

#1
Sfor

Sfor

    Senior Member

  • Member
  • PipPipPipPip
  • 556 posts
  • OS:Windows 2000 Professional
  • Country: Country Flag

I found an interesting issue while testing download speeds from different computers with and without proxy. I did use the same server and file on it and the same 20/4 Mbit Internet connection.

 

From Windows 2000/XP I can get up to 497kb/s, while from Linux (CentOS) it goes to 1,4Mb/s. What's more interesting while downloading from Windows 2000 using proxy server on the same Linux computer I did get over 1MB/s as well.

 

The best results were with WGET, but the similar differences were visible in Firefox, as well.

 

There has to be something slowing down HTTP downloads in windows 2000/XP, since it is possible to get around it by using proxy server working on Linux computer. Using a proxy on Windows XP did not increase the download speed and the result was almost the same as direct download. I used 3proxy, as it is available on both Windows and Linux systems.


Edited by Sfor, 26 June 2014 - 04:31 AM.



How to remove advertisement from MSFN

#2
jaclaz

jaclaz

    The Finder

  • Developer
  • 14,077 posts
  • OS:none specified
  • Country: Country Flag

TCPWindowsize? :unsure:

http://www.speedguid...stry-tweaks-157

http://www.tcpipguid...FlowControl.htm

http://support.micro...kb/314053/en-us

 

More:

http://www.jayhaabee...rk-performance/

 

jaclaz


Edited by jaclaz, 26 June 2014 - 06:08 AM.


#3
vinifera

vinifera

    <°)))><

  • Member
  • PipPipPipPipPip
  • 955 posts
  • OS:Windows 7 x86
  • Country: Country Flag

unlock (patch) tcpip.sys then try again :P


If you want true Windows user experience
try Longhorn builds: 3718, 4029, 4066

#4
Sfor

Sfor

    Senior Member

  • Member
  • PipPipPipPip
  • 556 posts
  • OS:Windows 2000 Professional
  • Country: Country Flag

Started the experiments with TCPWindowSize. Apparently it does not seem to change anything by itself.

 

On the other hand, the Tcp1323Opts can prevent some applications from working properly. Apparently Large TCP Window support is not 100% compatible.

 

I heard about the TcpIP patch in relation with the Windows XP limit of half open connections, but I see no relation to Windows 2000, what so ever.

 

---------------------------------

 

After a thought. For some reason the connections with proxy server can get much higher data rate, than direct connections with HTTP server. But I had no opportunity to make any tests with a remote proxy server, as I have no access to a sufficiently fast one.

 

-----------------------------------------

 

I did test the registry tweaks from "Recommended settings for Windows 2000 / XP". The result was no change, at all. But, after setting TCPWindowSize below 64240 the download speed went down about 10%.

 

I was unable to test the benefits of the Tcp1323Opts=1 needed for large TCPWindowSize, as both Firefox 12 and WGET are not connecting at all in such a case.


Edited by Sfor, 27 June 2014 - 04:48 AM.


#5
junior600

junior600

    Newbie

  • Member
  • 38 posts
  • OS:Windows 7 x64
  • Country: Country Flag

Try these files...

sguide_tweak_2k.zip

sguide_tweak_2k_pppoe.zip

 

They worked for me. Now it goes at 7.2 MB/s (the normal speed for my internet connection.)


Edited by junior600, 27 June 2014 - 01:31 PM.


#6
Sfor

Sfor

    Senior Member

  • Member
  • PipPipPipPip
  • 556 posts
  • OS:Windows 2000 Professional
  • Country: Country Flag

I did test all of these registry changes, already. According to my predictions some applications should stop working, after applying the patch. Also my Internet services provides a low latency Ethernet 100 Mbit connection. So, I'm not in this particular patch target group.

 

The biggest problem is the "Tcp1323Opts"=dword:00000001" line. For some reason it causes WGET and PopTray to be unable to connect to servers. The Firefox 12 can not download files from some servers, as well.

 

Also the "TcpWindowSize"=dword:0003ebc0" is problematic. I found some Microsoft article about bugs in the Windows 2000. The work around was to use values lower than 64240 with it, or to use GlobalMaxTcpWindowSize instead.


Edited by Sfor, 27 June 2014 - 02:41 PM.


#7
Sfor

Sfor

    Senior Member

  • Member
  • PipPipPipPip
  • 556 posts
  • OS:Windows 2000 Professional
  • Country: Country Flag

I decided to try to tweak the Windows XP, and the results were significant.

 

At the beginning the download speed was around 460kBps. After applying TcpWindowSize="256960" the download speed went up to 2MBps. So, the TCP window setting is very effective in Windows XP, but for some reason, it doesn't seem to work with Windows 2000.


Edited by Sfor, 25 July 2014 - 04:07 AM.


#8
jaclaz

jaclaz

    The Finder

  • Developer
  • 14,077 posts
  • OS:none specified
  • Country: Country Flag

Could it be this issue?

http://support.micro...kb/263088/en-us

http://technet.micro...y/cc938219.aspx

 

What happens with these settings ?:

http://www.routers.c...kTCPtuning.html

 

jaclaz


Edited by jaclaz, 25 July 2014 - 05:21 AM.


#9
Sfor

Sfor

    Senior Member

  • Member
  • PipPipPipPip
  • 556 posts
  • OS:Windows 2000 Professional
  • Country: Country Flag

Well I did try the GlobalMaxTcpWindowSize="256960" as suggested in the Microsoft article, but it seems it does not affect the download performance in any significant way. I'm starting to believe the Windows 2000 has a hardcoded limit for TCP window size.



#10
jaclaz

jaclaz

    The Finder

  • Developer
  • 14,077 posts
  • OS:none specified
  • Country: Country Flag

Well I did try the GlobalMaxTcpWindowSize="256960" as suggested in the Microsoft article, but it seems it does not affect the download performance in any significant way. I'm starting to believe the Windows 2000 has a hardcoded limit for TCP window size.

 

I will try again ;):

 

 

Could it be this issue?

http://support.micro...kb/263088/en-us

http://technet.micro...y/cc938219.aspx

 

What happens with these settings ?:

http://www.routers.c...kTCPtuning.html

 

jaclaz

 

it seems like on Windows 2000 you need to have 3 (three) parameters, ALL of them properly set:

 

  1. GlobalTcpMaxWindowSize
  2. TcpWindowSize
  3. Tcp1323Opts

jaclaz



#11
Sfor

Sfor

    Senior Member

  • Member
  • PipPipPipPip
  • 556 posts
  • OS:Windows 2000 Professional
  • Country: Country Flag

Finally. I can see some improvement. The download speed went up from 460 to 940kBps on Windows 2000.


Edited by Sfor, 25 July 2014 - 07:08 AM.


#12
jaclaz

jaclaz

    The Finder

  • Developer
  • 14,077 posts
  • OS:none specified
  • Country: Country Flag

Finally. I can see some improvement. The download speed went up from 460 to 940kBps on Windows 2000.

How?
By sheer magic :w00t: or using WHICH settings?
The given ones?
 

GlobalTcpMaxWindowSize REG_DWORD 131400 (decimal)
TcpWindowSize REG_DWORD 131400 (decimal)
Tcp1323Opts REG_DWORD 3
What happens if you increase both the 131400 (which is 90*1460, while the 256960 is 176*1460) to the next multiples of 1460?
LIke (say):
166600
189800
219000
248200
:unsure:
 
jaclaz

#13
Sfor

Sfor

    Senior Member

  • Member
  • PipPipPipPip
  • 556 posts
  • OS:Windows 2000 Professional
  • Country: Country Flag

The download speed is going up.

with 256960 1.7MBps

with 385440 2.3MBps, and thats all my Internet connection can handle.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users



How to remove advertisement from MSFN