[libvirt-users] cpuset not affecting real pid placement

Andrey Korolyov andrey at xdel.ru
Tue Oct 16 20:54:40 UTC 2012


Hi,

At least on 0.10.2 setting a cpuset doesn`t match a real process
placement - VM still consumes all available cores.

VM config:
.snip.
<vcpu placement='static' cpuset='0-5,12-17'>12</vcpu>
.snip.

for cpuset in $(find /cgroup/cpuset/libvirt/qemu/vmid/ -name
cpuset.cpus) ; do grep 0-5 $cpuset ; done
got: empty responce, e.g. 0-23 in my setup
expected: at least bounded vcpuX threads

In neighbor 'cpu' group libvirt sets cfq weights just fine, so this is
clearly a bug.




More information about the libvirt-users mailing list