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.

1

Select a virtual machine.

In the virtual machines and templates inventory tree, select a group of virtual machines and select a virtual machine from the list on the right.

Search for a virtual machine and select it from the search results list.

2

In the VM Hardware panel, click Edit Settings.

3

Click Virtual Hardware.

4

Click the CPU triangle to expand the CPU options.

5

Allocate the CPU capacity for the virtual machine.

Option

Description

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.

Shares

CPU shares for this virtual machine with respect to the parent’s total. Sibling virtual machines share resources according to their relative share values bounded by the reservation and limit. Select Low, Normal, or High, which specify share values respectively in a 1:2:4 ratio. Select Custom to give each virtual machine a specific number of shares, which express a proportional weight.

6

Click OK.