How to Configure Virtual NUMA for VMM

 

Updated: May 13, 2016

Applies To: System Center 2012 SP1 - Virtual Machine Manager, System Center 2012 R2 Virtual Machine Manager

Starting with System Center 2012 Service Pack 1 (SP1), you can use Virtual Machine Manager (VMM) to configure, deploy, and manage the virtual Non-Uniform Memory Access (NUMA) features that were introduced in Hyper-V in Windows Server 2012. For more information about these features, see Deploying Virtual NUMA for VMM. This topic provides the following procedures for configuring virtual NUMA:

  1. Configuring virtual NUMA settings—When a new virtual machine is created, Hyper-V specifies the default settings for virtual NUMA. These settings are in sync with the NUMA topology of the Hyper-V host. For example, if a host has 16 cores and 64 GB divided evenly between two NUMA nodes, with two NUMA nodes per physical processor socket, then by default, a virtual machine that was created on the host will have the Maximum processors per virtual NUMA node property set to 8, the Maximum virtual NUMA nodes per socket set to 2, and the Maximum memory per virtual NUMA node (MB) property set to 32 GB. You can modify the default values as required.

  2. Enable virtual NUMA spanning—If virtual NUMA spanning is enabled, then individual virtual NUMA nodes can allocate non-local memory. If the setting is not enabled, each node uses memory from only one physical NUMA node. Note that whether spanning is enabled or not, virtual nodes can be allocated memory from the same or different underlying host NUMA nodes, based on the physical host topology. NUMA spanning is enabled by default.

Configuring virtual NUMA settings

Use this procedure to enable and configure virtual NUMA.

To configure virtual NUMA settings

  1. In the Advanced section of the virtual machine or virtual machine template properties, click Virtual NUMA.

  2. In Maximum processors per virtual NUMA node, specify the maximum number of virtual processors that belong to the same virtual machine and that can be used concurrently on a virtual NUMA node. Configure this setting to ensure maximum bandwidth. different NUMA virtual machines to use different NUMA nodes. The minimum limit is 1 and the maximum is 32.

  3. In Maximum memory per virtual NUMA node (MB), specify the maximum amount of memory (MB) that can be allocated to a single virtual NUMA node. The minimum limit is 8 MB and the maximum is 256 GB.

  4. In Maximum virtual NUMA nodes per socket, specify the maximum number of virtual NUMA nodes that are allowed on a single socket. The minimum number is 1 and the maximum is 64.

Enable virtual NUMA spanning

Use this procedure to enable or disable virtual NUMA spanning.

To enable or disable virtual NUMA spanning

  1. In the Virtual NUMA properties page, to enable spanning, select Allow virtual machine to span hardware NUMA nodes. Clear the check box to disable spanning.

See Also

Deploying Virtual NUMA for VMM