
Example 8-1. 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 Client inventory panel, select the virtual machine and select Edit Settings.
2 Select Options and click Advanced.
3 Click the Configuration Parameters button.
4 In the vSphere Client, turn on CPU affinity for processors 4, 5, 6, and 7.
Then, you want this virtual machine to run only on node 1.
1 In the vSphere Client inventory panel, select the virtual machine and select Edit Settings.
2 Select Options and click Advanced.
3 Click the Configuration Parameters button.
4 In the vSphere Client, set memory affinity 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.
Chapter 8 Using NUMA Systems with ESX/ESXi
VMware, Inc. 77