Best Practices for socket and core allocation

Corey Boyle

New Member
Jul 19, 2016
9
0
1
44
Are there any general guidelines for allocating sockets and cores to VMs?
From the perspective of the guest, is there a difference between cores and sockets?
 
Hi,
for an real OS no ;)

For Windows yes - AFAIK you can't use 8 CPUs for an normal win7 but 1CPU with 8 cores work (or 2cpu with 4 cores).

And don't use more cores for one VM as physical on the host - this will slow down your VM very much.

Udo
 
Are there any general guidelines for allocating sockets and cores to VMs?
From the perspective of the guest, is there a difference between cores and sockets?

They are no difference (qemu create X theads, sockets * cores, until you enable numa.

(Numa will try to map virtual sockets to physical sockets, with associate memory)