Pcornel
Browse topics
Options
Recent
Favorites
Virtualization · Technical reference

vNUMA

Direct answer

vNUMA presents a NUMA topology inside the VM that mirrors the host's nodes, so a large guest OS and its applications can place threads and memory locally. Keep the vCPU and socket layout aligned with the physical nodes.

When to use this

Use this when a large VM spans NUMA nodes and the guest OS or application must place threads and memory locally.

First 30 seconds

1. vNUMA exposes the host NUMA layout to large VMs.

2. Guest OS and apps (DBs) can then place memory well.

3. Match vNUMA to physical nodes.

4. Hot add can disable vNUMA.

5. Verify in guest.

Operational verification

host nodes → vNUMA cells → guest scheduler

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common mistakes
  • Odd vCPU counts that do not divide evenly across NUMA nodes.
  • CPU hot-add enabled, disabling vNUMA on vSphere.
  • Memory larger than one node while vCPUs fit in one node — memory is then remote.
Platform / version applicability
virtualization-hardware
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

Platformvirtualization-hardware
Scope / prerequisiteUse this when a large VM spans NUMA nodes and the guest OS or application must place threads and memory locally.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Checks Verify boundary
numactl --hardware            # host topology
lscpu | grep -i numa          # in the guest
coreinfo -n                   # Windows guest (Sysinternals)

The guest should see the same number of NUMA nodes the VM spans on the host. Hot-add CPU disables vNUMA on vSphere.

Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points
  • vNUMA exposes topology only above a vCPU threshold on some platforms.
  • Hot-add CPU can disable vNUMA.
  • Mismatched sockets/cores confuses the guest.
Key checks
  • numactl -H — in guest: nodes visible
  • virsh dumpxml <vm> | grep -A5 numa — guest NUMA cells
  • Get-VMProcessor <vm> | fl MaximumCountPerNumaNode — Hyper-V vNUMA
ReferenceWhy it matters1 section · depth on demand

When vNUMA matters

  • VMs with more vCPUs or memory than one physical NUMA node (for example > 16 cores or > 256 GB on a two-socket host).
  • NUMA-aware applications (SQL Server, Oracle, large JVMs).

Keep vCPU and memory sizes aligned to node boundaries, configure cores-per-socket to match the host, and avoid CPU hot-add, which disables vNUMA on vSphere. In the guest, lscpu or numactl --hardware (Linux) and Get-WmiObject Win32_Processor / Task Manager NUMA view show the topology.

ReferenceImportant terms & boundaries1 section · depth on demand

In depth

vNUMA exposes the host's NUMA layout to large VMs so the guest OS and applications (SQL Server, Oracle, JVMs) can keep threads and memory local. Crossing NUMA nodes costs memory latency (often 1.3–2× local).

Rules: keep a VM's vCPUs and memory within one NUMA node when possible (e.g. ≤ 16 vCPUs and ≤ 256 GB on a 2 × 16-core, 512 GB host); larger VMs should span nodes evenly and get vNUMA.

numactl --hardware         # in guest: nodes and distances
numastat -p qemu           # host: memory per NUMA node for VMs
qm set 120 --numa 1
Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docvirtualization-hardware current

Authoritative/upstream documentation reviewed for bounded claims in CPU Virtualization → vNUMA. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://libvirt.org/docs.html · confidence 94%
Confirmation

Confirm action

Continue?