此内容没有您所选择的语言版本。
3.3.4. Option: CPU Pinning
Large performance improvements can be obtained by adhering to the system's specific NUMA topology. Use this option to automatically generate a pinning configuration that is valid for the host.
Figure 3.7. CPU Pinning
Warning
Do not use this option if the guest has more vCPUs than a single NUMA node.
Using the Pinning option will constrain the guest's vCPU threads to a single NUMA node; however, threads will be able to move around within that NUMA node. For tighter binding capabilities, use the output from the
lscpu
command to establish a 1:1 physical CPU to vCPU binding using virsh cpupin
. Refer to Chapter 9, NUMA for more information on NUMA and CPU pinning.