Comment posted Boost local network performance (Increase network thoroughput) by enabling Jumbo Frames on GNU / Linux by .
Recent comments by
Tags: Auto, bandwidths, betterment, card, CentOS, commercial isps, Corporation, cpu load, cpu usage, default, default mtu, doesn, Draft, educational networks, eth, ethernet frames, ethernet networks, file, Frame, Frames, gateway, gigabit switches, GNU, home networks, ifconfig eth0, information, information transfers, ISPs, jumbo frame, jumbo frames, kernel patches, Linux, linux kernel, Maximum, MTUs, nbsp, Netmask, network cards, network routers, package, payload, performance increase, quot, root, size, support, sysconfig
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.132 Safari/537.36
Thank you for your article. I just have a few questions.
I ran ifconfig and got the following:
I run this command to check if my device can hold the 9000 MTU and as you said above, and as shown below it should be able to deal with it.
But when I try to change the MTU I get the following:
Nonetheless I tried to change it to a higher value greater than 1500, and 4000 was the top value accepted, more than 4000 gives me and invalid argument error.
Why can't I change the value to 9000?
If I change the value to the local loop 'lo' to MTU 9000 is it going to make any improvements? I did change it, but I don't notice any change on speed with the samba server my router provides.
I also changed the MTU value of 'enp0s25' to 4000 which is the highest accepted, will it help somehow too?
Thanks in advance!
Mu current ifconfig looks like this:
View CommentView CommentMozilla/5.0 (Windows NT 6.1; WOW64; rv:29.0) Gecko/20100101 Firefox/29.0
Hello Rodrigo,
Perhaps you get the SIOCSIFMTU: Invalid argument error because your device / router / Linux is not supporting an MTU of 9000, try to set lower MTU’s decrementing with 1000, i.e. try MTU of 8000, 7000 and see with which one yours will work, then check out if there is improvement in performance. I can’t tell you whether performance improvement will be drastical you have to do some benchmarking and see how this changes things.
Hope my answer helps somehow.
View CommentView CommentMozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0
This info is somewhat misleading. Increasing your MTU will _NOT_ give you any more bandwidth, 1Gbit is 1Gbit no matter what way you slice it. What it does do is decrease the packet traffic on your Network as you can now fit 9KB of data in a packet instead of 1.5KB of data, so less packets for the same amount of throughput. You only need to do “Jumbo Framing” (Anything over 1500 MTU) if your on a very chatty network and want to knock down packet traffic, you will not increase bandwidth in anyway, again 1Gbit is 1Gbit (or 10Mbit, 100Mbit, etc.).
View CommentView Comment