This means that the number of sockets you configure for the VM should match the number of NUMA nodes of the host system the VM is running on. You can use `lscpu | grep "NUMA node(" to figure out how many NUMA nodes your host system has. Typically, the number of NUMA nodes of the host system matches the number of sockets.If the NUMA option is used, it is recommended to set the number of sockets to the number of nodes of the host system.
$ lscpu | grep "NUMA node("
NUMA node(s): 2
Well, usually you wouldn't populate two sockets with odd numbered CPU cores in real-life either. The socket option has two main uses-cases (from my knowledge at least):I guess this is only useful if you allocate an even number of vCPUs - ie: 2, 4, 6 ....
And if you allocate an odd number of vCPUs then only allocate 1 socket and the number of cores required.
We use essential cookies to make this site work, and optional cookies to enhance your experience.