Increasing MTU size

MTU stands for Maximum Transmission Units sizes also know as JUmboFrames in Linux which can help providing a better network performance once the value is increased. If your objective is transferring large amounts of data at gigabit speeds, increasing the default MTU size can provide significant performance gains. In order to change the MTU size, use /sbin/ifconfig (from root shell).

 

  • # ifconfig eth0 mtu 9000 up

 

Use ifconfig command to list the interface details and make sure the mtu value has been setup correctly as showen in the screen-caps. Add the above command in the /etc/rc.local file to setup the value on every reboot.

 

NOTE : For large MTU sizes to work, they must be supported by both the network interface card and the network components.

 

MTU Size