Search
Welcome to Nexon Forums Sign in | Join | Help

Fix Your Lag or Just Improve Latency!

Last post 08-14-2008, 10:55 AM by Spearman1323. 247 replies.
Page 1 of 17 (248 items)   1 2 3 4 5 Next > ... Last »
Sort Posts: Previous Next
  •  04-07-2008, 2:58 PM 919604

    Fix Your Lag or Just Improve Latency!

    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.

    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: http://smallvoid.com/article/winnt-nagle-algorithm.html 

    I was ready to quit this game due to lag issues until I found this. Now all of my problems have completely gone away. If this improves your game performance, please share!

  •  04-07-2008, 2:58 PM 919607 in reply to 919604

    Re: Fix Your Lag or Just Improve Latency!

    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.
  •  04-07-2008, 3:09 PM 919642 in reply to 919607

    Re: Fix Your Lag or Just Improve Latency!

    Thanks... I'll try this in a minute

    IGN: Sayumi @ Ruairi
  •  04-07-2008, 3:20 PM 919657 in reply to 919642

    Re: Fix Your Lag or Just Improve Latency!

    After more testing, improvement shows in rubberbanding too. Theres still rubberbanding obviously but it is happening significantly less, and not to the degree where it is killing me. Smash lag is alot less too, but still there. I can actually run up to something across the room and smash it pretty reliably, but still have a bit of lag chasing the faster creatures.

    Spells and skills queue much faster now for sure though, and I have a much easier time doing N+1 multiple times in a row. 

  •  04-07-2008, 4:07 PM 919827 in reply to 919657

    Re: Fix Your Lag or Just Improve Latency!

    Darkmgl:

    After more testing, improvement shows in rubberbanding too. Theres still rubberbanding obviously but it is happening significantly less, and not to the degree where it is killing me. Smash lag is alot less too, but still there. I can actually run up to something across the room and smash it pretty reliably, but still have a bit of lag chasing the faster creatures.

    Spells and skills queue much faster now for sure though, and I have a much easier time doing N+1 multiple times in a row. 

    I have no idea where the hell you found this, but this has drastically increased my performance in the game O_O

    My windmill and magic charges up quicker than I thought it does, opening dungeon doors are an instant click, and my smash attacks are nearly perfect. You deserve lots of reps :D


    AznStealthMarv
    IGN: Maarv
    Server: Mari
    Total Level: 600+


  •  04-07-2008, 4:21 PM 919899 in reply to 919827

    Re: Fix Your Lag or Just Improve Latency!

    If this has helped just one other person, I'm really glad cause I was ready to quit the game because my latency was so bad. I seriously think that if all the people who live far from California used this, they would notice big improvements.
  •  04-07-2008, 4:37 PM 919955 in reply to 919899

    Re: Fix Your Lag or Just Improve Latency!

    Switching weapons is another way to test your latency. You should be able to switch your weapons 5-8 times in a second if you aren't lagging at all by spamming the W key. If you cannot, try this fix.
  •  04-07-2008, 4:41 PM 919970 in reply to 919604

    Re: Fix Your Lag or Just Improve Latency!

    Wow.....This is some great information.

    But I have a problem. What do you mean by "Add a DWORD"?
    Does that mean add a registry type under DWORD? Or does it mean to change the value name?
    I found the correct registry (although there are two, one labeled DhcpDefaultGateway and another one labeled DhcpServer), but I don't know which one to use, nor am I able to find out what this "DWORD" actually is.
    I'm just one step away from finishing all of these steps, and I really want to improve my computer performance.
    This may sound like a stupid question, but it'll be great if you can help me out!

    Thanks!! >w<

  •  04-07-2008, 4:43 PM 919979 in reply to 919970

    Re: Fix Your Lag or Just Improve Latency!

    On the right half of the Regedit Window, Right Click on a blank area and choose New > DWORD Value. Then name it TcpAckFrequency

    After that, double click on the new value you just created, and change it from 0 to 1 then click ok. After that you just have to reboot. It sounds like you probably have the right spot based on what you said, so good luck :).
     

  •  04-07-2008, 4:45 PM 919988 in reply to 919979

    Re: Fix Your Lag or Just Improve Latency!

    THANK YOU. You have just earned my eternal worship.
  •  04-07-2008, 4:48 PM 919997 in reply to 919955

    Re: Fix Your Lag or Just Improve Latency!

    okay I got to the part where you tell me to search in individual folders, I have 3, and 1 is empty so one of the two is the right folder. My problem is I have no idea what a DWORD is or how to set its value to 1...hehe...I probably shouldn't be messing with the registry, but can someone tell me what to add the DWORD to (the folder or the files in it) and how to do it

    Audition and Mabinogi forever ~

  •  04-07-2008, 4:50 PM 920008 in reply to 919997

    Re: Fix Your Lag or Just Improve Latency!

    Would there happen to be any con to this? :o
  •  04-07-2008, 4:51 PM 920013 in reply to 919997

    Re: Fix Your Lag or Just Improve Latency!

    hehe...stupid lack of an edit button...I found what to do after looking at a previous post, but I don't know whether to add a 64 or a 32 bit dword. I did 32 bit just because I could, but I have no idea lol

    Audition and Mabinogi forever ~

  •  04-07-2008, 4:55 PM 920037 in reply to 920013

    Re: Fix Your Lag or Just Improve Latency!

    Ahhh I do not know, you must be using 64 bit windows? I'm not positive but it should not matter which you add since the value is just 1.
  •  04-07-2008, 4:56 PM 920045 in reply to 920037

    Re: Fix Your Lag or Just Improve Latency!

    There are no cons to this, other then gaming will use about twice as much latency (IE Mabi uses about 5-10kbs, so it'll use 10-20kbs) as will all of your other online games. There are no drawbacks as long as you are not on dial up.
Page 1 of 17 (248 items)   1 2 3 4 5 Next > ... Last »
Powered by Community Server (Commercial Edition), by Telligent Systems

About Company l Legal & Copyright Notice l Privacy Policy l Sitemap l Terms of Service