Internet or network application slow? You may need to temporarily disable Nagle’s Algorithm

With the Nagle-Algorithm, Windows takes small packets and packages them in to more manageable and efficient sizes.   If you have poor latency, you might try to disable the Nagle-Algorithm.  Nagle’s algorithm helps to control congestion when small packets are sent continuously by TCP.   When enabled, this helps to prevent a flood of these packets.

More information – http://en.wikipedia.org/wiki/Nagle’s_algorithm

How to disable Nagle’s algorithm-

Open regedit.exe.  Navigate to HKey_Local_Machine\System\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\

Find the interface that has your current IP address (see example below)

Find IP address

Add the following values and make sure they are set to 1.

TcpAckFrequency and TCPNoDelay

Add values

This is only a temporary fix for the reduction of some applications on the internet.  Once your project or need is fulfilled, you should re-enable the algorithm by deleting the keys and rebooting or changing the values.

About TCAT Shelbyville IT Department

The Tennessee College of Applied Technology - is one of 46 institutions in the Tennessee Board of Regents System, the seventh largest system of higher education in the nation. This system comprises six universities, fourteen community colleges, and twenty-six Applied Technology Colleges.
This entry was posted in Technology. Bookmark the permalink.

Leave a comment