The goal today is to reduce the stress on the LAN and free up some of the computational resources of the router. There will be no substantial differences in speed or not using Jumbo Frames, but this way we can reduce the time required for file transfer.
The Jumbo Frames are larger than normal network packet. The standard size of a package is 1.500 byte. The Jumbo Frames can instead increase the size of the packages up to 9.000.
I would like to warn users that the Jumbo Frame, although it supported by most devices on the market, I am still not a standard. It is also important to know that you will need to configure the network so that all the devices support Jumbo Frame. Having said this,, even if a device does not support them is not the end of the world. This means that device “break” the incoming packet from 9.000 bytes into multiple packets from 1.500. They are as though configure the router and any network switches.
Many routers let you change the MTU size (Maximum Transmission Unit). It is usually found in the network settings, but each manufacturer decides where to place it arbitrarily. Once you found it should be remembered that the maximum limit is 9.000 byte.
We check the size of the MTU
Now that the LAN supports Jumbo Frames, Also check if your computer is enabled. Probably you will be set 1.500 byte standard, but assicuriamocene.
We will investigate every aspect with the command
ip, then we will use it to control the MTU size allowed by the network interface:
$ ip link list
And this is the output:
1: it: man 16436 qdisc noqueue link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 2: wlp5s0: man 1500 qdisc pfifo_fast qlen 1000 link/ether 00:0f:she:91:04:07 br ff:ff:ff:ff:ff:ff
From the output we understand to be connected via Wi-Fi network, whose packets are “broken” every 1.500 byte.
Temporarily set a new dimension
Set up a new dimension for each package is very simple with
ip. We just have to tell the interface that we want to change, and the size to which we want to set them.
# ip link set wlp5s0 person 9000
You can set all interfaces on the computer if the hardware supports it:
# ip link set enp2s0 person 9000
Making changes permanent
The easiest thing is to create a script that starts at startup and set independently the MTU for all necessary interfaces.
#! /bin/bash ip link set enp2s0 mtu 9000; ip link set wlp5s0 person 9000;
We await that Jumbo Frames become standard.