CPU Pinning Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello, I was hoping someone help me regarding my KVM Domain XML file. I have a 1 socket, 6 core processor with hyperthreading. I wanted to pin 3 full cores (6 threads on 3 cores) to my KVM instance with a 1-1 mapping (so that the KVM instance has 3 cores and 6 total threads). I thus used the following in my xml file:

<cpu mode='host-model> <topology sockets='1' cores='3' threads='2'/> </cpu>

I know what physical cpu ids are siblings (share the same processor cores) through $(cat /proc/cpu) or $(virsh capabilities).  However, in the <cputune> section, when pinning vcpus ids to physical cpus, I need to know which vcpu ids are "siblings" (which vcpu ids share the same virtual core). I would imagine vcpu ids 0 & 1 are siblings, 2 & 3 are siblings etc, but I cannot find anywhere in the documentation which confirms this.

Could someone please help?
Many thanks! 


_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users

[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux