PDA

View Full Version : Windows Vista Tweaks



Philip
04-25-08, 05:03 PM
This thread is intended to discuss the recommended Vista tweaks as outlined in this article:

Windows Vista Tweaks (http://www.speedguide.net/read_articles.php?id=2574)

Please share your experiences, testing results, and feel free to add to the available information.
Any suggestions are always welcome.

Update: We've also released a SG Vista TCP/IP patch (http://www.speedguide.net/files/vista/SG_Vista_TcpIp_patch.cmd) (also downloadable from our Downloads section, as well as the Vista Tweaks article), that allows for tweaking all related netsh settings and registry values in one simple step. The patch also provides for reverting the settings to their default Windows values.

To apply the patch, save to your desktop and run as administrator (right-click -> run as administrator). Click Y when prompted to apply optimal settings.


Vista/Windows 7 TCP/IP Patch Updates:
12/23/2009, patch version 1.4 - added the EnableDCA registry setting to the Vista/7 TCP/IP patch
01/24/2010, patch version 1.5 - added the "netsh int tcp set heuristics disabled" command to the patch to prevent Vista/Windows 7 heuristics from overriding custom user-set autotuninglevel values.




Note: One interesting area to explore would be manually setting the MTU value, to confirm that it is off by 8 with non-PPPoE connections ? (you can test the actual MTU value using the Analyzer after rebooting)

mccoffee
05-09-08, 02:32 PM
:DGood infromation Philip didn't even seen this thread till today.

higlyrestricted: allows the receive window to grow beyond its default value, very conservatively
restricted: somewhat restricted growth of the tcp receive window beyond its default value
normal: default value, allows the receive window to grow to accommodate most conditions
experimental: allows the receive window to grow to accommodate extreme scenarios (not recommended, it can degrade performance in common scenarios, only intended for research purposes. It enables RWIN (javascript:// What is RWIN ?) values of over 16 MB)
Our recommendation: normal (unless you're experiencin

When I met with the the windows networking team in Seattle normal/rescrited should work for most users though. Listen to Philip on the experimental stuff.

One other note make sure your network card drivers and frimware is update to dat on your networking equipment. I noticed in the past two weeks updates for my network cards and that's in three different computers.

Kepp up the great work Philip. :thumb:

Rollingstone
06-13-08, 03:15 AM
Removes the limitation of your half-open (incomplete/syn packets) in Vista ?
http://www.softpedia.com/get/Tweak/Network-Tweak/TCP-IP-Limit-AutoPatch.shtml

satyre
08-19-08, 05:59 PM
Removes the limitation of your half-open (incomplete/syn packets) in Vista ?
http://www.softpedia.com/get/Tweak/Network-Tweak/TCP-IP-Limit-AutoPatch.shtml

I downloaded this patch, but my computer screwed up. I couldn't boot back in, it just crashed before loading OS but gave an option to get in Safemode.. However, when I select Safemode and hit enter, it load the usual files and stop at one point and crash.

Finally, I used the original Vista disc to get into the repair mode and restored a previous point.

I don't advise anyone using the above link to get the patch.

Anyway, how can I manually remove the connection limitation? Which registry I have to change.

Thanks

bbd123
08-20-08, 01:23 AM
I also DL'd the patch and was unable to boot. Recieved an error stating "Not able to verify digital signature"
Did the same as satyre and put in Vista disc and did the repair!
I would also like to know how to manually remove the limits.

mccoffee
08-20-08, 02:35 PM
http://www.mydigitallife.info/2007/04/09/windows-vista-tcpipsys-connection-limit-patch-for-event-id-4226/

ViTz
10-16-08, 08:06 PM
I also DL'd the patch and was unable to boot. Recieved an error stating "Not able to verify digital signature"
Did the same as satyre and put in Vista disc and did the repair!
I would also like to know how to manually remove the limits.

Thats bc u have 64bit vista, wich have driver signature enforcement. The batch is meant only for 32bit versions.
However, it is still possible to batch 64bit version, but u need a way to bypass signature enforcement.

"Windows Vista now require all kernel-mode driver or software to be signed with digital signature in 64-bit Vista, and all boot-start drivers must be embedded-sign with signature on both x86 and x64 versions of Windows Vista. Unfortunately, tcpip.sys is both kernel mode driver, and also boot start driver, and modify tcpip.sys will break the existing signature, making the patched tcpip.sys unsigned.

So when using patched tcpip.sys, users must press F8 at every Windows boot load. When come to Vista Advanced Boot Options menu, select “Disable Driver Signature Enforcement” to bypass driver signing check and continue loading Windows Vista, else there may be boot-failure. The process can be automated with ReadyDriverPlus."

http://www.mydigitallife.info/2008/02/17/download-vista-tcpipsys-and-uac-auto-patcher-to-increase-tcp-connection-limit/

satyre
10-17-08, 06:03 AM
Thats bc u have 64bit vista, wich have driver signature enforcement. The batch is meant only for 32bit versions.


Who said, I have 64bit version? Assumption?

I am using 32bit version.

ViTz
10-17-08, 06:23 AM
Who said, I have 64bit version? Assumption?

I am using 32bit version.

I meant that comment for bbd123, I quotet him, not u. He clearly is using the 64bit version.

U propably screwed ur system, bc u used too old version of the batch. Assuming u have sp1 installed, or any other windows patch that might have updated tcpip.sys file.

The link i gave has a patch for sp1 also, try that. Ive succesfully batched my 32bit and 64bit sp1 systems with patches found from My Digital Life (http://www.mydigitallife.info/2008/02/17/download-vista-tcpipsys-and-uac-auto-patcher-to-increase-tcp-connection-limit/)

Drlawgr
10-25-08, 12:12 AM
A desperate Vista user here! :confused::confused::confused:

I've tried ALL possible combinations to make my connection faster with these damn Vista Business 64 bit, but nothing works!

Please read below... maybe you can help with something... I'm really dissapointed :cry: ... don't know what to do anymore... can't even watch a youtube video without having to wait for a couple of seconds every about 5 seconds, for buffering...
_____________________________
Guys,
I've tried ALL POSSIBLE combinations about it, and still can't find a solution!

But read this please!

"""TCP Auto-Tuning

To turn off the default RWIN auto tuning behavior, (in elevated command prompt) type:

netsh int tcp set global autotuninglevel=disabled

The default auto-tuning level is "normal", and the possible settings for the above command are:

disabled: uses a fixed value for the tcp receive window. Limits it to 64KB (limited at 65535).
higlyrestricted: allows the receive window to grow beyond its default value, very conservatively
restricted: somewhat restricted growth of the tcp receive window beyond its default value
normal: default value, allows the receive window to grow to accommodate most conditions
experimental: allows the receive window to grow to accommodate extreme scenarios (not recommended, it can degrade performance in common scenarios, only intended for research purposes. It enables RWIN values of over 16 MB)"""

So if using DISABLED, the TCP RWIN DOES NOT CHANGE VALUE! That gives it a FIXED 64kb.
Even though in the Registry the numbers shown, are the ones you have input in the TCOptimizer... but when you go to
www.speedguide.net/analyzer.php
you still get a FREAKING TCP RWIN of 65340...

I also tried the "experimental" mode of auto-tuning, that supposedly leaves it free to grow, but still nothing!!!

HELP ANYONE???
____________________________________________
Same story as everyone else... I get half the speed I was getting with my old XP pc... I've lost my sleep with it!!! Have been looking and searching everything, until I found this post...

Here is my info...

SpeedGuide.net TCP Analyzer Results
Tested on: 10.24.2008 20:25

TCP options string: 020405ac01010402
MSS: 1452
MTU: 1492
TCP Window: 65340 (multiple of MSS)
RWIN Scaling: 0 bits
Unscaled RWIN : 65340
Recommended RWINs: 63888, 127776, 255552, 511104, 1022208
BDP limit (200ms): 2614kbps (327KBytes/s)
BDP limit (500ms): 1045kbps (131KBytes/s)
MTU Discovery: ON
TTL: 46
Timestamps: OFF
SACKs: ON
IP ToS: 00000000 (0)

and I'm getting SICK!!! My connection is 6,500-7,000... using my old XP pc I download with around 550-600... my new Vista (Business 64-bit with SP1 installed) will only download with 300-330 Kbytes/s

Autotuning is off... I run TCPOptimizer, but the value of RWIN does not change!!!

ViTz
10-26-08, 07:16 AM
A desperate Vista user here! :confused::confused::confused:

I've tried ALL possible combinations to make my connection faster with these damn Vista Business 64 bit, but nothing works!

Please read below... maybe you can help with something... I'm really dissapointed :cry: ... don't know what to do anymore... can't even watch a youtube video without having to wait for a couple of seconds every about 5 seconds, for buffering...
_____________________________
Guys,
I've tried ALL POSSIBLE combinations about it, and still can't find a solution!

But read this please!


"""TCP Auto-Tuning

To turn off the default RWIN auto tuning behavior, (in elevated command prompt) type:

netsh int tcp set global autotuninglevel=disabled

The default auto-tuning level is "normal", and the possible settings for the above command are:

disabled: uses a fixed value for the tcp receive window. Limits it to 64KB (limited at 65535).
higlyrestricted: allows the receive window to grow beyond its default value, very conservatively
restricted: somewhat restricted growth of the tcp receive window beyond its default value
normal: default value, allows the receive window to grow to accommodate most conditions
experimental: allows the receive window to grow to accommodate extreme scenarios (not recommended, it can degrade performance in common scenarios, only intended for research purposes. It enables RWIN values of over 16 MB)"""

So if using DISABLED, the TCP RWIN DOES NOT CHANGE VALUE! That gives it a FIXED 64kb.
Even though in the Registry the numbers shown, are the ones you have input in the TCOptimizer... but when you go to
www.speedguide.net/analyzer.php
you still get a FREAKING TCP RWIN of 65340...

I also tried the "experimental" mode of auto-tuning, that supposedly leaves it free to grow, but still nothing!!!

HELP ANYONE???
____________________________________________
Same story as everyone else... I get half the speed I was getting with my old XP pc... I've lost my sleep with it!!! Have been looking and searching everything, until I found this post...

Here is my info...

SpeedGuide.net TCP Analyzer Results
Tested on: 10.24.2008 20:25

TCP options string: 020405ac01010402
MSS: 1452
MTU: 1492
TCP Window: 65340 (multiple of MSS)
RWIN Scaling: 0 bits
Unscaled RWIN : 65340
Recommended RWINs: 63888, 127776, 255552, 511104, 1022208
BDP limit (200ms): 2614kbps (327KBytes/s)
BDP limit (500ms): 1045kbps (131KBytes/s)
MTU Discovery: ON
TTL: 46
Timestamps: OFF
SACKs: ON
IP ToS: 00000000 (0)

and I'm getting SICK!!! My connection is 6,500-7,000... using my old XP pc I download with around 550-600... my new Vista (Business 64-bit with SP1 installed) will only download with 300-330 Kbytes/s

Autotuning is off... I run TCPOptimizer, but the value of RWIN does not change!!!

Did u run the tool elevated? Right click it and choose Run as administrator.

Try edit the settings manually with regedit. U can see the correct values after u click apply.

Also, dont trust the RWIN that TCP/IP Analyzer tells u. For me it tells my RWIN is 65700 but my downloads usually comes near 1000 KBytes/s.

Drlawgr
10-27-08, 09:33 PM
Yes my friend, cmd.exe as admin, always...

You know it is funny... I have changed the values manually using regedit, and the values stay put... autotuning is on experimental, as disabled just locks it at 65kb...

TCP Global Par's are:
RSS: enabled
Chimney Offload: enabled
Receive Window: experimental
Add-on Congestion Control: ctcp
ECN Capability: enabled
RFC 1323 Timestamps: disabled

Then I also UNCHECKED the TCP/IPv6 in my LAN's properties...

All of the above increased my speed by about 100kbs, and I now download at around 400... but still nothing like in my old XP pc where I was downloading with 500 (btw, I turned it on last night and run TCPOptimizer, which I had not run on it - I was using the Tuneup Utilities 2008 in it for optimization - and can you believe that after that I reached 600??? My Receive Window was something like 510,000+ !!!)

I know we must not trust the TCP analyze-thing in speedguide's site... I read somewhere, that it was written in 16 bit and cannot "play" correctly with Vista, or something like that... didn't exactly know if it's true or not, so looking around (haven't done much else since I found out my problem!) and I found this link:

http://www.dslreports.com/tweaks

and it gives me a Receive Window of 350,000+

But still I have problem for example with video streaming... I used to watch some tv (always using my old XP pc) without ANY stops for buffering... now I cannot watch tv! Every 5-6 seconds will stop to buffer for 2-3 seconds, and all over again, and again...

Can't really understand why they've done this damn autotuning thing...

Now, I'm looking for a way (if it exists) to "fix" video streaming... don't know what else to do...

What are your settings in the Global Par's?

mccoffee
10-29-08, 06:06 PM
Vista doesn't use tcp window size at all it doesn't matter if you set them in the registry ,or not since it is due to IPv6 ,and ctcp where the packet header is modified for effency for data transfers.

Without those reg values the host ,and the devices to that host can commucate better since it's less time trying to setup how much data can be set to compA from a host ,and how much data can compA recive. The host just determines the amount ,and compA just agrees less decisions durring the transfer.

Chrysalis
10-31-08, 12:29 PM
my tips are as follows for vista.

Disable RSS unless you have both the following (a) 2 or more processor cores and (b) a network card that can handle RSS, typically a business intel pro 1000 MT card (expensive model). The intel pro 1000 PT/GT consumer model doesnt do RSS.

enable ctcp congestion control.

experiment with the auto tuning setting, this site will report a value but that value wont be used on all connections as it dynamically changes. Someone on another site did some tests with a packet analyzer and found out on the restricted and normal the tcp windows get very big on large downloads, far bigger than the typical 200k-300k sizes used by tweakers well into 7 figures. So he suggested using highlyrestricted or disabled, I guess it depends on circumstances. If you using something like torrents which open a lot of long lasting connections I would suggest highlyrestricted or disabled so you dont exhaust your resources, otherwise a higher setting should be ok.

No comment on chimney cant say I noticed a difference with it on or off.

What I do notice with vista over XP is web browsing is a hell of a lot faster, this I suspect is more down to ctcp than the auto tuning.

mnosteele52
11-08-08, 05:27 PM
Good stuff Philip, I applied of few of these to my computers.

:thumb::cool:

spicyxw
12-15-08, 04:33 AM
Wow,

I have been working on everyone PC's and laptops from work for years now. I have been using TCP Optimizer since it came out, and it has improved everyones internet speed on DSL and Cable.

Now Vista comes out and I have stayed away from it till now, and I have not been impressed with any speed test results.

My gear:
Alienware Area 51 M5500i R3 with Intel built in A/B/G card.
D-Link DIR-655 N1 Router
Custom Gaming rig: Asus MB on board 10/100/1000 NIC

My gaming rig averages 27MB - 65MB everyday. And I have on occasions reached 100MB download with TCP Optimizer maxed out.

http://www.speedtest.net/result/372595860.png (http://www.speedtest.net)


Until now I was only getting between 3MB - 7MB down on my laptop.

Then I read this topic and all I can say is that it is right on.

Now I'm averaging on my laptop betweem 9MB - 11MB
http://www.speedguide.net/speedtest/results_img.php?test=2159007 (http://www.speedguide.net/speedtest/results.php?test=2159007)

And 60MB down from others.
http://www.speedtest.net/result/373063899.png (http://www.speedtest.net)

THANK YOU PHILIP FOR THE FANTASTIC VISTA TWEAK LINK POST. Pages load so fast now. I can't wait till I get my new Intel 4965 B\G\N card next month.

My settings are:
Recieve-Side Scaling State = Enabled
Chimney Offload State = Eabled
Auto-tuning Level = Normal
ADD-ON Congestion Control Provider = CTCP
ECN Capability = Disabled
RFC 1323 Timestamp = Disabled

ace_caz
12-29-08, 10:49 AM
Hi,

Ref: MTU (Maximum Transmission Unit) - the maximum packet size.

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{...}\
MTU=1500 (DWORD, entry does not exist by default)


I can not see the above info. in the registry.

ie MTU I can get as far as interfaces - what im i missing..


cheers!

mccoffee
12-29-08, 11:37 AM
mtu http://www.howtonetworking.com/vista/vistamtu.htm

Philip
01-28-09, 01:56 PM
I've added a SG Vista TCP/IP Patch (http://www.speedguide.net/files/vista/SG_Vista_TcpIp_patch.cmd) (thanks 100 010 00 for some ideas), allowing users to change all Vista related netsh/registry settings to their optimal values in a single step (except nagling and MTU, more info available in our Vista Tweaks article referenced above). The SG Vista TCP/IP patch allows for reverting all settings to their Windows default values as well.

We may opt for a Vista Windows-based version ot the Optimizer for more granular user control sometime in the future, depending on demand.

Any feedback is appreciated, as always.

YARDofSTUF
01-28-09, 02:34 PM
Does this also relate to Windows 7?

Philip
01-28-09, 03:44 PM
It works with Vista and Server 2008, haven't really installed/tested Windows 7 yet but it should work as well.
I'd try some of the commands from the Vista tweaking article manually to test.

100 010 00
02-04-09, 01:23 PM
I've added a SG Vista TCP/IP Patch (http://www.speedguide.net/files/vista/SG_Vista_TcpIp_patch.cmd) (thanks 100 010 00 for some ideas), allowing users to change all Vista related netsh/registry settings to their optimal values in a single step (except nagling and MTU, more info available in our Vista Tweaks article referenced above). The SG Vista TCP/IP patch allows for reverting all settings to their Windows default values as well.

We may opt for a Vista Windows-based version ot the Optimizer for more granular user control sometime in the future, depending on demand.

Any feedback is appreciated, as always.

I have also added the priorites in here.....

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\ServiceProvider.......... works fine

Philip
02-05-09, 09:45 AM
Updated the Vista patch with DNS/Host priority tweak as well, thanks.

100 010 00
02-05-09, 10:44 AM
if u like, u can add the "0" limit of reserve bandwindth, also same like xp..

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Psched]
"NonBestEffortLimit"=dword:00000000 :thumb:

Philip
02-05-09, 11:23 AM
if u like, u can add the "0" limit of reserve bandwindth, also same like xp..

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Psched]
"NonBestEffortLimit"=dword:00000000 :thumb:

Thanks for the suggestion ! This information is available in the tweaking articles, not sure whether to include it in the patch.

The reason being, it only has effect in the presense of running QoS applications that request priority traffic... It may be a good thing to customize if the user requires QoS tweaking, but not necessarily applicable for everyone.


Edit: I've added it as a separate user option from the menu when running the patch.

demola
02-07-09, 07:28 AM
thanks phillips pls can SG Vista TCP/IP patch work for dial up?i use a 460kbps but my download speed hardly go beyond 8KB/s

mccoffee
02-07-09, 11:43 PM
I've tried in it windows 7 it works

Philip
02-10-09, 12:05 PM
I've tried in it windows 7 it works

Great to know, thanks for testing !
I'll have to install Windows 7 one of these days myself.

mccoffee
02-10-09, 01:41 PM
Philip not to thread hijack here is apublic download of the beta for it.

http://www.microsoft.com/windows/windows-7/beta-download.aspx

JayLevi
02-10-09, 02:00 PM
"I've been seeing this nagle tweak thing all over the internet. I just had to finally say something in regards to Vista and this tweak. For windows Vista the correct registry key for TCPNoDelay can be one of two places:

1st place is: HKEY_LOCAL_MACHINE\Software\Microsoft\MSDTC\

2nd place is: HKEY_LOCAL_MACHINE\Software\ {in the game sub key}

Do not add the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSMQ\Parameters registry entry to Vista, its not there by default for a good reason, because Vista doesn't use the Message Queue Server (MSMQ). The TCPNoDelay key is application and function specific, meaning, what ever software key it appears in is where it works, but heres the deal, it can only appear once in the registry. If its more then one place in the registry then it does not function. Sooo...dont go adding it to every application and game registry key, only add it in one place if you want it to be applied globally on Vista, and thats in the HKEY_LOCAL_MACHINE\Software\Microsoft\MSDTC\ registry key.

Now, the next thing I wanted to say, regardless of the pictures you have seen, or what some of the so called 'experts' on the 'net say, disabling nagles is a bad thing. When you do you basically break TCP/IP. In XP and Vista, the game doesn't work better because there is a flaw in the windows TCP/IP, it seems to work better because the code in the game is crappy to begin with and doesn't work properly with TCP/IP because the net code in the game that shapes the packets it sends doesn't correctly form the packets and as a result produces a smaller packet and lots of them, disabling nagles only seems to help because it makes TCP/IP more accpeting of the broken non-standard packet from the game. Next, disabling nagles, while you may get a lower ping reading in certain games, your really degrading your connection and bandwidth. The last thing I wanted to say about adding this to Vista, it doesn't work in Vista contrary to popular belief even if you turn off autotuning. Think about it, what happens when you turn off autotuning? So you turn it off, lock the TCP window size, and then further degrade that by turning off nagles? Come on now, get realistic folks." Is he right or not, should i disable nagle or not?

Philip
02-12-09, 01:53 PM
You shouldn't disable nagling under normal use.

Philip
02-12-09, 01:54 PM
Update: Vista TCP/IP patch has been upated to version 1.3, added TcpTimedWaitDelay registry entry to reduce unused dynamic port reallocation from 2 minutes to 30 seconds.

100 010 00
02-13-09, 03:21 PM
........SET /P choice1= Type y,n, q, or d, and press ENTER:
IF /I "%choice1%"=="Y" GOTO TWEAK
IF /I "%choice1%"=="Q" GOTO QOS
IF /I "%choice1%"=="D" GOTO DEFAULT
IF /I "%choice1%"=="N" GOTO CANCEL.........

Add the Q (QoS) choice that u forgot:) and either u can add the start-end ports of tcp-udp dynamicportrange in patch and at the end u can use the following or something like that, for the end user.....


:SUCCESS
CLS
@ECHO * PATCH WAS SUCCESFULLY APPLIED - PRESS ANY KEY TO EXIT *
netsh int tcp show global
@PAUSE
@ECHO * THE TCP DYNAMIC PORTS RANGE THAT IS IN USE NOW ARE..... *
netsh int ipv4 show dynamicportrange tcp
@PAUSE
@ECHO * THE UDP DYNAMIC PORTS RANGE THAT IS IN USE NOW ARE..... *
netsh int ipv4 show dynamicportrange udp
@PAUSE
EXIT


just a thought ;)

