Configuring NUMA Awareness
Constraints
This feature is used to detect the NUMA architecture on the host in the VM. The impact on performance depends on application characteristics.
XML Settings
- When configuring NUMA awareness feature, you can specify the location of vNode memory on the host to implement memory block binding and vCPU binding so that the vCPU and memory on the vNode are on the same physical NUMA node. TVM configurations are as follows:Figure 1 VM CPU binding configuration
Figure 2 VM NUMA configuration
Figure 3 VM NUMA configuration details
- After the VM is configured, log in to the VM and check the number of NUMA nodes.
1numactl -HAs shown in the following figure, the number of NUMA nodes is 4, and the number of CPUs on each NUMA node is as expected.

Parent topic: Tuning in Resource Fragmentation Scenarios