6.0.1

Table Of Contents
Virtual CPU Limitations
The maximum number of virtual CPUs that you can assign to a virtual machine is 128. The number of
virtual CPUs depends on the number of logical CPUs on the host, and the type of guest operating system
that is installed on the virtual machine.
Be aware of the following limitations:
n
A virtual machine cannot have more virtual CPUs than the number of logical cores on the host. The
number of logical cores is equal to the number of physical cores if hyperthreading is disabled or two
times that number if hyperthreading is enabled.
n
Not every guest operating system supports Virtual SMP, and guest operating systems that support this
functionality might support fewer processors than are available on the host. For information about
Virtual SMP support, see the VMware Compatibility Guide at
http://www.vmware.com/resources/compatibility.
n
Hyperthreaded hosts might affect virtual machine performance, depending on the workload. The best
practice is to test your workload to determine whether to enable or disable hyperthreading on your
hosts.
Configuring Multicore Virtual CPUs
VMware multicore virtual CPU support lets you control the number of cores per virtual socket in a virtual
machine. This capability lets operating systems with socket restrictions use more of the host CPU's cores,
which increases overall performance.
IMPORTANT When you configure your virtual machine for multicore virtual CPU settings, you must ensure
that your configuration complies with the requirements of the guest operating system EULA.
Using multicore virtual CPUs can be useful when you run operating systems or applications that can take
advantage of only a limited number of CPU sockets.
You can configure a virtual machine that runs on an ESXi host 6.0 and later to have up to 128 virtual CPUs.
A virtual machine cannot have more virtual CPUs than the actual number of logical CPUs on the host. The
number of logical CPUs means the number of physical processor cores or two times that number if
hyperthreading is enabled. For example, if a host has 128 logical CPUs, you can configure the virtual
machine for 128 virtual CPUs.
You configure how the virtual CPUs are assigned in terms of cores and cores per socket. Determine how
many CPU cores you want in the virtual machine, then select the number of cores you want in each socket,
depending on whether you want a single core CPU, dual-core CPU, tri-core CPU, and so on. Your selection
determines the number of sockets that the virtual machine has.
For more information about multicore CPUs, see the vSphere Resource Management documentation.
Change CPU Hot Plug Settings
By default, you cannot add CPU resources to a virtual machine when the virtual machine is turned on. The
CPU hot plug option lets you add CPU resources to a running virtual machine.
The following conditions apply:
n
For best results, use virtual machines that are compatible with ESXi 5.0 or later.
n
Hot-adding multicore virtual CPUs is supported only with virtual machines that are compatible with
ESXi 5.0 or later.
n
Not all guest operating systems support CPU hot add. You can disable these settings if the guest is not
supported.
vSphere Virtual Machine Administration
96 VMware, Inc.