Page 1 of 1

How to disable nagling on Windows 7?

Posted: Tue May 05, 2009 3:51 am
by xanaxfan
Hey!

I'm using Windows 7 build 7100 atm, and my problem is I can't reduce my latency in WoW.
On the same computer with the same internet connection I had like 100 ms lower latency with Win Xp.
I've tried everything I could. I disabled all protocolls but TCP/IP I made every possible change in the network card parameters. (It worked btw, before these changes the latency was sky high.)
I also modified the registry, like on Xp and Vista, but at least as I see, it's doing nothing.

Any ideas? :confused:

Posted: Tue May 05, 2009 6:10 am
by Emerson222
xanaxfan wrote:Hey!

I'm using Windows 7 build 7100 atm, and my problem is I can't reduce my latency in WoW.
On the same computer with the same internet connection I had like 100 ms lower latency with Win Xp.
I've tried everything I could. I disabled all protocolls but TCP/IP I made every possible change in the network card parameters. (It worked btw, before these changes the latency was sky high.)
I also modified the registry, like on Xp and Vista, but at least as I see, it's doing nothing.

Any ideas? :confused:
Windows 7 is just like Windows Vista, just extremely improved upon. The TcpNoDelay registry tweak doesn't work with vista(I've tried it too, and it doesn't work. Feel free to correct me if I'm wrong).

-Anyways, to get the same effect as the TcpNoDelay tweak do the following:

This setting configures the maximum number of outstanding ACKs in Windows XP/2003/Vista/2008:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{NIC-id}
There will be multiple NIC interfaces listed there, for example: {1660430C-B14A-4AC2-8F83-B653E83E8297}. Find the correct one with your IP address listed. Under this {NIC-id} key, create a new DWORD value:
TcpAckFrequency=1 (DWORD value, 1=disable, 2=default, 2-n=send ACKs if outstanding ACKs before timed interval. Setting not present by default).

For gaming performance, recommended is 1 (disable). For pure throughput and data streaming, you can experiment with values over 2. If you try larger values, just make sure TcpAckFrequency*MTU is less than RWIN, since the sender may stop sending data if RWIN fills witout acknowledgement.

Here's a youtube tutorial on how to do it:

http://www.youtube.com/watch?v=XbWQnvytvqk

Enjoy!

Posted: Tue May 05, 2009 6:57 am
by xanaxfan
Emerson222 wrote:Windows 7 is just like Windows Vista, just extremely improved upon. The TcpNoDelay registry tweak doesn't work with vista(I've tried it too, and it doesn't work. Feel free to correct me if I'm wrong).

-Anyways, to get the same effect as the TcpNoDelay tweak do the following:

This setting configures the maximum number of outstanding ACKs in Windows XP/2003/Vista/2008:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{NIC-id}
There will be multiple NIC interfaces listed there, for example: {1660430C-B14A-4AC2-8F83-B653E83E8297}. Find the correct one with your IP address listed. Under this {NIC-id} key, create a new DWORD value:
TcpAckFrequency=1 (DWORD value, 1=disable, 2=default, 2-n=send ACKs if outstanding ACKs before timed interval. Setting not present by default).

For gaming performance, recommended is 1 (disable). For pure throughput and data streaming, you can experiment with values over 2. If you try larger values, just make sure TcpAckFrequency*MTU is less than RWIN, since the sender may stop sending data if RWIN fills witout acknowledgement.

Here's a youtube tutorial on how to do it:

http://www.youtube.com/watch?v=XbWQnvytvqk

Enjoy!
I did this also, does nothing, or at least seems to do nothing for me.

Posted: Tue May 05, 2009 7:26 am
by Emerson222
xanaxfan wrote:I did this also, does nothing, or at least seems to do nothing for me.
Strange. Did you restart your computer? This tweak requires a restart to take effect.

The only thing I can think of is I know there can be multiple folders in the interfaces directory. Try putting TcpAckFrequency in each {NIC-id} folder. You maybe putting the TcpAckFrequency dword in the wrong folder, I've heard of people doing that before.

There is also a chance Windows 7 doesn't allow this tweak anymore, but I highly doubt that.

Posted: Tue May 05, 2009 4:15 pm
by xanaxfan
Well it is simply not working.. :(
Any other ideas?

Posted: Mon May 11, 2009 8:09 am
by Sirkusphreak
I'm looking for a fix as well. Its kind of annoying to know my computer can get better latency but for some reason it just isn't.

I'm going to keep digging though and if i find anything i'll hopefully remember to post my findings here.

I mean my latency isn't bad or anything, but the game just feels soooo much more responsive when you're at 70ms as opposed to 180 or 240.

Posted: Mon May 11, 2009 2:57 pm
by retired1af
For Windows 7, use this tutorial. (Works for Vista as well.) http://www.youtube.com/watch?v=aKV4iHvdR2M

There's a couple of extra steps you need to accomplish other than adding TcpAckFrequency.

My ping has been cut in half for WoW, and I'm about to check LOTRO to see if there's an improvement there as well. :)

Posted: Fri May 22, 2009 9:46 am
by kuvja
Did you fixed it?

I am having the exact same problem, although from another game.

Did everything suggested without success.

Posted: Sat May 23, 2009 10:36 am
by Chrysalis
should work in windows 7, unless microsoft removed the feature between vista and windows 7.

Posted: Thu May 28, 2009 4:57 pm
by dmallory
I've written up some steps similar to this video which reduced my latency greatly under Windows 7:

Reduce game network latency in Windows 7 or Vista

Posted: Tue Jul 06, 2010 6:05 pm
by swomack
dmallory wrote:I've written up some steps similar to this video which reduced my latency greatly under Windows 7:

Reduce game network latency in Windows 7 or Vista
This fix doesn’t work on Windows 7. It is the same fix that people have put out for Windows XP and thought that you could utilize it in Windows 7 as well. I’ve even gotten wow addons that were supposed to fix latency issues to the point of ignoring people who use gearscore and my latency still goes between 200-400ms and disconnects me.

Posted: Wed Jul 07, 2010 5:40 pm
by Philip
You can disable Nagling in Windows 7, we have it detailed in our Windows 7/Vista tweaking article here: http://www.speedguide.net/read_articles.php?id=2574

Whether that is the source of your latency in general is another story... While disabling Nagling may help with some games like WoW, it can also have some negative impact on throughput in general.

Posted: Thu Jul 08, 2010 4:21 am
by 100 010 00
disable network throtttling........... reboot.......... test !

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile]
"NetworkThrottlingIndex"=dword:ffffffff ......

if nothing get change the default value i think is 10 (dword:0000000a)