VMware vSphere

 View Only

 Best practice - Assign vCPU to a VM

Andywesh2's profile image
Andywesh2 posted May 27, 2024 06:19 AM

Hi,

I have a VMware ESXi, 6.5.0, 7388607 with Vcenter 6.7.0.1000

I have 2 hosts in a cluster

Each host has 1CPU that is Intel(r) xeon(r) silver 4110 cpu @ 2.10ghz (8 cores 16 threads)

When I configure a virtual machine I have "Number of sockets = 1" and "Cores per socket = 2 / 4 / 6). Is this the correct way to configure it ? (leave the "Number of sockets=1" and change only cores)

The VM`s are both Windows 2008R2, 2012R2, 2016-> (Yes I know it is old, there is a ongoing job for this :)

What "happens" if i configure "number of socket = 6" and "cores per socket = 2", will performance be lower ?

Thanks for answers

Regards

Andreas

SKAKVMWARE's profile image
SKAKVMWARE

no the performance will not have any issues. The only thing is you cannot add more VM's if you need more sockets.

The guest OS is just scheduling the threads from each process onto a CPU core and, using the hypervisor, those virtualized threads are scheduled, by the VMkernel scheduler, on a logical CPU core of the operating system.