• Welcome to Smashboards, the world's largest Super Smash Brothers community! Over 250,000 Smash Bros. fans from around the world have come to discuss these great games in over 19 million posts!

    You are currently viewing our boards as a visitor. Click here to sign up right now and start on your path in the Smash community!

Possible Lag Solution

Kogarashi

Smash Cadet
Joined
Dec 23, 2008
Messages
27
Location
Deer Park, Texas
Just a slight warning, please be careful editing your registry. DO NOT change any values you are unsure of. Just creating this value and setting it will not cause any harm, but messing with other things could.

There are no side effects to this fix other then a slight increase in how much data is sent. It is negligible if you are on any sort of broadband connection.

This is not a joke. I have been suffering from major lag for a long time, and I have FOUND the problem.

The issue is something known as the "Nagle Algorithm". Anyways I'll keep it simple, this algorithm was created years ago as a way of allowing a steady stream of data to use low bandwidth. It was designed for older dial up modems to prevent online games and other things sending large numbers of small packets from filling up your entire 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 essentially does, is add up to 200ms to your lag. If you want to know more, do some googling; I don't want to bore you.

Anyways, if you are on a modern broadband connection, you can DRASTICALLY improve your Mabinogi lag by disabling this algorithm. I am unsure of how to do this in Windows Vista, but in Windows XP it is a simple registry edit.

1. Run Regedit
2. Browse to HKEY_LOCAL_MACHINE \SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\
3. It gets tricky here, there be a bunch of Folders with letters and numbers under this Key, you need to find the one that is your network adapter. Browse them one at a time and look for the ones with similar settings to your network, such as if you have an IP address or a Gateway manually set. If you are unsure, you could always just try adding the line to all of them.
4. Add a DWORD named TcpAckFrequency This is Case Sensitive. If it is already there, skip to step 5.
5. Set the Value of the DWORD to 1
6. Reboot your PC

After this, the Nagle Algorithm will be disabled.

Bakuryu made this image guide to help people who are having trouble:


If you wish to test your lag, the best way to do it is by casting the Healing spell. Try casting all 5 charges of your healing spell before this fix, then after. I guarantee you'll cast them twice as fast after this fix if you have had lag issues or are living on the east coast.

For more information read: The TCPIP nagle algorithm can slow down network | Network | Smallvoid.com

I was ready to quit this game due to lag issues until I found this. Now all of my problems have completely gone away.

PS, this fix requires Windows XP Service Pack 2. I'm told this fix also works for Vista if you have the hotfix or SP1 listed in the article.

This fix has a drastic effect, much greater then TCP Optimizer. Please share if it was helpful to you!

If you need the Vista hotfix, you may find direct links here:
mattgadient.com » Blog Archive » KB935458 v2 - Vista hotfix for TcpAckFrequency
If you have already autoupdated Vista with all fixes, you most likely have this fix included anyways. If you do it manually, you will need to use the standalone update installer, I am not familiar with it. I'm not much use about Vista as I don't know it as well, just what I've heard from others.

IF YOU HAVE ISSUES - If you think your computer is having any issues after doing this modification, you can simply go back to where you added "TcpAckFrequency" and delete it. Just make sure you don't touch anything besides what you have added from this guide :). After another reboot, your system will be back to how it was.
This was originally posted at

Well today I just saw this and decided to do it no particular reason, and Usually I lag pretty bad when I try playing, but after I did this I haven't lagged at all even in Non-Friend Matches.

Now don't Take it that it will work Maybe I just got lucky today and had no lag.

Good luck and I hope it works for you

if it help leave a post
 

Espy Rose

Dumb horse.
Joined
May 31, 2006
Messages
30,577
Location
Texas
NNID
EspyRose
This is incredibly interesting.
I'll try this sometime tomorrow, and hopefully come back with some sort of results.
 

Noobicidal

Smash Master
Joined
Dec 27, 2008
Messages
3,551
This could be THE SEX. I'll have to look into this. I'll do a before/after analysis on this, and see what happens.

Edit: Definitely a large difference. Thanks for the tweak.
 

Ghostbiker33

Smash Rookie
Joined
Aug 27, 2008
Messages
6
OH MY GOSH, Thanks the heavens! It actually works! I don't get frame lag and my button delay lag has been reduced to only 1.5 seconds. Thanks bro, spread the word!
 

Kogarashi

Smash Cadet
Joined
Dec 23, 2008
Messages
27
Location
Deer Park, Texas
Not a problem Just wanted to let everyone know Since it worked for me.

Hopefully they can Sticky this up so it won't get forgotten :p
 

Kogarashi

Smash Cadet
Joined
Dec 23, 2008
Messages
27
Location
Deer Park, Texas
I might as well get rid of that since you need to register on the forums to view posts.

Thanks for pointing it out wasn't paying to much attention to it.
 

Cheezey

Smash Rookie
Joined
Dec 14, 2008
Messages
22
This says for XP only...so how would we do it in Vista? This looks really interesting...
 

Noobicidal

Smash Master
Joined
Dec 27, 2008
Messages
3,551
Well, if you'd continue reading the post...

"If you need the Vista hotfix, you may find direct links here:
mattgadient.com » Blog Archive » KB935458 v2 - Vista hotfix for TcpAckFrequency
If you have already autoupdated Vista with all fixes, you most likely have this fix included anyways. If you do it manually, you will need to use the standalone update installer, I am not familiar with it. I'm not much use about Vista as I don't know it as well, just what I've heard from others."
 

Kogarashi

Smash Cadet
Joined
Dec 23, 2008
Messages
27
Location
Deer Park, Texas
As I don't have Vista I couldn't even guess how they have it set up, but I could look around and see If I can find anything If I do I'll post it up in the main post
 

Cheezey

Smash Rookie
Joined
Dec 14, 2008
Messages
22
I tried it out and it works fine for vista. But yeah, like the post said, you just need the hotfix (or SP1) and it works. Seemed to reduce lag significantly for me as well.
 

Espy Rose

Dumb horse.
Joined
May 31, 2006
Messages
30,577
Location
Texas
NNID
EspyRose
Question before i try this...

Does it affect anything in terms of simple internet browsing or anything of that like?
Or, any "negative" repercussions?
 

Dragoomba

Smash Lord
Joined
Nov 17, 2007
Messages
1,053
Location
Southern Idaho
There have been other countless methods like this and most of the time people are under the placebo effect, believing it works over some lucky match. Not entirely sure if this is the case.

Also, does this work with LAN adapters?
 

VietGeek

Smash Hero
Joined
Mar 19, 2008
Messages
8,133
I've done this, but I've yet to know if there's really any affect yet.

Unlike the Mabinogi game, there's no surefire way to ensure if this works since Wi-Fi is really all peer to peer, all Ninty's servers do is just link people up, no?
 

Kogarashi

Smash Cadet
Joined
Dec 23, 2008
Messages
27
Location
Deer Park, Texas
Well some of the people who tried said it has worked for them, and even though Brawl is Peer to Peer Packets still get sent back and forth between Your Wii and it goes through the router first.

Also I'm not sure if it works with LAN, but you can see if it does.
 
Top Bottom