Quantcast
Channel: linuxadmin: Expanding Linux SysAdmin knowledge
Viewing all articles
Browse latest Browse all 17812

libvirt: Invalid value for 'cpuset.mems' when trying to use numatune.

$
0
0

I'm trying to create a QEMU-KVM that's confined to a single NUMA cell. I can pin the guest to the CPUs of the NUMA cell which are 8-15 and 24-31 using cpuset. But when I try to do the same for the memory using numatune I get ERROR Invalid value '8-15,24-31' for 'cpuset.mems': Invalid argument

I've tried setting this manually in the VM's XML as well and I get the same error when trying to start the VM.

This is what the NUMA-related blocks look like:

<vcpu placement='static' cpuset='8-15,24-31'>16</vcpu> <numatune> <memory mode='strict' nodeset='8-15,24,31'/> </numatune> 

What am I doing wrong here? NUMA is absolutely supported by my CPU and enabled in the BIOS:

$ numactl --hardware available: 2 nodes (0-1) node 0 cpus: 0 1 2 3 4 5 6 7 16 17 18 19 20 21 22 23 node 0 size: 48338 MB node 0 free: 45697 MB node 1 cpus: 8 9 10 11 12 13 14 15 24 25 26 27 28 29 30 31 node 1 size: 48381 MB node 1 free: 48110 MB node distances: node 0 1 0: 10 21 1: 21 10 
submitted by /u/HittingSmoke
[link] [comments]

Viewing all articles
Browse latest Browse all 17812

Trending Articles