MPAM-enabled libvirt
VMs running on the same NUMA node share public resources, such as memory bandwidth and cache lines. When the shared resources are insufficient, resource contention may occur among VMs, causing performance deterioration. Customers want to limit the VM resource usage by configuring the bandwidth and cache upper limits. This can prevent interference between multiple tenants and improve the availability of cloud hosts.
Specifications
Supported VM specifications include but are not limited to 2 vCPUs with 8 GB memory, 4 vCPUs with 8 GB memory, 4 vCPUs with 16 GB memory, 8 vCPUs with 16 GB memory, 16 vCPUs with 32 GB memory, and 32 vCPUs with 64 GB memory.
Version Requirements
- Version: Only openEuler 24.03 LTS SP2 and later, libvirt 9.10.0, and QEMU 8.2.0 are supported.
- License: none.
Application Scenarios
This feature allows you to configure the XML file to limit the memory bandwidth and cache lines used by a VM. MPAM is used to allocate VMs to different bandwidth/cache partitions, implementing rate limiting or priority control. This ensures stable performance (such as real-time services) of high-priority VMs and prevents low-priority VMs from affecting key loads.