CurvedSpace Forums: Want to lower your latency? - CurvedSpace Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Want to lower your latency?

#1 {lang:macro__useroffline}   Jake {lang:icon}

  • Senior Member
  • Icon
  • {lang:view_blog}
  • Group: Moderator
  • Posts: 4,637
  • Joined: 24-October 04

Posted 13 May 2008 - 06:50 PM

QUOTE
The issue is something known as the "Nagle Algorithm". Anyways I'll keep it simple, this algorithm was created years ago as a way of allowing a steady stream of data to use low bandwidth. It was designed for older dial up modems to prevent online games and other things sending large numbers of small packets from filling up your entire bandwidth sending "ACK Packets". What this does is automatically delay your computer from responding to a single packet by 200ms which allows your computer to respond to multiple packets at once using less bandwidth. What this essentially does, is add up to 200ms to your lag. If you want to know more, do some googling; I don't want to bore you.

Anyways, if you are on a modern broadband connection, you can improve your lag by disabling this algorithm. I am unsure of how to do this in Windows Vista, but in Windows XP it is a simple registry edit.

1. Run Regedit (start < run < regedit.exe)
2. Browse to HKEY_LOCAL_MACHINE \SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\
3. It gets tricky here, there be a bunch of Folders with letters and numbers under this Key, you need to find the one that is your network adapter. Browse them one at a time and look for the ones with similar settings to your network, such as if you have an IP address or a Gateway manually set. If you are unsure, you could always just try adding the line to all of them.
4. Add a DWORD named "TcpAckFrequency" This is Case Sensitive. If it is already there, skip to step 5.
5. Set the Value of the DWORD to 1
6. Reboot your PC

After this, the Nagle Algorithm will be disabled.

For more information read: http://smallvoid.com...-algorithm.html


It can also prime your load cashes and boost your desktop wallpaper.

Seriously though, the only downside is that games take up about twice as much bandwidth. But if you're not on 56k dialup this shouldn't be a problem.
0

#2 {lang:macro__useroffline}   Jake {lang:icon}

  • Senior Member
  • Icon
  • {lang:view_blog}
  • Group: Moderator
  • Posts: 4,637
  • Joined: 24-October 04

Posted 14 May 2008 - 05:49 PM

I am amazing. I'm noticing significantly less lag.
0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users