I have 4 machines all connected to a private network. The bare metal machine provider has confirmed that the switches for this network are set for a MTU of 9216. The related interfaces for this network are all set for 1500. All machines are running 1/10gbe network cards. Currently they are running 1Gbe.
1 - pfsense server
1 - ubuntu / nfs server
2 - xcp-ng servers
I would like to make the changes necessary to move all machines to this value. I would like to confirm the right procedure for each env.
pfsense: add value to the lan interface parameters and save changes via the web ui.
ubuntu: add mtu value to the netplan file for permeance and issue the following command:
ip link set mtu 9216 eth1
to make immediate changes.
xcp-ng: issue the following command on each host: xe network-param-set uuid=[network-uuid] MTU=9216
Will this persist reboots?
Questions:
- for each host type will there be an interruption in service when I issue these commands.? This is a production env.
- if one host is changed at a time what happens to the network traffic while there is a mis match in mtu values?
- the ubuntu vm’s running on xcp my understanding is that because the networks are virtual that the only need is to change the hardware setting on the host. The vms will act accordingly. Is this true?
- if I make the same mtu change on the WAN, knowing the internet routinely fragments packets, would this be of any performance value?
Why am I doing this?
My use case is that my customers have a mix of large and small files. The load profile is that the application loads a shit tonn of small files and a bunch of large files… 1-25 meg range. I am hoping that with a bigger mtu that I can get some performance gains by being efficient with packets moving about the internal lan and possibly to my isp’s equipment over the WAN interface.
Hope this makes sense. thanks for your consideration