Pcornel
Virtualization · CPU Virtualization

vNUMA

Cheat sheet · https://pcornel.dk/topic.php?topic=3483

Back to the Topic

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.

Remember

  • vNUMA exposes topology only above a vCPU threshold on some platforms.
  • Hot-add CPU can disable vNUMA.
  • Mismatched sockets/cores confuses the guest.

First checks

  • numactl -H — in guest: nodes visible
  • virsh dumpxml <vm> | grep -A5 numa — guest NUMA cells
  • Get-VMProcessor <vm> | fl MaximumCountPerNumaNode — Hyper-V vNUMA

Verify in this order

host nodes → vNUMA cells → guest scheduler

Where it usually breaks

First mismatch in host capability/IOMMU/NUMA → hypervisor allocation/mapping → virtual hardware model → guest driver/enumeration → workload use; preserve identity/native error/pre-state before mutation.

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3483

Confirmation

Confirm action

Continue?