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.
About this task
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 modify 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 documentation.
- In the vSphere Client inventory, right-click the virtual machine and select Edit Settings.
- Select the Resources tab, and select Memory.
- In the NUMA Memory Affinity panel, set the NUMA node affinity for the virtual machine.
Use memory from nodes
- Click OK to save your changes.