EDIT: I think the range of maxuserports is 5000-65534. The command that u wrote opens 65535. Correct me if i am wrong

Ashdaw
03-21-09, 10:59 AM
I have Win 2008 server/workstation and I tried this but it didn't do anything for me? I was lucky that I have a dual boot with Win 7 and it allowed me to get back in and change the OLD tcpip.sys back so I could start my machine again.

I noticed that on you FTP you have so many TCP.ip.sys files, do I get the latest one that is 1.4mb or?

Thanks Philip for making this available though. I WILL try it again and see if I can do it properly THIS time :D

PS, I wish my speeds were as great as the guy on Comcast Cable, I would LOVE that :D

WILDfan
03-22-09, 11:24 AM
As I am trying to open the Vista patch it only opens/saves as a text file...what do I need to do?

mccoffee
03-23-09, 11:08 AM
right click the vista patch and make sure you run as administrator

Zeriam
03-26-09, 05:22 PM
I read that the auto-tuning level can use a large amount of resources when using things such as BitTorrent and that it should be set to restricted or highlyrestricted, but I was wondering if it would benefit to set it to 'normal' since I have 4GB of RAM, or is it still not a good idea?

100 010 00
03-27-09, 08:03 AM
I read that the auto-tuning level can use a large amount of resources when using things such as BitTorrent and that it should be set to restricted or highlyrestricted, but I was wondering if it would benefit to set it to 'normal' since I have 4GB of RAM, or is it still not a good idea?

