6.5.1

Table Of Contents
4 Click Edit.
5 Select the Virtual Hardware tab, and expand Memory.
6 Under NUMA Memory Anity, set memory anity.
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 .
2 Select Options and click Advanced.
3 Click the  Parameters buon.
4 In the vSphere Web Client, turn on CPU anity for processors 4, 5, 6, and 7.
Then, you want this virtual machine to run only on node 1.
1 In the vSphere Web Client inventory panel, select the virtual machine and select Edit .
2 Select Options and click Advanced.
3 Click the  Parameters buon.
4 In the vSphere Web Client, set memory anity for the NUMA node to 1.
Completing these two tasks ensures that the virtual machine runs only on NUMA node 1 and, when
possible, allocates memory from the same node.
Associate Virtual Machines with Specified NUMA Nodes
When you associate a NUMA node with a virtual machine to specify NUMA node anity, you constrain the
set of NUMA nodes on which NUMA can schedule a virtual machine's virtual CPU and memory.
N When you constrain NUMA node anities, you might interfere with the ability of the ESXi NUMA
scheduler to rebalance virtual machines across NUMA nodes for fairness. Specify NUMA node anity only
after you consider the rebalancing issues.
Procedure
1 Browse to the cluster in the vSphere Web Client object navigator.
2 Click the  tab and click .
3 Under VM Options, click the Edit buon.
4 Select the VM Options tab and expand Advanced.
5 Under  Parameters, click the Edit  buon.
6 Click Add Row to add a new option.
7 In the Name column, enter numa.nodeAffinity.
8 In the Value column, enter the NUMA nodes where the virtual machine can be scheduled.
Use a comma-separated list for multiple nodes. For example, enter 0,1 to constrain the virtual machine
resource scheduling to NUMA nodes 0 and 1.
9 Click OK.
10 Click OK to close the Edit VM dialog box.
Chapter 14 Using NUMA Systems with ESXi
VMware, Inc. 113