Use it when sizing large VMs, interpreting vNUMA/guest NUMA topology or troubleshooting locality-sensitive workloads.
NUMA · Memory
Large VMs can span host NUMA nodes. Hypervisors may present virtual NUMA topology so the guest scheduler and memory manager can make locality-aware decisions.
1. NUMA: each CPU socket has local memory; remote access is slower.
2. Keep VMs within one node where possible.
3. Large VMs need vNUMA.
4. Check per-node free memory.
5. Avoid NUMA spanning for latency-sensitive VMs.
vCPU + memory placement → local/remote access
Inspect runtime placement/remote-memory metrics and benchmark the workload.
Continue only after interpreting the current observation.Context & applicabilityCommon mistakes · platform/version boundaries
It does not show every memory page remains local or that topology is optimal under all runtime migrations/pressure.
Next check: Inspect runtime placement/remote-memory metrics and benchmark the workload.
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification path Verify boundary
host NUMA topology → hypervisor VM placement → virtual NUMA presentation → guest allocation/scheduling → workload
Step 2 Effective-state and workload closure Verify boundary
Compare guest utilization with host ready/steal/run-queue and NUMA placement over the same interval, then rerun the original latency/throughput workload.
Local intent: NUMA in VM Hardware describes how a VM's CPU and memory topology is presented relative to non-uniform memory access boundaries.
Step 3 Verification path Verify boundary
Exercise one safe negative or boundary case implied by unsupported CPU flag, NUMA mismatch, overcommit pressure, ballooning surprise, IOMMU group conflict, driver mismatch, hot-add limitation or device reset failure.
Step 4 Branching troubleshooting Narrow the fault
Concrete boundaries: guest thread → vCPU runnable → hypervisor scheduler → pCPU/NUMA placement → execution/steal-ready time → guest completion → workload latency.
Path: Virtualization → Memory → NUMA. Local intent: NUMA in VM Hardware describes how a VM's CPU and memory topology is presented relative to non-uniform memory access boundaries.
Step 5 Where it fails Narrow the fault
Walk host capability/IOMMU/NUMA → hypervisor allocation/mapping → virtual hardware model → guest driver/enumeration → workload use and stop where observed state diverges.
Common failure classes are unsupported CPU flag, NUMA mismatch, overcommit pressure, ballooning surprise, IOMMU group conflict, driver mismatch, hot-add limitation or device reset failure. Also consider stale management inventory, asynchronous task overlap, host capability mismatch, guest-agent/driver lag, CPU feature masking, NUMA pressure, backing-store latency, bridge/VLAN mismatch, MTU mismatch, snapshot chains, lock ownership and partial cluster membership.
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.
- NUMA means memory access latency/bandwidth depends on CPU-to-memory locality.
- Guest NUMA topology can be virtualized and need not exactly equal host topology.
- Cross-node placement can increase remote memory access.
- CPU and memory placement should be considered together.
numactl -H— host NUMA nodesvirsh numatune <vm>— VM NUMA policyGet-VMHostNumaNode— Hyper-V NUMA nodes
ReferenceWhat it is1 section · depth on demand
In depth
From the memory perspective, NUMA means RAM is divided into nodes, each local to a CPU socket. A VM whose memory is allocated on the same node as its vCPUs gets lower latency and higher bandwidth than one whose memory is spread across nodes.
| Issue | Effect |
|---|---|
| VM memory larger than one node | Some memory is remote |
| Host memory fragmented by many VMs | Hypervisor may place memory remotely |
| Migration between nodes | Hypervisor moves memory to follow vCPUs, costing bandwidth |
numastat -c qemu-kvm
numactl --hardware
virsh numatune app01 --mode strict --nodeset 0
Inside a guest that sees vNUMA, databases and other memory-intensive applications can use NUMA-aware allocation. Monitor remote memory access ratios (numastat, esxtop N%L) for latency-sensitive VMs.
ReferenceWhy it matters1 section · depth on demand
Internals and state
CPU pinning and NUMA topology alter placement but do not guarantee workload latency.
Local intent: NUMA in VM Hardware describes how a VM's CPU and memory topology is presented relative to non-uniform memory access boundaries.
ReferenceHow it works1 section · depth on demand
How it works
NUMA — execution path and state semantics. vCPU execution depends on guest runnable state, hypervisor scheduling, physical CPU availability, NUMA locality and contention/steal or ready time. CPU pinning and NUMA topology alter placement but do not guarantee workload latency.
ReferenceImportant terms & boundaries2 sections · depth on demand
What this shows and what it does not
Guest-visible NUMA nodes show topology presentation, not actual local physical placement for every page/vCPU over time.
Deep vNUMA, scheduler and locality metrics belong to CPU/Memory Virtualization.
vCPU execution depends on guest runnable state, hypervisor scheduling, physical CPU availability, NUMA locality and contention/steal or ready time. CPU pinning and NUMA topology alter placement but do not guarantee workload latency. Close with Compare guest utilization with host ready/steal/run-queue and NUMA placement over the same interval, then rerun the original latency/throughput workload. and state what the evidence does not show.
Mechanics
Follow the path in order: host capability/IOMMU/NUMA → hypervisor allocation/mapping → virtual hardware model → guest driver/enumeration → workload use.
Important negative cases include unsupported CPU flag, NUMA mismatch, overcommit pressure, ballooning surprise, IOMMU group conflict, driver mismatch, hot-add limitation or device reset failure.
ReferenceConfiguration & state1 section · depth on demand
Lifecycle
Host capabilities, cluster compatibility, guest drivers, virtual hardware versions, NUMA/CPU topology, backing storage, network switching and asynchronous task completion can converge at different times.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in VM Hardware → Memory → NUMA. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://libvirt.org/docs.html · confidence 94%Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Quick lookup tables
VM Hardware → Memory → NUMA reference map
Fast VM-hardware boundaries for VM Hardware → Memory → NUMA.
| Boundary | Meaning | Evidence limit |
|---|---|---|
| Host NUMA | Physical CPU/memory locality domains | Backing topology |
| VM size | vCPU/RAM footprint | May span nodes |
| vNUMA | Guest-visible locality topology | Virtual presentation |
| Remote access | CPU accesses non-local memory | Performance-sensitive |