can you try lstopo command

On Mar 19, 2017, at 9:54 PM, <arrakis@tsiom.com> <arrakis@tsiom.com> wrote:

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@redhat.com
https://www.redhat.com/mailman/listinfo/libvirt-users