↓ Skip to main content
  1. Posts/

KB 2040375: vCPU Hot-Plug disables vNUMA

Rene van den Bedem
Author
Rene van den Bedem
Agentic AI/SI, architecture, design, and certification posts.

This operational risk/misconfiguration was detected by a visiting SQL server consultant from Microsoft at my organisation recently.  Just goes to show how you can achieve the VCDX and still know nothing.

Use Case: SQL Server 2012 running on Windows Server 2012 with vSphere 5.1 configured for 16 vCPU/128GB RAM on an ESXi host with 2 x 10 Core sockets and 512GB RAM.

vCPU Hot-plug is configured and since the VM has more than 8 vCPU, we ASSUMED that vNUMA was enabled and did not check it.  WRONG! When CPU Hot-plug is enabled, vNUMA is disabled and reverts to Uniform Memory Access with interleaving.  SQLPerformance also has a good write-up.

If you have large VMs with modern applications and operating systems that you ASSUME are using vNUMA, check them just to be sure.

Related

Host Design – Scale Up or Scale Out?

When you first start learning about virtualisation as an architect, the first design question you will learn is: “Scale Up or Scale Out?” The basis of the question is quite simple: “Do I buy a small number of hosts with a large amount of resources, or do I buy a large number of hosts with a small amount of resources?” Simply put: “Can I afford to put all of my eggs in one basket?” The answer to that question varies, depending on the business requirements and constraints of your customer.

Archived comments (2)

Comments are closed. These were imported from the original WordPress site.

  1. Martin Hosken VCDX #117 ·

    Only today I had to explain this to a customer.

    There are a couple of reasons why the Hot-Add features shouldn’t be enabled on your templates. This is why VMware doesn’t have these features enabled by default.

    1) Operating System and Application Supportability, not all Operating Systems support hot-add. Even if the OS supports it, to get any benefit, the application itself needs to support hot-add too. For instance, Windows 2008 R2 Enterprise running SQL Server 2008. Additional changes in SQL are likely to be required.

    2) Additional Memory Overhead, when you enable Hot-Add on the virtual machine, the amount of memory overhead that will be used to run that VM will increase. For instance, in vSphere 5.1, the amount of memory overhead used when enabling Hot-Add will be equivalent to a VM that is configured with 64 vCPUs and 1TB of vRAM (the maximum virtual resources available for the VM). If enabled by default on your templates this small overhead will add up quickly.

    3) vNUMA is disabled on the Virtual Machine when the Hot-Add feature is enabled on a virtual machine, vNUMA is automatically disabled – which by default is enabled on VMs that have 8 or more vCPUs configured.

    So you have to consider these drawbacks when deciding your use cases. “
    Martin Hosken
    VCDX #117

    1. vcdx133 ·

      Thank you Martin, great insights.