We've gigabit networks, and large maximum transmission units (MTU) sizes (JumboFrames) can provide better network performance for our HPC environment. How do I change MTU size under Linux?
You need support in both network hardware and card in order to use JumboFrames. If you want to transfer large amounts of data at gigabit speeds, increasing the default MTU size can provide significant performance gains.
Changing the MTU size with ifconfig command
In order to change the MTU size, use /sbin/ifconfig command as follows:
ifconfig ${Interface} mtu ${SIZE} up
Note this will only work if supported by both the network nterface card and the network components such as switch.
Changing the MTU size permanently
Edit /etc/rc.local and add the following line:
/sbin/ifconfig eth1 mtu 9000 upifconfig eth1 mtu 9000 up
No comments:
Post a Comment