πŸ—“οΈ Aug 15, 2013⏱️ 1 min read

ESXi NUMA Alignment and vCPU Sizing: Why Bigger VMs Often Run Slower

How crossing physical NUMA node boundaries degrades database latency on ESXi hosts, and how to right-size vCPU and memory allocations.

πŸŽ™οΈ Listen to ArticleREADY
AI Audio Synthesis Narrator
Share Post:

β€œAdding four more vCPUs to a sluggish database VM that already fits inside a single physical socket often makes latency worse, not better.”

Understanding Remote Memory Penalties

Modern dual-socket ESXi hosts divide physical cores and RAM into distinct Non-Uniform Memory Access (NUMA) nodes. Accessing memory attached to the local CPU socket is fast; traversing the interconnect to the remote socket adds measurable latency and contention.

When a VM is sized wider than a single physical NUMA nodeβ€”either in vCPU count or memory footprintβ€”the hypervisor must span it across multiple NUMA clients (wide-VM). Combined with high %RDY (CPU Ready) times from over-allocated vCPUs, transactional workloads suffer unpredictable tail latency.

Practical Sizing Rules

  1. Keep VMs inside one NUMA node whenever possible: If your host has 10 physical cores and 128 GB RAM per socket, cap standard database VMs at 8 vCPUs and 96 GB RAM.
  2. Prefer Cores per Socket = 1 by default unless software licensing requires a specific socket count, allowing ESXi to present the optimal virtual NUMA topology automatically.
  3. Monitor %RDY and N%L in esxtop: Target < 5% CPU Ready and > 95% NUMA local memory (N%L) for latency-sensitive workloads.
EDGE RAG DEEP-LINK

πŸ€– Interrogate This Field Note in Digital Twin

Open in /twin ↗

Click a prompt below to immediately stream an architectural analysis from Virtual Sachin's RAG cognitive twin:

SKS

Sachin Kumar Sharma

Director (Cloud & Infrastructure Architecture) | Principal Agentic AI Architect | 20+ Yrs Exp

Architecting resilient multi-cloud enterprise landing zones, SDN overlay fabrics, DevSecFinOps automation pipelines, and autonomous Agentic AI platforms.

πŸ“¬

πŸ“¬ Stay Updated on Tech Releases

Sign up to get notified when I publish new production war stories, agentic AI architecture blueprints, or open-source infrastructure tools.

⚑ Theme Adaptive Shift
Switching layouts matching domain reading affinity...