Wednesday, March 14, 2018

Practical network speed test: 1 Gbit v.s. 10 Gbit with 1500 MTU v.s. 9000 MTU

QUESTION:
How much practical network throughput will gain converting from standard 1500 MTU size to  MTU 9000 (aka jumbo frame) at 10 Gbit network?

ANSWER
The empirical test shows ~ 3x improvement transferring data over 10 Gbit versus 1 Gbit network having standard MTU 1500.  Changing the 10 Gbit network interface to 9000 MTU gains additional 3x improvement over standard 1500 MTU. 



The speed test was conducted at different network conditions over several days of running iperf3 command. 

SOUND AND CLEAR:

The data heavy environment where large amount of data is moved across should expect ~3x improvement cranking up to 9000 MTU at 10 Gbit interface. Target applications are Big Data systems, database backups, data warehouses, large data analytic. Technically, the MTU has to be set to 8912 to account for 88 (42+46).

Useful commands:


/sbin/ifconfig bond3 mtu 1500 up   
/opt/network-tools/iperf3 -s
/sbin/ifconfig bond3 mtu 8912 up   ### Setup MTU here


Set up config permanently in the interface startup script:
 
[root@serverX~]# cat /etc/sysconfig/network-scripts/ifcfg-bond0
DEVICE="bond0"
BOOTPROTO=none
IPADDR=10.20.30.99
NETMASK=255.255.255.192
ONBOOT="yes"
USERCTL=no
TXQUEUELEN=100000
MTU=8912
BONDING_OPTS="mode=1 miimon=200 primary=eth0"




Related links:


No comments:

Post a Comment