You can specify that all future memory allocations on a virtual machine use pages associated with a single NUMA node (also known as manual memory affinity). When the virtual machine uses local memory, the performance improves on that virtual machine.

The following conditions apply to memory optimization with NUMA:

The NUMA option is available on the Advanced Memory Resources page only if the host uses NUMA memory architecture.

Affinity settings are meaningful only when used to tweak the performance of a specific set of virtual machines on one host. This option is not available when the virtual machine resides on a DRS cluster. All affinity values are cleared when you move the virtual machine to a new host.

You can specify nodes to use 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.

Checking all the boxes is the same as applying no affinity.

For information about NUMA and advanced memory resources, including usage examples, see the Resource Management Guide.

1

In the vSphere Client inventory, right-click the virtual machine and select Edit Settings.

2

Select the Resources tab, and select Memory.

3

In the NUMA Memory Affinity panel, set the NUMA node affinity for the virtual machine.

No affinity

Use memory from nodes

4

Click OK to save your changes and close the dialog box.