[libvirt-users] Domain vCPU threads affinity

Ján Tomko jtomko at redhat.com
Wed Sep 5 13:25:09 UTC 2018


On Wed, Sep 05, 2018 at 03:48:45PM +0300, Nikos Anastopoulos wrote:
>Hello,
>
>According to the docs, vcpupin will use either cgroups or sched_setaffinity
>to pin vcpu threads to cpus. How is this decision made?
>I observe differences even on different hosts featuring the same version of
>libvirtd (1.3.1): on one host vcpupin affects cpuset.cpus (cgroup), and on
>the other it affects vcpu threads affinity (observed through taskset).

It affects both affinity and cpuset.cpus.

Are there any differences in the host environment, or the domain XML?

Also note that libvirt 1.3.1 is 2.5 years old now.

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20180905/90511d38/attachment.sig>


More information about the libvirt-users mailing list