Tuesday, September 11, 2012

Reduce Gaming Latency (Ping) in Windows

When I connect to game servers I usually do not have a bad ping, provided that automatic match making is not connecting me to a server in Australia, Japan or the US (I?m from Germany). That happens at times, both in Team Fortress 2 and in Counter Strike Global Offensive, the two games that I play the most currently. I do play a lot with friends and notice that their pings are usually a lot worse than mine. I used to attribute this solely to their Internet connection and did not really think that connection tweaks would change much in this regard.

Then I read about two Registry settings, TCPAckFrequency and TCPNoDelay, and how they can bring down the ping in games and other applications that work best with low latencies. If you are a gamer and experiencing lag issues when connected to a close-by server, you?d may want to try tweaking those two settings to see if this makes your gaming experience more enjoyable.

TCPAckFrequency ?uses delayed acknowledgments to reduce the number of packets that are sent on the media?.? Instead of sending an acknowledgment each time, acknowledgments are delayed.

TCPNoDelay determines whether nagling is enabled or disabled. Nagling ?is a feature that combines several packets into a single, larger packet for more efficient transmissions?.

This reduces the overall load on the network to optimize network traffic. The drawback is that latency may increase because of it. If you are using your PC mostly for gaming, or experiencing issues with lag in games, then you may want to see if turning off those features improves gaming latency on your end.

Fixing game lag

You need to make two changes to your Windows Registry.

  • Use Windows-R to bring up the run box on the system.
  • Type in regedit here and tap on the enter key
  • Navigate to the following Registry key here using the tree-like structure on the left: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Tcpip\Parameters\Interfaces
  • Here you need to go through the list of sub-keys to locate the network adapter entry that is used to connect to the Internet. If you are using DHCP, you need to look for DhcpIPAdddress here to find the correct adapter, otherwise you need to look for IPAddress here.
  • Most of the entries did not contain any useful data on a test system, so that finding the right one should be relatively easy.
  • If you do not know your local IP address do the following to find it out: Use Windows-R to bring up the runbox, type in cmd and hit enter. Here you then need to enter ipconfig to display the IP address.
  • Once you have located the correct key right-click it and select New > Dword (32-bit) Value.
  • Name it TcpAckFrequency and click ok.
  • Double-click the value afterwards and set its value to 1. (To restore the default setting, change the value to 2 or delete the key)
  • Now navigate to the following key: HKEY_LOCAL_MACHINE\Software\Microsoft\MSMQ\Parameters
  • Right-click on the key again and select New > Dword (32-bit) Value.
  • Name the new parameter TCPNoDelay
  • Double-click it afterwards and change its value to 1. (To restore the key at a later point in time change it to 0 or delete the key)

reduce game lag ping

All that is left now is to reboot the PC, log off and on again, or kill and restart the explorer.exe process.

The effect depends a lot on the games you play, your Internet connection, and the servers you connect to. There have been reports by users who claimed that this reduced their ping times by 100ms and more in games they play.

Enjoyed the article?: Then sign-up for our free newsletter or RSS feed to kick off your day with the latest technology news and tips, or share the article with your friends and contacts on Facebook, Twitter or Google+ using the icons below.
Ping Info View, Ping Multiple Host Names, IP Addresses
The $500 Gaming Machine
Laptop GMA Gaming Accelerator
Facebook Friendly Gaming Simplifier For Firefox, Chrome
Linux Gaming: 20,000 Light-Years Into Space


About the Author:Martin Brinkmann is a journalist from Germany who founded Ghacks Technology News Back in 2005. He is passionate about all things tech and knows the Internet and computers like the back of his hand. You can follow Martin on Facebook or Twitter.

Author: Martin Brinkmann, Monday September 10, 2012 -
Tags:Games, windows tips
Categories: Tutorials Basic, Windows


Source: http://www.ghacks.net/2012/09/10/reduce-gaming-latency-ping-in-windows/

david wilson playstation all stars battle royale kim zolciak kim zolciak quinton coples a.j. jenkins riley reiff

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.