6.5.1

Table Of Contents
Prerequisites
Power off the virtual machine.
Procedure
1 Click Virtual Machines in the VMware Host Client inventory.
2 Right-click a virtual machine in the list and select Edit settings from the pop-up menu.
3 On the Virtual Hardware tab, expand CPU, and allocate 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 in relation 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.
4 Click Save.
Configure Processor Scheduling Anity
The Scheduling Affinity option gives you detailed control over how virtual machine CPUs are distributed
across the host's physical cores. The option supports hyperthreading if hyperthreading is enabled. ESXi
generally manages processor scheduling well, even when hyperthreading is enabled. These settings are
useful only for fine-tuning critical virtual machines.
Using CPU affinity, you can assign a virtual machine to a specific processor. This assignment allows you
to restrict the assignment of virtual machines to a specific available processor in multiprocessor systems.
This setting does not appear for virtual machines in a DRS cluster or when the host has only one
processor core and no hyperthreading.
For potential issues with CPU affinity, see the vSphere Resource Management documentation.
Prerequisites
n
Verify that the virtual machine is turned off.
n
Verify that the virtual machine does not reside in a DRS cluster.
n
Verify that the host has more than one physical processor core.
n
Privileges: Virtual machine.Configuration.Change resource
Procedure
1 Right-click a virtual machine in the inventory and select Edit Settings.
vSphere Virtual Machine Administration
VMware, Inc. 102