Pcornel
Browse topics
Options
Recent
Favorites
Virtualization · Technical reference

NUMA · Memory

Direct answer

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.

When to use this

Use it when sizing large VMs, interpreting vNUMA/guest NUMA topology or troubleshooting locality-sensitive workloads.

First 30 seconds

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.

Operational verification

vCPU + memory placement → local/remote access

Evidence · next step

Inspect runtime placement/remote-memory metrics and benchmark the workload.

Continue only after interpreting the current observation.
Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common traps

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.

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 it when sizing large VMs, interpreting vNUMA/guest NUMA topology or troubleshooting locality-sensitive workloads.
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.

5 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 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 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
  • 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.
Key checks
  • numactl -H — host NUMA nodes
  • virsh numatune <vm> — VM NUMA policy
  • Get-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.

IssueEffect
VM memory larger than one nodeSome memory is remote
Host memory fragmented by many VMsHypervisor may place memory remotely
Migration between nodesHypervisor 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.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
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
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 VM Hardware → Memory → NUMA. Documentation verification only; this is not observed lab or production Evidence.

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

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.

Aliases that resolve here
numa vm hardwarevm numavirtual numa
Embedded reference data

Quick lookup tables

VM Hardware → Memory → NUMA reference map

Fast VM-hardware boundaries for VM Hardware → Memory → NUMA.

BoundaryMeaningEvidence limit
Host NUMAPhysical CPU/memory locality domainsBacking topology
VM sizevCPU/RAM footprintMay span nodes
vNUMAGuest-visible locality topologyVirtual presentation
Remote accessCPU accesses non-local memoryPerformance-sensitive
Confirmation

Confirm action

Continue?