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)?
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)?
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
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
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?
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
Thanks for any assistance
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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.
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.
Please go through the documents link below and let me know if you need more information on this.
http://pubs.vmware.com/vsphere-50/index.jsp?topic=%2Fcom.vmware.vsphere.vm_admin.doc_50%2FGUID-83853A93-E36E-48AB-8F78-65A28C418EE2.html
http://pubs.vmware.com/vsphere-51/index.jsp?topic=%2Fcom.vmware.vsphere.vm_admin.doc%2FGUID-3CDA4DEF-3DE0-4A64-89C7-F31BB77222CB.html
https://dip.felk.cvut.cz/browse/pdfcache/macalkar_2013dipl.pdf
Hope this information help you. Thank you.