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} upNote this will only work if supported by both the network nterface card and the network components such as switch.
ifconfig eth1 mtu 9000 up
Changing the MTU size permanently under CentOS / RHEL / Fedora Linux
Edit /etc/sysconfig/network-scripts/ifcfg-eth0, enter# vi /etc/sysconfig/network-scripts/ifcfg-eth0Add MTU, settings:
MTU="9000"Save and close the file. Restart networking:
# service network restartNote for IPV6 set dedicated MTU as follows:
IPV6_MTU="1280"Changing the MTU size permanently under Debian / Ubuntu Linux
Edit /etc/network/interfaces, enter:# vi /etc/network/interfacesAdd mtu as follows for required interface:
mtu 9000Save and close the file. Restart the networking, enter:
# /etc/init.d/networking restartChanging the MTU size permanently (other Linux distros)
Edit /etc/rc.local and add the following line:/sbin/ifconfig eth1 mtu 9000 upUpdated for accuracy!
No comments:
Post a Comment