User Tools

Site Tools


kvm:pin_a_cpu

KVM - Pin a CPU

See Get the CPU Pinning Settings for a Guest


Pinning is a way to limit the effect a certain guest has on others, or to give a guest a dedicated core etc.

To set the cores that a guest can use.

virsh vcpupin VM_ID 0 2

NOTE: This will set the first vCPU (the one with ID 0) to only run on core ID 2.

Thus the output of **virsh vcpupin VM_ID would report:

VCPU: CPU Affinity


 0: 2
 1: 0-3
kvm/pin_a_cpu.txt · Last modified: 2020/08/19 13:09 by 192.168.1.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki