-
snapnpop wrote on 2010-05-28 22:55
Many of us 'de-Nagle' with success, the rest of us don't. Myself in particular never had satisfactory results using this method with either Vista or XP. It wasn't until I was turned onto modifying MTU settings that I found a land of zero lag game play (ok I still lag but I claim frame rate lag is something all together different).
For those of you who don't know what MTU is, here's a quick summary. Please keep in mind this is by no means a technical summary.
What is MTU?
MTU (Maximum Transmission Unit), simply defines the maximum data (also known as a packet) that may be transmitted via your connection before it must be sized into smaller data chunks. Most everyone by default has an MTU setting somewhere around 1500 (1500 usually being the maximum).
What's my current MTU setting?
To find your current MTU setting, open a new Command Prompt (start, run, cmd) and type in the following:
netsh interface ipv4 show subinterfaces
You will be greeted with a list of your connections, displaying their MTU setting on the left. At the far right, there is a column titled 'Interface.' Write down the exact name of the interface currently in use (if you have multiple, it will generally be the one with numbers under both the 'Bytes In' and 'Bytes Out' column.
Now comes the fun part.
Setting your MTU
You're now ready to modify your MTU settings, and improve your gameplay (let's hope). To do so, you must run the command prompt as an Administrator. You can do this by either:
From Programs > Accessories > Command Prompt > Right Click on Command Prompt > Select "Run as administrator"
OR
Navigate to the command prompt in C > Windows > System32
locate the cmd icon (or type 'cmd') and right click > Select "Run as administrator"
With the new window open (should be titled 'Administrator'), enter the command below:
netsh interface ipv4 set subinterface "Network Connection" mtu=xxxx store=persistent
replacing the 'Network Connection' with the exact name of your interface you copied down earlier, and the 'xxxx' with the MTU number you prefer. Hit Enter when done to save your settings.
For Mabinogi, I have found that an MTU of 128 works well. You can experiment to see which number works best for you, but I wouldn't recommend setting this below 100 or above 1500.
I have to type this every **** time?!
Ok, while having a low MTU setting is awesome for Mabinogi, it completely destroys web browsing via Internet Explorer, and makes other browsers slow as molasses. So, you'll want to switch between MTU settings from time to time (especially if you want to use the cash shop).
To avoid pain and agony every time we want to swap MTU settings, let's make use of a happy little thing knows as a BATCH (.bat) file.
For myself, I have two batch files, one that sets my MTU at 1430, the other at 128.
To make a batch file that will set your MTU, start by opening a new Notepad file, and adding this:
netsh interface ipv4 set subinterface "Network Connection" mtu=xxxx store=persistent
exit;
Where (again), 'Network Connection' being the exact name of your interface, and 'xxxx' being the MTU speed you wish to set. Be sure 'exit;' is on the second line.
Save this file as a .bat type (Save As > FILENAME.bat). Be sure to give it a unique name as you will probably be making two.
You're done. Now when you want to change your MTU setting, simply right click on your new batch file, choose 'Run as Administrator,' and in a flash your new MTU setting will be in place.
That's it. I hope this was helpful.
(If anyone has additional info/suggestions that'd be great!)
-
Osayidan wrote on 2010-05-28 23:13
It's important to note that if you have a router on your home network with it's own MTU setting this will do nothing.
Also, changing it on your router is much more damaging than changing it on one computer, since all the computers on the network will suffer from that MTU change.
-
Shirayuki wrote on 2010-05-28 23:30
Also, changing MTU on a router creates the risk of not being able to reach the router page again to change back the MTU, leaving you with slow data streaming.
Plus, might wanna note that I also have a guide on MTU :p
-
hengsheng120 wrote on 2010-05-28 23:48
Quote from Osayidan;47064:
It's important to note that if you have a router on your home network with it's own MTU setting this will do nothing.
Actually, that's not true. I know it sounds crazy, but just test (login) with 48 MTU across all the channels. Make sure you switch back to 1500 during testing to prevent low bandwidth lag spikes.
-
Osayidan wrote on 2010-05-29 00:02
I didn't do it with 48, I think it was 128 back then, with my router's still at the 14xx default, and it did nothing (and this was with nagle killed already). It could also depend on network traffic conditions, maybe even the brand/model# of the router.
Some tech forums somewhere told me I had to also change the router's MTU to be lower, because changing it only on the PC makes the PC send out the packets faster, but the router is still at a larger MTU.
If it works with yours then I want your router D: If it'll allow me to fight harder things and not rebirth at level 4x all the time Dx
-
Vinhthehero wrote on 2010-05-29 00:06
I have been changing my MTU every time I get on Mabinogi. I change the MTU on my PC to 768 and the one on my router is at default (1500). The major way to notice the difference is the speed of your healing. With it set at 768, my healing was rapid speed. At the regular 1500, it varies, but it wasn't as fast as it was at 768. I have yet to try even a lower MTU because I was satisfied with 768. So try healing and see if you notice a difference.
-
Shirayuki wrote on 2010-05-29 00:08
Also, spamming the hotkeys of 2 different skills that either flash or have a charging animation shows the difference in speed.
-
hengsheng120 wrote on 2010-05-29 01:12
Quote from Osayidan;47113:
I didn't do it with 48, I think it was 128 back then, with my router's still at the 14xx default, and it did nothing (and this was with nagle killed already). It could also depend on network traffic conditions, maybe even the brand/model# of the router.
Some tech forums somewhere told me I had to also change the router's MTU to be lower, because changing it only on the PC makes the PC send out the packets faster, but the router is still at a larger MTU.
If it works with yours then I want your router D: If it'll allow me to fight harder things and not rebirth at level 4x all the time Dx
I've changed it on my router too, but never below 128, where i my router page loaded way too slowly and i was afraid of loosing it if i set it any lower, so you can't achieve the same 48 MTU connection that you on the PC. Plus it's not versatile enough to change it back 1500 and avoid all side effects while still logged in game. Nothing I tried was faster than changing to 48 MTU in my current state except for switching ISPs (or moving to LA) and using 48 MTU too. Of course, it doesn't help anymore in PvP if everyone uses this fix. You'll still be relatively slow compared to west coast players.
I've tested many combinations of MTU, nagle, and connection speed, since last year and still 48MTU is the fastest (with nagle on).
Look at this to see the difference:
[video=youtube;UGVOPGQ_Ok0]http://www.youtube.com/watch?v=UGVOPGQ_Ok0[/video]
For practical purposes, the fix is most noticeable on fast reaction tactics such as icebolt/lightning spam, ranged attack, ar spam, and weapon switch.
this slight (300~400ms) delay is a big factor if you use any of those attacks, it also may enable tactics previously impossible to do, such as Windmilling immediately after defense (thus completing the cycle of Wm+Def), and support shot chain chain with shortbow, dualwielded 2+Defense/Counter, etc.
Ever get the feeling that smash takes 3 seconds to load, even on human? Well, eliminating this delay basically allows all your skills to cast faster (at the actual defined time).
-
snapnpop wrote on 2010-05-29 04:49
Quote from Shirayuki;47079:
...Plus, might wanna note that I also have a guide on MTU :p
Yikes, search fail...and I searched more than once.
Hopefully at least my suggestions on using batch files to automate your settings is an addition to yours. ;)
-
Forsaken wrote on 2010-05-29 05:17
Quote from Osayidan;47113:
I didn't do it with 48, I think it was 128 back then, with my router's still at the 14xx default, and it did nothing (and this was with nagle killed already). It could also depend on network traffic conditions, maybe even the brand/model# of the router.
Some tech forums somewhere told me I had to also change the router's MTU to be lower, because changing it only on the PC makes the PC send out the packets faster, but the router is still at a larger MTU.
If it works with yours then I want your router D: If it'll allow me to fight harder things and not rebirth at level 4x all the time Dx
Want a tutorial for making your own router with a computer using Linux?
-
Osayidan wrote on 2010-05-29 13:33
Quote from Forsaken;47467:
Want a tutorial for making your own router with a computer using Linux?
Learned how to do a basic one in class but lack the hardware Dx My only linux box was my sister's old PC, which I had to give back to her a few weeks ago when her laptop died. Now I've only got my windows laptop, and my PC which has linux/XP dual booted, but I need it on XP to play mabi.
I actually plan to do that later on when I have moniez. I still like to keep every bit of documentation I can grab though, especially if it goes well beyond the basics of the classroom environment.
-
Forsaken wrote on 2010-05-29 14:00
Quote from Osayidan;47664:
Learned how to do a basic one in class but lack the hardware Dx My only linux box was my sister's old PC, which I had to give back to her a few weeks ago when her laptop died. Now I've only got my windows laptop, and my PC which has linux/XP dual booted, but I need it on XP to play mabi.
I actually plan to do that later on when I have moniez. I still like to keep every bit of documentation I can grab though, especially if it goes well beyond the basics of the classroom environment.
An old PC is perfect for a home made router.
Setting it up as a router isn't really the hard part, its the customization of IPTables and the like, as well as securing of the OS.
-
Osayidan wrote on 2010-05-29 14:08
I like iptables though, only know simple things like transparent proxy and basic denying of ports (or everything from a source). So even if it's the hard part it's all good education to me.
-
Archibald wrote on 2010-05-29 19:09
Can I get a tut on changing the Router MTU? I play wireless.
-
snapnpop wrote on 2010-05-30 01:28
Quote from Archibald;47919:
Can I get a tut on changing the Router MTU? I play wireless.
I play wireless as well and this works 100% for me, no need to change at the router...I use a D-Link 'super-fab don't remember the exact model'. ;)