cloudstack icon indicating copy to clipboard operation
cloudstack copied to clipboard

Configure MTU size for KVM

Open rohityadavcloud opened this issue 3 years ago • 0 comments

Introduce a new global setting that can be used to customize all MTU values the MTU interface (see libvirt XML - https://libvirt.org/formatnetwork.html#elementsConnect).

First of all we implemented a change for each single nic of a vm. We observed that this is not useful because Linux Bridges / OpenvSwitch with Libvirt always configures bridge network interface MTU to use the lowest MTU of all ports (devices) on the bridge.

The only useful way to bypass this problem is to set the MTU to the same size for all VMs.

We introduced a global setting. kvm.mtu.size Set the MTU for Libvirt and KVM (if not set the default MTU will be considered, Attention: If you use OVS the main bridge automatically is adjusted to the guest nic mtu)

if this is not set nothing will happen. after set a value it will be set for all virtual machines.

See https://github.com/apache/cloudstack/pull/3186

ISSUE TYPE
  • Feature Idea
COMPONENT NAME
KVM, VR

rohityadavcloud avatar Feb 21 '22 10:02 rohityadavcloud