Reducing latency for games

News, hints and help about Software or Hardware related information.
User avatar
[RC]Hunter
Site Admin
Sergeant
Sergeant
Posts: 2376
Joined: Fri Apr 04, 2008
Location: Hue City
Favorite Server: All of them
Has thanked: 3 times
Been thanked: 19 times
Germany

Networker

Contributor

Membership

=]RC[= Hunter’s avatar
Loading…

16 Jun 2011, 15:25

Reducing latency for games:

When you play in a network (local or Internet), the latency is very important. It corresponds to the response time between when you press a button or move the mouse and when the desired action is executed in the game by default, Windows combines small packets into one before sending (algorithm Nagle). By disabling this feature, small packets will be transferred immediately, without delay, thus reducing your latency.

Caution, this can slow down your file transfers. To implement so when you want to play network games and just after your downloads. Note that this operation is valid for Windows Vista (with SP1) and Windows 7.
  • Click the Start button. In the Search field, type the command regedit.
  • Click the right mouse button on the program regedit.exe and select Run as administrator.
  • Unroll the HKEY_LOCAL_MACHINE, SYSTEM, CurrentControlSet, Services, Tcpip, Parameters, Interfaces.
  • Then open the key) (NIC NIC which is the identifier of your network card. To find the right key, open them all, but is that where your local IP address is specified (if you do not know, use the ipconfig command )
  • Click the Edit menu, click New then DWORD Value 32bit.
  • Name the new value TcpAckFrequency and double click it.
  • Enter 1 in the Value Data field and click OK.
  • Pull the key from HKEY_LOCAL_MACHINE, SOFTWARE, Microsoft, MSMQ.
  • Click the Edit menu, click New then click Key.
  • Name the new key Parameters.
  • Click the Edit menu, click New then DWORD Value 32bit.
  • Name the new value TCPNoDelay and double click it.
  • Enter 1 in the Value Data field and click OK.
  • Finally close the registry editor and reboot your computer to apply changes.


=]RC[= Hunter
skill is not an unlock ... see ya on the battlefields

Image * Image * Image * Image
User avatar
iD
Staff Sergeant
Staff Sergeant
Posts: 393
Joined: Thu Apr 10, 2008

21 Jun 2011, 23:37

hmm, guess the max i can get out of this is maybe less than 5ms ping decrease. anyone tried that out yet?


User avatar
[RC]Hunter
Site Admin
Sergeant
Sergeant
Posts: 2376
Joined: Fri Apr 04, 2008
Location: Hue City
Favorite Server: All of them
Has thanked: 3 times
Been thanked: 19 times
Germany

Networker

Contributor

Membership

=]RC[= Hunter’s avatar
Loading…

22 Jun 2011, 16:27

Nothing to do with ping ... latency reduction should cause less lagg, if your own connection/pc/system is responsible for it.

I applied it to a machine of mine being less valuable for a decent game play of bc2, before I had more issues running the soldier on the battlefield fluently if the server was half populated. Not to speak about a full qualified 32 slot box ... however since the change I notice a better behavior of the game on this particular pc.

These kind of system changes (among the others I posted) should only be tested or applied by players believing into a required improvement of their current gamer boxes. If you do in general not experience any performance issues, simply do not touch your running system.
;)


=]RC[= Hunter
skill is not an unlock ... see ya on the battlefields

Image * Image * Image * Image
User avatar
[RC]Hunter
Site Admin
Sergeant
Sergeant
Posts: 2376
Joined: Fri Apr 04, 2008
Location: Hue City
Favorite Server: All of them
Has thanked: 3 times
Been thanked: 19 times
Germany

Networker

Contributor

Membership

=]RC[= Hunter’s avatar
Loading…

22 Jun 2011, 16:32

Forgot to add,
... if you get back to me moaning about laaaaagggggg this is what you are going to get as an answer:

<center>
[img]http://www.clusterwars.net/userpix/2_lagg_1.jpg[/img]
</center>

;)


=]RC[= Hunter
skill is not an unlock ... see ya on the battlefields

Image * Image * Image * Image
User avatar
iD
Staff Sergeant
Staff Sergeant
Posts: 393
Joined: Thu Apr 10, 2008

23 Jun 2011, 21:50

LOL :lol:


Post Reply