[Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

VMWare CPU Reservation

Posted on 2014-08-01
8
Medium Priority
?
4,396 Views
Last Modified: 2014-08-01
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)?
0
Comment
Question by:LHT_ST
  • 3
  • 3
7 Comments
 
LVL 124
ID: 40233799
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
0
 
LVL 6

Author Comment

by:LHT_ST
ID: 40233800
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?
0
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 
LVL 6

Author Comment

by:LHT_ST
ID: 40233804
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
0
 
LVL 124

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 2000 total points
ID: 40233805
I think we just cross posted...

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

9200

Reserve = Guarantee, so you will ALWAYS Guarantee 9200 for this VM.
0
 
LVL 6

Author Closing Comment

by:LHT_ST
ID: 40233809
Thanks :)
0
 
LVL 124
ID: 40233818
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.
0

Featured Post

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article outlines why you need to choose a backup solution that protects your entire environment – including your VMware ESXi and Microsoft Hyper-V virtualization hosts – not just your virtual machines.
This article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
This tutorial will walk an individual through the steps necessary to configure their installation of BackupExec 2012 to use network shared disk space. Verify that the path to the shared storage is valid and that data can be written to that location:…
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…

865 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question