When you associate a NUMA node with a virtual machine to specify NUMA node affinity, you constrain the set of NUMA nodes on which NUMA can schedule a virtual machine's virtual CPU and memory.

Before you begin

Launch the vSphere Client and log in to a vCenter Server system.

About this task

Note:

When you constrain NUMA node affinities, you might interfere with the ability of the ESXi NUMA scheduler to rebalance virtual machines across NUMA nodes for fairness. Specify NUMA node affinity only after you consider the rebalancing issues.

Procedure

  1. In the vSphere Client, right-click the virtual machine in the inventory and select Edit Settings.
  2. Click the Options tab.
  3. Select Advanced > General.
  4. Click Configuration Parameters.
  5. Click Add Row to add a new option.
  6. In the Name column, enter numa.nodeAffinity.
  7. 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.

  8. Click OK.
  9. Click OK to close the Virtual Machine Properties dialog box.