PDA

View Full Version : How to fix dem pesky lag spikes



for the lulz
01-09-2014, 10:22 AM
***Chrome users only***
alright , Il try to make this guide as noob friendly as possible , hope it helps u improve your ping .

hello im Dualsplicer ! If u have seen me in game u wud know that i pvp alot and i suck at it . This was partly cus i experienced alot of lag spikes . Now i get a constant ping of 300-400 and if the lag gods are feeling kind i get a green 180 .

I came across this somewhere and it worked for me , iv been thinking of ways to reduce lag . Pls do only what i do and Dont make any other changes unless you know exactly what you are doing ! ( i cant stress this enough )

this works for pretty much any online game.

Step 1-

if u are using windows 8 or windows 7 search
"REGEDIT"
if you are using a previous version of windows then click run


58254

this is what you will see when u open it up

step 2:

this is a tricky area cus theres alot of scary looking technical stuff .
il just tell u what u click on , they will open up sub uhh sections :
>
HKEY_LOCAL_MACHINE > SYSTEM > CurrentControlSet > Services > Tcpip > Parameters > Interfaces

58255

Step 3 :

under interfaces you are gonna see these :

58257

now ur gonna click on everyone one of these cus one of them has something called "DhcpIPAddress" click on that thing as soon as u see it cus they all look alike and it can be very confusing .
ONCE u click on it ur gonna see this -

58261

change the value from 0.0.0.0 to your IPv4 Address [you can find out what this is by ) :
clicking on start and running command prompt or you can just type cmd in run
Once it opens up type in "ipconfig"

58259

copy your ipv4 address into the value area .

Step 4

once your done with that right click in that directory and click new > D word
name it exactly "TcpAckFrequency"
click on it , and check hexadecimal , fill in a value of 1

58260


Step 5 :
now u need to go back to the beginning , so scroll up to HKEY_LOCAL_MACHINE and click on the following :

HKEY_LOCAL_MACHINE > SOFTWARE > MICROSOFT > MSMQ > parameters [NOTE: If your MSMQ folder doesnt open up then skip this step!]

now create another D word here named TCPNoDelay and set it to a hexadecmal value of 1 like before .

again , if your msmq folder doesnt expand then this step isnt required .



Restart your system for the changes to take effect :) i hope this was useful to some of you

Tizzle
01-09-2014, 10:28 AM
I'll give this a go. I have also a simple one I can post here

Sent from my Evo V 4G using Tapatalk

Samhayne
01-09-2014, 11:01 AM
Really really be careful monkeying with your registry. If you mess it up, are you prepared to reinstall your OS?

for the lulz
01-09-2014, 12:29 PM
Really really be careful monkeying with your registry. If you mess it up, are you prepared to reinstall your OS?

58274

largecommand
01-09-2014, 01:45 PM
For some reason when I saw 0.0.0.0, it reminded me of my DnS server.

But I wil give this a go and see if it works.

Tizzle
01-10-2014, 06:02 PM
Works for me. I can see the difference is smoothly. Constant ping 87

Sent from Plasma Pyramid

ign Boss
09-02-2014, 06:00 PM
Interesting


ign Allhail

humblebear
09-02-2014, 09:12 PM
Ok, correction added, more information this time. I also missed few steps too. Sorry for previous incorrect post.

I have tried it and it is a SUCCESS!

Result is stable ping value (not less though) but no spiked lags. If lag hits it means disconnect.

It also improves download speed on normal web browsing too, about 50% to 100% faster.

I have added two DWORD values and left DhcpIPAddress intact.

To repeat what I have done.

1.
In HKEY_LOCAL_MACHINE > SYSTEM > CurrentControlSet > Services > Tcpip > Parameters > Interfaces
Browse through list of keys on the left pane until get to the working adapter which shows your current DhcpIPAddress (not 0.0.0.0) on the right pane.
Add DWORD named TcpAckFrequency and give it hex value of 1.
Add DWORD named TCPNoDelay and give it hex value of 1.

2.
Restart PC.

But I have already undone this hack because

This hack is great for high speed noise-free internet.

Default TcpAckFrequency is 2, makes it 1 mean sending ACK after receiving every packet this generates extra traffic. For noisy connection (i.e. wifi) it may lead to lots of useless ACK. But for healthy connection this may lower your ping up to 200ms. Good choice.

Default TCPNoDelay is 0 (=disable), makes it 1 (=enable) mean data of any size will be sent immediately (by default Windows will combine few small size data packets into one big data packet for sending). This is good for real-time response programs like MMoRPG games i.e. PL. For playing PL I recommend enable this feature. Its downside is lower performance on download application programs.

In conclusion if you have high speed noise-free internet, this hack is worth a try. For noisy internet it is a NO-NO! Between this two I hope you have information enough to make decision.

Good luck.