Nagle's algorithm, named after John Nagle, is a means of improving the efficiency of TCP/IP networks by reducing the number of packets that need to be sent over the network.
Nagle's document, Congestion Control in IP/TCP Internetworks describes what he called the "small packet problem", where an application repeatedly emits data in small chunks, frequently only 1 byte in size. Since TCP packets have a 40 byte header (20 bytes for TCP, 20 bytes for IPv4), this results in a 41 byte packet for 1 byte of useful information, a huge overhead. This situation often occurs in Telnet sessions, where most keypresses generate a single byte of data that is transmitted immediately. Worse, over slow links, many such packets can be in transit at the same time, potentially leading to congestion collapse
Nagle's algorithm works by combining a number of small outgoing messages, and sending them all at once. Specifically, as long as there is a sent packet for which the sender has received no acknowledgment, the sender should keep buffering its output until it has a full packet's worth of output, so that output can be sent all at once.
This algorithm tends to increase your latency in game connections while it groups together smaller TCP messages into larger ones. Disabling this will lower your latency (ping), however it will increase your overall network traffic and may slightly slow down your download speeds for large files.
Option 1 - Install using Leatrix Latency Fix
Visit this
and follow the instructions there.Option 2 - Manually edit Windows Registry
Code:
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 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 3. Right-click on the interface and select New > DWORD (32-bit) Value, name it “TcpAckFrequency” 4. Right-click the new TcpAckFrequency value and select Modify, enter “1″ (Hexadecimal radio button should be selected) 5. 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) 6. Right-click the new TCPNoDelay value and select Modify, enter “1″ (Hexadecimal radio button should be selected) 7. Verify that both TcpAckFrequency and TCPNoDelay now show up in the adapter’s property list with types REG_DWORD and values 0×00000001 8. Exit regedit and reboot (reboot is necessary for the changes to take effect!) 9. Play a game and enjoy your new low ping
Defrag your harddrive - (NonSSD)
Defrag puts your files into contiguous memory blocks so that your hdd is not seeking back and forth across the whole drive to find files. Defrag your Windows Partition, S4 Partition, PageFile Partitions
Free Defrag Program:

Update Graphics card driver
Ensures your graphics card is running at optimal performance. Check for newer Beta Drivers as well.
Clean your PC!
Literally clean it, blow out dust from vents and keep them clear. Dust will really slow you down more than you think.
Place the game on your fastest RPM harddrive
This will improve your game load times and file access while playing. If you have an SSD, put the client on it.
Clean the Crap!
CCleaner (Crap Cleaner) is a great tool to scan and clean your registery as well as remove temporary and junk files cluttering up your system. Use it:

Clean up Autostart
Get rid of unneeded programs that are set to automatically run when you start up your computer.
Code:
1. Start menu -> run (or Win+R) 2. Type 'msconfig' 3. Navigate to the 'Bootup/Systemstart' tab 4. Uncheck all programs not absolutely necessary!
Playing the game in fullscreen will help improve performance with older graphics cards.
Set process-priority to "HIGH" if playing FullScreen
Only set the process-priority to High if you are playing in FullScreen. If in windowed mode leave it at Normal.
Win7/8 - Disable CoreParking
Code:
1. Start->Run (or Win+R) 2. type "regedit" 3. Go to "Edit" -> "Search" (or CTRL+F) 4. Uncheck: Data 5. Seach for (without Quotes): "0cc5b647-c1df-4637-891a-dec35c318583" 6. You will find: "ValueMax" and "ValueMin" 7. Within this key, there is a value called: "ValueMax". This value represents the % number of cores the system will park - the default 100% ie: all Cores are potentially park-able 8. Change the value from 64 to 0 so the " ValueMin " and " ValueMax " are both zero 9. You will have to find the key a few times and repeat the process for each time it is found - the number of instances will depend on the number of power profiles in your system 10. Do a full shutdown and power-off and cold-re-start
Code:
1. Start->Run (or Win+R) 2. type "regedit" 3. Go to: "Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile" 4. Open Key: "NetworkThrottlingIndex" 5. Change the value to: "FFFFFF" (hex)