dont worry ....... cause of that, vistas tcpip.sys, turns by itsself to default value when limits the connections and recources. open your bittorrent client and after half an hour try an analyzer and see the results

esix
03-27-09, 01:59 PM
Hey guys I dont know if here's the right place to ask for help but I'll give it a go



SpeedGuide.net TCP Analyzer Results
Tested on: 03.27.2009 13:43
IP address: 79.117.xxx.xxx
Client OS: Windows Vista

TCP options string: 020405a001010402
MSS: 1440
MTU: 1480
TCP Window: 64800 (multiple of MSS)
RWIN Scaling: 0 bits
Unscaled RWIN : 64800
Recommended RWINs: 63360, 126720, 253440, 506880, 1013760
BDP limit (200ms): 2592kbps (324KBytes/s)
BDP limit (500ms): 1037kbps (130KBytes/s)
MTU Discovery: ON
TTL: 50
Timestamps: OFF
SACKs: ON
IP ToS: 00100000 (32)
Precedence: 001 (priority)
Delay: 0 (normal delay)
Throughput: 0 (normal throughput)
Reliability: 0 (normal reliability)
Cost: 0 (normal cost)
Check bit: 0 (correct)
DiffServ: CS1 001000 (8) - class 1 (RFC 2474). Similar forwarding behavior to the ToS Precedence field.


