MTU tuning up for better transfer data rates

MTU stands for Maximum Transfer Unit and it defines the maximum size of a protocol data unit.
Tuning it up in a TCP/IP network may increase the overall speed of the network itself.

If you are experiencing some lags while you play on your PS3 or 4, you may wanna tuning it up for sure!

Let’s have a look at how to get your network MTU size.
The easiest way to tuning it up is by using the ping command. On linux this would be

ping www.gnuton.org -s 1472 -M do

“-M do”¬†prohibits¬†fragmentation. That means that if the forged packet is bigger than the MTU we will get an error like the following:

ping: local error: Message too long, mtu=1500

Please rember that the MTU is always 28 bytes bigger than the packet size we find by using ping utility. This because of the packet header overhead.

I have also noticed that if you try to ping google, it can truncate your packets

~$ ping www.google.it -s 1472 -M do
PING www.google.it (173.194.222.94) 1472(1500) bytes of data.
72 bytes from lo-in-f94.1e100.net (173.194.222.94): icmp_seq=1 ttl=44 (truncated)

Happy tuning!

 

Leave a Reply

Your email address will not be published. Required fields are marked *