Link to home
Start Free TrialLog in
Avatar of LHT_ST
LHT_ST

asked on

VMWare CPU Reservation

I have a vm that the supplier is requesting CPU reservation on, i know CPU reservation works differently to Memory reservation so the CPU is never entirely reserved for the VM but they cant be swayed.

As this isnt something i have done before my query concerns multicores on the VM and how much i should be reserving?

the  VCPU i assigned is a single socket quad core which shows in windows as 2.3GHz so if i am to reserve this on the VM do i reserve the 2300 MHz or do i need to reserve 4 x 2300 MHz (one for each core)?
Avatar of Vishalnarse
Vishalnarse
Flag of United States of America image

Avatar of Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
If you want to ensure, that the VM, always gets 2300MHz cycles of CPU, reserve at this amount.

Are you running many VMs on this hypervisor, because Reservations are often only required, when a host is over subscribed.

How have you setup the number of vCPUs for this VM, and you are better just allocating sockets, rather than cores. (unless for licensing reasons).

performance is the same.

Reserve what cycles you require, so if you have 4 x vCPU at 2.3GHz, reserve

9200
Avatar of LHT_ST
LHT_ST

ASKER

none of the links provided actually answers the question - i have already provisioned the CPU and am aware of how vmware manages the CPU resources (Shares etc) but i need to know if i should be reserving 2.3 GHz total or 2.3 GHZ per core for vCPU?
Avatar of LHT_ST

ASKER

Andrew, Yes this is oversubscribed but unfortunately our customer is in the habit of taking risks with the infrastructure they own.  As i stated originally i have tried to sway the supplier away from CPU reservation but they want it to be completed.

Thanks for any assistance
ASKER CERTIFIED SOLUTION
Avatar of Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of LHT_ST

ASKER

Thanks :)
A word of caution, Setting Reservations can have a "Domino effect"

e.g, you fixed 9200 of CPU resource to 1 single VM, which will then take away 9200 from the total CPU pool always, even though the VM may never request 9200, it's always there just in case it needs it.

This can cause other VMs to struggle, when you then need to start setting CPU reservations on other VMs, and eventually, you've got none left to reserve!

So.....9200 cycles, is assigning all the cycles in the host processor to the VM, but you may want to check, how many does it really need.

Usage versus Defined maybe very different.