Lag Reduction/Improved Latency

03/08/2010 09:05 GoodOldJase#1
Quote:
[Only registered and activated users can see links. Click Here To Register...]Disabling Nagle Algorithm
In a nutshell it was designed for older dial-up modems to prevent online games and other things sending numbers of small packets from hogging up your 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 does, is add up to 200ms to your lag.

More information about [Only registered and activated users can see links. Click Here To Register...]

We can drastically decrease your lag by disabling the 'Nagle Algorithm' with a simple registry change as follows:
[Only registered and activated users can see links. Click Here To Register...]
WinXP/WinV/Win7 32bit/64bit
For all MS Windows OS



  1. Run regedit
    Access this by pressing the Windows Key+R together or Start/Run, type the word regedit
  2. Browse to:
    HKEY_LOCAL_MACHINE \SYSTEM\CurrentControlSet\Services\Tcpip\Parameter s\Interfaces\
  3. In this drop down you will have 1 or more folders with a bunch of numbers and letters; each of those represents a network adapter in your PC.
    Choose your adapter if you know how to identify it.
    Add the following line to all of the folders if you are unsure.[Only registered and activated users can see links. Click Here To Register...]
  4. Add a DWORD named TcpAckFrequency (This is Case Sensitive)
  5. Set the Value of the DWORD to 1
  6. Add a DWORD named TCPNoDelay (This is Case Sensitive)
  7. Set the Value of the DWORD to 1
  8. Reboot your PC!

After this, the Nagle Algorithm will be disabled.

Congratulations!
Now to test if this has made a difference for you, log into 9DVN or any other game you experience lag in, and throw a few buffs or nukes, you should see and feel a huge difference.
Quote:
Automated Scripts
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...][Only registered and activated users can see links. Click Here To Register...]
LLF removes the acknowledgment bundling process so that an acknowledgment is sent immediately for every segment that's received. This produces a significant reduction in latency as there is no longer a delay before new data is sent to your computer.
[Only registered and activated users can see links. Click Here To Register...]
Other methods of Lag Reduction to follow
03/08/2010 11:06 TrustNo1.#2
Nice post +1

I will try this out right now!

@OP The lagg reduce thingi didnt work for me :-( same lagg as before.. idk why I got such good internet + PC >_>
03/08/2010 12:11 C47#3
is this similar to the Leatrix's Latency Fix?
03/08/2010 13:12 GoodOldJase#4
Quote:
Originally Posted by TrustNo1. View Post
Nice post +1

I will try this out right now!

@OP The lagg reduce thingi didnt work for me :-( same lagg as before.. idk why I got such good internet + PC >_>
It's very heavy online at the moment, it's 7pm there!
I have had a huge improvement at least I can do alot more things than locking up all the time; especially around alot of grinders and heavily spammed maps!

Quote:
Originally Posted by C47 View Post
is this similar to the Leatrix's Latency Fix?
LLF is this, just automated, I was going to put it up, but meh!
It only adds the TcpAckFrequency line, not the TCPNoDelay line, so you still have to add this manually.

Edit:
Leatrix Latency Fix Added to Automated Scripts
03/08/2010 16:29 Khaymas#5
Nicely done mate +1
03/08/2010 18:48 TrustNo1.#6
I say it`s impossible to make this Game lagless if your not living in VN.. I bet even if your living there it will lagg.. >_<

Pserver would be gr8 :P

gogo Saweet try to get the source :P
03/10/2010 10:01 ratxxx#7
1 thing..... U LEGAND BRO helped me soooo much shot^^
03/11/2010 21:52 CrashnBurn#8
had the opposite effect on Win7
Once i added it, it would constantly disconnect my 9DUS game.
I never DC in 9DUS, i wasn't even able to stay on for an hour without dcing
03/12/2010 10:38 ZorroXXX#9
i had a great improvment in game,lag reduced very much.ty
03/12/2010 18:03 saweet#10
#added to [Only registered and activated users can see links. Click Here To Register...]

Great tutorial and guides. I really like your attention to detail with formatting your posts
03/13/2010 20:08 kopikopi#11
Great Work mate works well for me thanks
03/14/2010 09:21 florin3211#12
its not workin' for me:((( i've done all the thing from first post ,and there its still lag like before the change

somw can help, me? plss:(
03/14/2010 16:49 saweet#13
#warning for florin3211 - double post
#merged posts
03/15/2010 01:35 skye#14
for those who complaining about lag,it's common if u run the hack with 9d but if u not,then the problem is ping woops high. this is cos we are far from their server. to tell u the truth,my brother runs 9d with 384k speed connection with mid value PC.i never experience lag too it cos i'm near with their server. sorry not trying to off topic or watsoever,just it worthless to ask why i 'm getting lag..........
04/04/2010 10:21 diablo666ro#15
i don't have tcpackfrequency and tpcnodelay ;[

added them :D

let's see

it's okay if i use them both??