6.0.1

Table Of Contents
Manual NUMA placement might interfere with ESXi resource management algorithms, which distribute
processor resources fairly across a system. For example, if you manually place 10 virtual machines with
processor-intensive workloads on one node, and manually place only 2 virtual machines on another node, it
is impossible for the system to give all 12 virtual machines equal shares of systems resources.
Associate Virtual Machines with Specific Processors
You might be able to improve the performance of the applications on a virtual machine by pinning its
virtual CPUs to fixed processors. This allows you to prevent the virtual CPUs from migrating across NUMA
nodes.
Procedure
1 Find the virtual machine in the vSphere Web Client inventory.
a To find a virtual machine, select a data center, folder, cluster, resource pool, or host.
b Click the Related Objects tab and click Virtual Machines.
2 Right-click the virtual machine and click Edit Settings.
3 Select the Virtual Hardware tab, and expand CPU.
4 Under Scheduling Affinity, set the CPU affinity to the preferred processors.
NOTE You must manually select all processors in the NUMA node. CPU affinity is specified on a per-
processor, not on a per-node, basis.
Associate Memory Allocations with Specific NUMA Nodes Using Memory
Affinity
You can specify that all future memory allocations on a virtual machine use pages associated with specific
NUMA nodes (also known as manual memory affinity).
NOTE Specify nodes to be used for future memory allocations only if you have also specified CPU affinity.
If you make manual changes only to the memory affinity settings, automatic NUMA rebalancing does not
work properly.
Procedure
1 Browse to the virtual machine in the vSphere Web Client navigator.
2 Click the Manage tab.
3 Click Settings, and click VM Hardware.
4 Click Edit.
5 Select the Virtual Hardware tab, and expand Memory.
6 Under NUMA Memory Affinity, set memory affinity.
Example: Binding a Virtual Machine to a Single NUMA Node
The following example illustrates manually binding the last four physical CPUs to a single NUMA node for
a two-way virtual machine on an eight-way server.
The CPUs (for example, 4, 5, 6, and 7) are the physical CPU numbers.
1 In the vSphere Web Client navigator, right-click the virtual machine and select Edit Settings.
2 Select Options and click Advanced.
3 Click the Configuration Parameters button.
Chapter 14 Using NUMA Systems with ESXi
VMware, Inc. 113