Creating a vm with 64 pinned cores
lxc config set sampleVM limits.cpu 0-63
lxc exec sampleVM -- bash -c "lscpu | egrep 'CPU\(s\)'"
Show the 64 cores inside the vm or:
CPU(s): 64
On-line CPU(s) list: 0-63
NUMA node0 CPU(s): 0-63
Now updating it to 127 cores, the guest does not show the additional resources added:
lxc config set sampleVM limits.cpu 0-127
lxc exec sampleVM -- bash -c "lscpu | egrep 'CPU\(s\)'"
CPU(s): 64
On-line CPU(s) list: 0-63
NUMA node0 CPU(s): 0-63
Any idea why?
I am running snap lxd 4.24, host ubuntu 20.04, guest ubuntu 20.04, cpu AMD EPYC 7742 64-Core Processor (128 vcpu). Running the command in the host show all vcpus or:
lscpu | egrep 'CPU\(s\)'
CPU(s): 128
On-line CPU(s) list: 0-127
NUMA node0 CPU(s): 0-127