Possible Fix for Latency Issues

Anything goes!
Post Reply
Arinoth
Registered Member
Posts: 20
Joined: Jul 15, 2008

Possible Fix for Latency Issues

Post by Arinoth »

I found this post:


Bewarned, I wouldn't recommend this if you're not fully comfortable with playing with your registry settings, though the walkthrough makes it faily idiot proof.


__________Walkthrough______________

The fix which only requires you to change 2 small things in the windows registry allows your ping in World of Warcraft to drop by 100-150, and it only takes about 5 minutes to apply.

Warning:

If you aren’t comfortable changing files in your registry you may just want to wait for blizzard to create a working fix.

1 - TcpAckFrequency:

NOTE; if you are running Windows Vista this setting may not have any effect - a hotfix is needed which i’m tracking down. This works fine under Windows XP

Type “regedit” in windows “run..” dialog to bring up registry menu

Then find:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic
es\Tcpip\Parameters\Interfaces\


There will be multiple NIC interfaces listed in there, find the one you use to connect to the internet, there will be several interfaces listed (they have long names like {7DBA6DCA-FFE8-4002-A28F-4D2B57AE8383}. Click each one, the right one will have lots of settings in it and you will see your machines IP address listed there somewhere. Right-click in the right hand pane and add a new DWORD value, name it TcpAckFrequency, then right click the entry and click Modify and assign a value of 1.

You can change it back to 2 (default) at a later stage if it affects your other TCP application performance. it tells windows how many TCP packets to wait before sending ACK. if the value is 1, windows will send ACK every time it receives a TCP package.

2 - TCPNoDelay:

Type “regedit” in windows “run..” dialog to bring up registry menu

Then find:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSMQ\Paramet
ers

Right-click in the right hand pane and add a new DWORD value, name it TCPNoDelay, then right click the entry and click Modify and assign a value of 1.

Click Ok and close the registry editor, then reboot your PC.”

Basically, this fix is deactivating the Nagle algorithm to improve your ping. If you don’t want to do it you can just wait for the 2.3.2 patch as it’s supposed to deactivate it too, but I don’t think you can test it on PTRs right now because the updated patch notes from the latest PTR Build (7705) are actually for the upcoming build (7710).



[EDIT] Some people it seems don't have a MSMQ entry in their registry. You will need to add it, to do this the simplest way is to copy/paste the below code into a empty text file, and save it as a .reg file (just call it msmq.reg). Once done right click the file and select MERGE and click yes to the box that follows.



Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSMQ]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSMQ\Paramet ers]
"TCPNoDelay"=dword:00000001

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSMQ\Paramet ers\OCMsetup]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSMQ\Paramet ers\Security]
"SecureDSCommunication"=dword:00000000

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSMQ\Paramet ers\setup]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSMQ\Setup]



People say it works reduces it about by 200 or so. i dont know what any of it means or tried it. If u dont know what ur doing then dont mess with it. I dont want a blame.
Arinoth
Registered Member
Posts: 20
Joined: Jul 15, 2008

Post by Arinoth »

NOTE

This fixed my latency issue i had when i came to this realm, i was running at 300-400ms constantly, it dropped me down to being the highest at 250ms, i am now around 90-200ms, which is what i normally run on every other server.[/b]
User avatar
Tsikura
Administrator
Posts: 3043
Joined: Sep 10, 2005
Location: New York City
Contact:

Post by Tsikura »

I know you mentioned this to Vathral but the lag most people get is from Time Warner and its a terrible routing issue. We get this type of lag like 3 days out of the month so its not that big of a deal.

Also, this really wouldn't hurt since Nagle algorithm does suck especially when many packets are being handled.
Arinoth
Registered Member
Posts: 20
Joined: Jul 15, 2008

Post by Arinoth »

I look at it, that its better then nothing, it may not fix the problem, but maybe just make it suck a little less, lol
Kordolin
Legacy
Legacy
Posts: 1787
Joined: Sep 14, 2005
Location: Atlanta, GA

Post by Kordolin »

This helps with reducing latency, but will not reduce the timing/frequency/etc. of disconnects.

If anything, based on threads I've read about it it actually increases the amount you'll d/c if you already have problems. However, if you already have a stable connection and apply this 'fix,' you'll more than likely see your latency cut in half.

Most d/c's are packet loss at various ISP routers or some other stuff, so making your PC acknowledge TCP packets more frequently won't help that. I'm not an expert by any means, but this is what I have gathered from looking into it and trying it myself.

But by all means, if you've got a stable connection it definitely will reduce your latency and I recommend it.
Sit vis vobiscum.
May the dp/dt be with you.

- Support Muphrid! World of Mechanicscraft | Scaling Mechanics
- Complete Mage Compendium
- Proven Mage Theorycrafting
Kordolin
Legacy
Legacy
Posts: 1787
Joined: Sep 14, 2005
Location: Atlanta, GA

Post by Kordolin »

Also, here's what I used to walk myself through it. If you're worried/scared about messing with your registry (and if you're not familiar with it you should be worried), this makes it even more idiot-proof.

[youtube][/youtube]
Sit vis vobiscum.
May the dp/dt be with you.

- Support Muphrid! World of Mechanicscraft | Scaling Mechanics
- Complete Mage Compendium
- Proven Mage Theorycrafting
Post Reply