Swing Lag Fix

Nagle’s algorithm combines several small packets into a single, larger packet for more efficient transmissions. This is designed to improve throughput efficiency of data transmission. Disabling “nagling” can help reduce latency/ping in some games. Nagle’s algorithm is enabled in Windows by default.

To implement this tweak, modify the following registry keys.

For the {NIC-id}, look for the one with your IP address listed. Under this {NIC-id} key, create the following DWORD (32-bit) value:

TcpAckFrequency and set it to 1 to disable “nagling” for gaming.
TCPNoDelay and set it also to 1 to disable “nagling”
TcpDelAckTicks and set it to 0

If you start having lag after these changes, Delete TcpDelAckTicks.  If that still doesn't fix the problem, delete TCPNoDelay, and then TcpAckF.  These changes are CPU intensive and can be detrimental on old, old laptops.

If you notice no change at all, try running in Administrator Mode, then apply the changes.  Remember, this doesn't boost your internet speed or "fix" lag.  It simply disables the 0 to 200ms delay that Windows adds to packet sends, "for more efficient network communication".

If you are experiencing a lag spike, every 60 seconds, your NIC is most likely being overloaded.  Windows likes to search for new wireless connections every 60 seconds and some cards can't handle this.  Here is how to fix it.

Go to Run > Services > Sort by Name > Find "WLAN AutoConfig" > Right Click and go to Properties > Set Startup Mode to Disabled and Press Stop.

If you rely on a wireless connection, your computer will continue to connect to the same connection with no problem, if you are set to auto connect.  If you want to connect to a new network or your SSID changes,  you'll have to re-enable WLAN AutoConfig.  Simply follow the steps above, click Start, connect to the new network, check connect automatically, then come back here and disable again.  You may need to restart your computer to see the changes.