Best Practices for socket and core allocation

Corey Boyle

New Member
Jul 19, 2016
9
0
1
43
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)
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!