Now the thing is that i've used Vista Patcher and nothing happen
I am using Vista SP 2 and my internet connection is kinda of not working for the moment.

I've used sometime ago TCP Optimizer on Vista SP1 and the halfopen patch and they did wonders, but now everything went from ok to verry bad...

mccoffee
03-31-09, 05:56 PM
The resualts don't show on the analyzer The changes will show in netsh though

7even
04-07-09, 04:38 AM
Is he right or not, should i disable nagle or not?

@Catnoise.. Yes.. he is wrong


You shouldn't disable nagling under normal use.

@Philip.. You are wrong also...

You can not disable nagling just making a regkey do disable it.
You need to activate QoS on Vista because QoS is disable by default.
Go to Start/Control Panel/ Programs and Features...
Now on your left side you see Turn Windows Features
On or Off after that just active Microsoft Message Queue (MSMQ) Server
[you need to active all be under that MSMQ file by clicking on +].
Now you can disable nagling happy tweak guys xD

100 010 00
04-08-09, 06:26 AM
QoS is enable by default in windows vista, because autotuning technology is based under Qos. There are about fifty articles in microsoft technet about it. read (http://technet.microsoft.com/en-us/network/bb530836.aspx) some of them

EDIT: No one can disable nagle algorithm, unless u r a kernel substractive layer programming. U can modiefying some parameters yes, like philip describes in his article, but if u at last find a way to disable it, the results of tcp/ip is for fun. nothing works

ViTz
04-09-09, 03:39 AM
@Catnoise.. Yes.. he is wrong



@Philip.. You are wrong also...

You can not disable nagling just making a regkey do disable it.
You need to activate QoS on Vista because QoS is disable by default.
Go to Start/Control Panel/ Programs and Features...
Now on your left side you see Turn Windows Features
On or Off after that just active Microsoft Message Queue (MSMQ) Server
[you need to active all be under that MSMQ file by clicking on +].
Now you can disable nagling happy tweak guys xD

I don't MSMQ has anything to do with QoS.
MSMQ is efficient way to send messages between processes or computers. We use it a lot in our corporate enviroment.

babolgam
04-22-09, 01:15 AM
Sir just a quick question, why is it every time I click on the Vista Patch link it directs me to this page with these written on it. It won't let me save it or download anything to my desktop.


:: (c) Speed Guide, Inc. - http://www.speedguide.net
:: Use at your own risk. No warranty express or implied.
:: Permission granted to copy, distribute and modify, provided
:: this message is not removed.
CLS
@ECHO OFF
ECHO *** SpeedGuide.net Vista TCP/IP patch v1.3 2009-02-12 ***
ECHO.
ECHO This Patch optimizes Vista TCP/IP settings for broadband
ECHO Use at your own risk. No warranty express or implied.
ECHO.
ECHO ------------------------------------------
ECHO Type "y" to optimize Vista TCP/IP settings
ECHO Type "q" to disable QoS reserved bandwidth
ECHO Type "d" to revert to Vista default values
ECHO Type "n" to cancell patch and exit
ECHO ------------------------------------------
:LOOP
SET /P choice1= Type y,n,q, or d, and press ENTER:
IF /I "%choice1%"=="Y" GOTO TWEAK
IF /I "%choice1%"=="Q" GOTO QOS
IF /I "%choice1%"=="D" GOTO DEFAULT
IF /I "%choice1%"=="N" GOTO CANCEL
:: ELSE
GOTO LOOP

:TWEAK
@ECHO ON
netsh int tcp set global rss=enabled
netsh int tcp set global chimney=enabled
netsh int tcp set global autotuninglevel=normal
netsh int tcp set global congestionprovider=ctcp
netsh int tcp set global ecncapability=disabled
netsh int tcp set global timestamps=disabled
@ECHO OFF
cd %temp%
ECHO > SG_Vista_TcpIp_Patch.reg Windows Registry Editor Version 5.00
ECHO >> SG_Vista_TcpIp_Patch.reg [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters]
ECHO >> SG_Vista_TcpIp_Patch.reg "DefaultTTL"=dword:00000040
ECHO >> SG_Vista_TcpIp_Patch.reg "EnableTCPA"=dword:00000001
ECHO >> SG_Vista_TcpIp_Patch.reg "Tcp1323Opts"=dword:00000001
ECHO >> SG_Vista_TcpIp_Patch.reg "TCPMaxDataRetransmissions"=dword:00000007
ECHO >> SG_Vista_TcpIp_Patch.reg "TCPTimedWaitDelay"=dword:0000001e
ECHO >> SG_Vista_TcpIp_Patch.reg "SynAttackProtect"=dword:00000001
ECHO >> SG_Vista_TcpIp_Patch.reg [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\ServiceProvider]
ECHO >> SG_Vista_TcpIp_Patch.reg "LocalPriority"=dword:00000004
ECHO >> SG_Vista_TcpIp_Patch.reg "HostsPriority"=dword:00000005
ECHO >> SG_Vista_TcpIp_Patch.reg "DnsPriority"=dword:00000006
ECHO >> SG_Vista_TcpIp_Patch.reg "NetbtPriority"=dword:00000007
regedit /s SG_Vista_TcpIp_Patch.reg
del SG_Vista_TcpIp_Patch.reg
CLS
ECHO * PATCH SUCCESFULLY APPLIED - PRESS ANY KEY TO EXIT *
GOTO SUCCESS

:QOS
@ECHO OFF
cd %temp%
ECHO > SG_Vista_TcpIp_Patch.reg Windows Registry Editor Version 5.00
ECHO >> SG_Vista_TcpIp_Patch.reg [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Psched]
ECHO >> SG_Vista_TcpIp_Patch.reg "NonBestEffortLimit"=dword:00000000
regedit /s SG_Vista_TcpIp_Patch.reg
del SG_Vista_TcpIp_Patch.reg
CLS
ECHO * QOS PATCH SUCCESFULLY APPLIED - PRESS ANY KEY TO EXIT *
ECHO.
ECHO * Visit SpeedGuide.net for more broadband info and tweaks *
ECHO.
@PAUSE
EXIT

:DEFAULT
@ECHO ON
netsh int tcp set global rss=default
netsh int tcp set global chimney=default
netsh int tcp set global autotuninglevel=normal
netsh int tcp set global congestionprovider=default
netsh int tcp set global ecncapability=default
netsh int tcp set global timestamps=default
@ECHO OFF
cd %temp%
ECHO > SG_Vista_TcpIp_Default.reg Windows Registry Editor Version 5.00
ECHO >> SG_Vista_TcpIp_Default.reg [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters]
ECHO >> SG_Vista_TcpIp_Default.reg "DefaultTTL"=-
ECHO >> SG_Vista_TcpIp_Default.reg "EnableTCPA"=-
ECHO >> SG_Vista_TcpIp_Default.reg "Tcp1323Opts"=dword:00000000
ECHO >> SG_Vista_TcpIp_Default.reg "TCPMaxDataRetransmissions"=dword:000000ff
ECHO >> SG_Vista_TcpIp_Default.reg "TCPTimedWaitDelay"=dword:ffffffff
ECHO >> SG_Vista_TcpIp_Default.reg "SynAttackProtect"=-
ECHO >> SG_Vista_TcpIp_Default.reg [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\ServiceProvider]
ECHO >> SG_Vista_TcpIp_Default.reg "LocalPriority"=dword:000001f3
ECHO >> SG_Vista_TcpIp_Default.reg "HostsPriority"=dword:000001f4
ECHO >> SG_Vista_TcpIp_Default.reg "DnsPriority"=dword:000007d0
ECHO >> SG_Vista_TcpIp_Default.reg "NetbtPriority"=dword:000007d1
ECHO >> SG_Vista_TcpIp_Default.reg [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Psched]
ECHO >> SG_Vista_TcpIp_Default.reg "NonBestEffortLimit"=-
regedit /s SG_Vista_TcpIp_Default.reg
del SG_Vista_TcpIp_Default.reg
CLS
ECHO * VISTA DEFAULT VALUES SUCCESFULLY APPLIED - PRESS ANY KEY TO EXIT *
GOTO SUCCESS

:SUCCESS
netsh int tcp show global
ECHO.
ECHO * Visit SpeedGuide.net for more broadband info and tweaks *
ECHO.
@PAUSE
EXIT

:CANCEL
CLS
ECHO * PATCH CANCELLED BY USER - PRESS ANY KEY TO EXIT *
ECHO.
ECHO * Visit SpeedGuide.net for more broadband info and tweaks *
ECHO.
@PAUSE
EXIT

ViTz
04-23-09, 06:38 AM
Sir just a quick question, why is it every time I click on the Vista Patch link it directs me to this page with these written on it. It won't let me save it or download anything to my desktop.

.....


Click the link with your right mouse button and choose "save link as" or "save target as".

babolgam
04-27-09, 12:25 AM
yeah that's what I did but it opens as a notepad and when I tried opening it with cmd nothing happens. Sorry for being a noob. hehe..

ViTz
04-28-09, 05:26 AM
yeah that's what I did but it opens as a notepad and when I tried opening it with cmd nothing happens. Sorry for being a noob. hehe..

When the file is open in notepad, click file -> save as..

Select Save as type to All files (*.*) and save it as patch.cmd, not patch.cmd.txt or anything.

Maffew
05-06-09, 02:37 PM
Hi everyone,

I am having serious broadband issues so I signed up to the forum and have been running through some of the tweaks.

I have ran the TCPOptimizer and the SG_Vista_TcpIP_Patch.cmd. I am on Virgin Media's XL package in the UK (which boasts a 20MB line) and got the following results.


SpeedGuide.net TCP Analyzer Results
Tested on: 05.06.2009 14:28
IP address: 81.107.xx.xx
Client OS: Windows Vista x64

TCP options string: 020405b00103030201010402
MSS: 1456
MTU: 1496
TCP Window: 17472 (multiple of MSS)
RWIN Scaling: 2 bits (2^2=4)
Unscaled RWIN : 4368
Recommended RWINs: 64064, 128128, 256256, 512512, 1025024
BDP limit (200ms): 699kbps (87KBytes/s)
BDP limit (500ms): 280kbps (35KBytes/s)
MTU Discovery: ON
TTL: 47
Timestamps: OFF
SACKs: ON
IP ToS: 00000000 (0)




TCP Global Parameters
----------------------------------------------
Receive-Side Scaling State : enabled
Chimney Offload State : enabled
Receive Window Auto-Tuning Level : disabled (have previously tried normal)
Add-On Congestion Control Provider : ctcp
ECN Capability : disabled
RFC 1323 Timestamps : disabled


This seems to have improved load times on web pages but since running the tweaks my download speeds have not improved and in some cases have gotten worse (in a few case not budging from 0kb/sec from a reliable server)

I'm thinking this has something to do with my RWIN value being way too low.

Any advice will be GREATLY appreciated.

ricardokk22
05-26-09, 01:29 PM
hello im new in this forum,
i'd like asking some help from all of u guys........

this my poor tcpip analyser
SpeedGuide.net TCP Analyzer Results
Tested on: 05.26.2009 13:15
IP address: 114.58.xxx.xx(proxy:64.255.180.21)
Client OS: Windows Vista

TCP options string: 020405b40402080a90adbe260000000001030307
MSS: 1460
MTU: 1500
TCP Window: 5888 (NOT multiple of MSS)
RWIN Scaling: 7 bits (2^7=128)
Unscaled RWIN : 46
Recommended RWINs: 64240, 128480, 256960, 513920, 1027840
BDP limit (200ms): 236kbps (29KBytes/s)
BDP limit (500ms): 94kbps (12KBytes/s)
MTU Discovery: ON
TTL: 48
Timestamps: ON
SACKs: ON
IP ToS: 00000000 (0)

what should i do first.....
please....

ricardokk22
05-26-09, 01:34 PM
ups sory a bit mistake up here,

this the true my tcpipanalyser:

SpeedGuide.net TCP Analyzer Results
Tested on: 05.26.2009 13:20
IP address: 114.58.xxx.xx
Client OS: Windows Vista

TCP options string: 020402180103030201010402
MSS: 536
MTU: 576
TCP Window: 16616 (multiple of MSS)
RWIN Scaling: 2 bits (2^2=4)
Unscaled RWIN : 4154
Recommended RWINs: 65392, 130784, 261568, 523136, 1046272
BDP limit (200ms): 665kbps (83KBytes/s)
BDP limit (500ms): 266kbps (33KBytes/s)
MTU Discovery: ON
TTL: 103
Timestamps: OFF
SACKs: ON
IP ToS: 00001000 (8)
Precedence: 000 (routine)
Delay: 0 (normal delay)
Throughput: 1 (low throughput)
Reliability: 0 (normal reliability)
Cost: 0 (normal cost)
Check bit: 0 (correct)
DiffServ: No valid DiffServ equivalent (000010)


i need your help desperetly.......
what shoul i do 1st..............
thanks for your helps be4.........

Dale-C
06-19-09, 10:18 AM
Well your MTU is WAY too low and so is your RWIN. Go here: http://www.speedguide.net/read_articles.php?id=2574

And follow what it says.

Danzer
10-04-09, 08:41 PM
Hey guys,

I'm new to this forum and I was wondering if I could get some feedback on my connect speed. I used the TCP Analyzer and this is what I got:

SpeedGuide.net TCP Analyzer Results
Tested on: 10.04.2009 20:26
IP address: 67.182.xxx.xxx
Client OS: Windows 7

TCP options string: 020405b40103030201010402
MSS: 1460
MTU: 1500
TCP Window: 17520 (multiple of MSS)
RWIN Scaling: 2 bits (2^2=4)
Unscaled RWIN : 4380
Recommended RWINs: 64240, 128480, 256960, 513920, 1027840
BDP limit (200ms): 701kbps (88KBytes/s)
BDP limit (500ms): 280kbps (35KBytes/s)
MTU Discovery: ON
TTL: 113
Timestamps: OFF
SACKs: ON
IP ToS: 00000000 (0)

jutezky
11-28-09, 10:58 PM
sir,

can you also help me tweak my broadband..
is vista and windows 7 the same in the sense of running your patch?

new tcp annalyzed values----
SpeedGuide.net TCP Analyzer Results
Tested on: 11.28.2009 06:46
IP address: 110.55.xx.xxx
Client OS: Windows 7

TCP options string: 020405a00103030201010402
MSS: 1440
MTU: 1480
TCP Window: 66240 (multiple of MSS)
RWIN Scaling: 2 bits (2^2=4)
Unscaled RWIN : 16560
Recommended RWINs: 63360, 126720, 253440, 506880, 1013760
BDP limit (200ms): 2650kbps (331KBytes/s)
BDP limit (500ms): 1060kbps (132KBytes/s)
MTU Discovery: ON
TTL: 116
Timestamps: OFF
SACKs: ON
IP ToS: 00000000 (0)

mccoffee
12-08-09, 07:53 PM
The vista patch does the same in vista and in windows 7

100 010 00
12-11-09, 10:38 AM
Philip....., just for win7 and 2008, u can add in patch the NetDMA 2.0, which adds support for Direct Cache Access (DCA)
two ways.........

netsh int tcp set global dca=enabled
[HKEY_LOCAL_MACHINE \SYSTEM \CurrentControlSet \Services \Tcpip \Parameters]
EnableDCA=1

mccoffee
12-11-09, 12:38 PM
Philip....., just for win7 and 2008, u can add in patch the NetDMA 2.0, which adds support for Direct Cache Access (DCA)
two ways.........

netsh int tcp set global dca=enabled
[HKEY_LOCAL_MACHINE \SYSTEM \CurrentControlSet \Services \Tcpip \Parameters]
EnableDCA=1

I was wondering how you set that thanks for the information. I looked it for it when 7 was still beta couldn't find it.

100 010 00
12-11-09, 01:16 PM
i think it is leaked now via internet, just google it. i think that Intel is the researcher of this technology.

mccoffee
12-11-09, 01:43 PM
i think it is leaked now via internet, just google it. i think that Intel is the researcher of this technology.

I saw the intel part of it a while back it did seem like at the time intel was going to make cards/software to fuly utilize that feature thouh I'll re read it again though.

100 010 00
12-12-09, 07:14 AM
btw, enabling dca, internet is running smoothly and especially browsing it seems like you have stored all the webpages in your hard drive and everything runs so quickly, because the response times are 2 low, cause of not using the memory for these operations and the data are being tranfered directly to the CPU . DCA is futuring technology and that means the end of ram's life in a while, but u need latest cpu's for that.

Philip
12-30-09, 09:23 PM
I've added the EnableDCA registry setting to the Vista/7 TCP/IP patch, and updated the tweaking article.

Philip
01-24-10, 04:14 PM
I've updated the Vista/7 TCP/IP patch, added the "netsh int tcp set heuristics disabled" setting as described in this FAQ: http://www.speedguide.net/faq_in_q.php?qid=339 to prevent Windows from overriding user-set autotuninglevel.

100 010 00
01-26-10, 11:10 AM
that was a clever one Philip...... keep on it :thumb:

Hollywood
01-26-10, 04:42 PM
Hi, I'm new here. Just wanted to say I tried out your tweak patch in Windows 7 64 bit and its um ... interesting. Even after I put it on default again, it's still doing the same thing. That being, in uTorrent, it does some um weird things. The good thing is it was suddenly uploading at a speed I haven't seen before on certain torrents. But on the other hand, it doesn't seem to download as fast or connect to seed multiple torrents as easily, it focuses on a few and uploads them more it seems as if. Hmm .. I don't know, I guess I need to learn more about this than just applying a patch. And I'm assuming when I selected return to default in the patch that it's returning it to Win 7's default too?

100 010 00
01-27-10, 01:21 AM
Philip.........? plz shoot him, at the head

100 010 00
02-17-10, 07:49 AM
hi to all members once.......

Philip? take a look to this (http://support.microsoft.com/kb/948066) article. For lag to multimedia and online games. For vista/7. Also a good one


edited: as i tested so far, with throtlling=off(ffffffff) and system responsiveness=20~40 (or 100), i have maximum network performance (specially if u have giga network) and maximum dsl performance. keep in mind that, if u set system responsiveness=100, is the most aggresive value but u will experience multimedia issues (skipping). u mcoffee? tested? any other guy? trogers?

iron2000
02-18-10, 09:40 AM
How can I know if my setup supports Direct Cache Access?

NIC: Atheros L1 Gigabit
Mobo: Asus P5K SE
CPU: C2D 6550
OS: Win 7 Pro x64

100 010 00
02-22-10, 12:45 PM
go here (http://www.speedguide.net/read_articles.php?id=2574)
and read how to do it.

Ei guys, something else, synattack is not working anymore to vista/7/2008

iron2000
02-25-10, 12:40 PM
go here (http://www.speedguide.net/read_articles.php?id=2574)
and read how to do it.

Ei guys, something else, synattack is not working anymore to vista/7/2008


....
Recommended: enabled (provided the CPU/MoBo/NIC support it)
....

The page only shows how to enable DCA but not any way to find out if the setup supports it.

Or is it that the option will not work (cannot be enabled, won't let it be enabled) on an unsupported setup?

budmccarroll
04-14-10, 10:03 PM
Ok, I am a total noob. I made a few changes in Win7 using Cmd. I downloaded TCP patch for V/Win 7 to desktop but it will not allow me to run it as Admin, there is no option when right clicked. I am admin on comp.
Thanks,
Bud

kurac
08-05-10, 08:31 AM
Здраво, ја не су одавде сака да си купа кондурчиња :)

Crew Master
05-07-11, 12:01 AM
Ok, I am a total noob. I made a few changes in Win7 using Cmd. I downloaded TCP patch for V/Win 7 to desktop but it will not allow me to run it as Admin, there is no option when right clicked. I am admin on comp.
Thanks,
Bud
`maybe ur parent control is off