You can change the amount of CPU resources allocated to a virtual machine by using the shares, reservations, and limits settings.

A virtual machine has the following user-defined settings that affect its CPU resource allocation.

Limit

Places a limit on the consumption of CPU time for a virtual machine. This value is expressed in MHz.

Reservation

Specifies the guaranteed minimum allocation for a virtual machine. The reservation is expressed in MHz.

Shares

Each virtual machine is granted a number of CPU shares. The more shares a virtual machine has, the more often it gets a time slice of a CPU when there is no CPU idle time. Shares represent a relative metric for allocating CPU capacity.

Verify that you are connected to the vCenter Server or ESX/ESXi host on which the virtual machine runs.

Verify that you have access to the virtual machine in the vSphere Client inventory list.

1

In the vSphere Client inventory, right-click the virtual machine and select Edit Settings.

2

Click the Resources tab and select CPU.

3

Allocate the CPU capacity for this virtual machine.

Option

Description

Shares

The values Low, Normal, High, and Custom are compared to the sum of all shares of all virtual machines on the server and, on ESX/ESXi hosts, the service console. You can use share allocation symbolic values to configure their conversion into numeric values.

Reservation

Guaranteed CPU allocation for this virtual machine.

Limit

Upper limit for this virtual machine’s CPU allocation. Select Unlimited to specify no upper limit.

4

Click OK to save your changes and close the dialog box.