• Reduce game network latency in Windows 7 or Vista

    After installing Windows 7 I noticed a slight increase in network latency in several online games. It wasn’t a big deal – I’m talking 200-300ms, but this is on a connection that was reliably < 100ms in the past. Beyond the obvious settings in Windows or on your router, here’s a list of tweaks that may help quite a bit. It involves disabling Nagle’s algorithm, also commonly known as TCP no delay,
    which is basically an optimization of network traffic that tries to reduce overall packet volume but can cause extra latency in the connection. This should work on Windows 7 or Vista, though the same principle can probably applied to other operating systems as well.

    1. From a command prompt (usually in All Programs -> Accessories -> Command Prompt) run “regedit”
    2. Browse to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Tcpip\Parameters\Interfaces
    3. Browse the items under interfaces until you find one that has an IPAddress entry matching the network interface you want to affect (typically LAN IP addresses start with 192.168 or 10.0); note that if your IP address is automatically assigned by a DHCP server you may need to look for a matching DhcpIPAddress instead of IPAddress
    4. Right-click on the interface and select New > DWORD (32-bit) Value, name it “TcpAckFrequency”
    5. Right-click the new TcpAckFrequency value and select Modify, enter “1″ (Hexadecimal radio button should be selected)
    6. Right-click on the interface and select New > DWORD (32-bit) Value, name it “TCPNoDelay” (note that TCP is all uppercase this time – that’s intentional)
    7. Right-click the new TCPNoDelay value and select Modify, enter “1″ (Hexadecimal radio button should be selected)
    8. Verify that both TcpAckFrequency and TCPNoDelay now show up in the adapter’s property list with types REG_DWORD and values 0×00000001
    9. Exit regedit and reboot (reboot is necessary for the changes to take effect!)
    10. Play a game and enjoy your new low ping

    This decreased my ping in most games from 200-300ms to 50-60ms, which matches the latency I would see via a tracert to the game’s server.




    original post.
    Comments 17 Comments
    1. aayman's Avatar
      aayman -
      Sounds really good. I don't play in foreign servers but I'll still keep the tweak applied.
    1. Hamilton's Avatar
      Hamilton -
      does it look like this:
    1. salmanshah's Avatar
      salmanshah -
      wow! It increases my dl speed by 30% ! I don't know if it is permanently increased or not. Didn't check the ping yet.
      My one DHCP server.
    1. Uchiha Obito's Avatar
      Uchiha Obito -
      dunno what will happen....applied it....lets see what happens.
    1. CvP's Avatar
      CvP -
      I believe it's something like this.
      Attachment 3493
    1. Upal-de-choosen1™'s Avatar
      Upal-de-choosen1™ -
      I applied & now let's see
    1. Raihan081's Avatar
      Raihan081 -
      xp te kau apply korso???
    1. Red Devil's Avatar
      Red Devil -
      @raihan, bro confirm plz
      who is r8. CvP or Hamilton??
    1. cRush's Avatar
      cRush -
      Quote Originally Posted by Red Devil View Post
      @raihan, bro confirm plz
      who is r8. CvP or Hamilton??
      UseZeroBroadcast is created automatically if you create the other two. and hamilton isnt right. because he didn't select the appropriate interface.
    1. dipanzan's Avatar
      dipanzan -
      does it work with connection on realIP like SMILE, LINK3??? OMG xO
    1. Upal-de-choosen1™'s Avatar
      Upal-de-choosen1™ -
      Quote Originally Posted by dipanzan View Post
      does it work with connection on realIP like SMILE, LINK3??? OMG xO
      I have smile & I applied it.But didn't feel any difference. :S
    1. dipanzan's Avatar
      dipanzan -
      Quote Originally Posted by {upal-the-choosen1} View Post
      I have smile & I applied it.But didn't feel any difference. :S
      -_____- so much for decreasing pings ;{
    1. CvP's Avatar
      CvP -
      Quote Originally Posted by dipanzan View Post
      -_____- so much for decreasing pings ;{
      this is not some magical hocus pocus that will decrease ping.
      it brings down your ping IF your ping is higher than normal because of that algorithm.

      if you are sending large packets, that algorithm is not applied.
      if you are sending small packets very frequently, that algorithm will hold off the packets and send them at once thus increasing your latency.
      this is the time where you'll gain something if you are not using this algorithm.
    1. avas911's Avatar
      avas911 -
      Verify that both TcpAckFrequency and TCPNoDelay now show up in the adapter’s property list with types REG_DWORD and values 0×00000001
      How do i do this...i cant seem to find it on the adapters properties or on any page...:S
    1. Codex's Avatar
      Codex -
      Firstly,
      this is an what-if situation, there's no guarantee that this will successfully reduce your pings/latency/what-not.
      It works for some people(The situation has been explained clearly by Cvp, more or less), and doesn't for others.
      and as he said 'Try this if your latency in 7 is higher than what it used to be before', so if yours is already fine(i.e: same as the one shown in cmd's ping command), you have nothing to worry about.
    1. dipanzan's Avatar
      dipanzan -
      Quote Originally Posted by CvP View Post
      this is not some magical hocus pocus that will decrease ping.
      it brings down your ping IF your ping is higher than normal because of that algorithm.

      if you are sending large packets, that algorithm is not applied.
      if you are sending small packets very frequently, that algorithm will hold off the packets and send them at once thus increasing your latency.
      this is the time where you'll gain something if you are not using this algorithm.
      haha, I thought with this I could play on some foreign servers, my bad sorry CvP!
    1. bond_08's Avatar
      bond_08 -
      great job man.....thnx a lot.....it workked 4 me
Page generated in 0.49505 seconds with 62 queries.