Skip to content

NUMA

Non-Uniform Memory Access

Spicy — senior dev territoryArchitecture

ELI5 - The Vibe Check

On a big multi-socket server, not all memory is created equal, memory attached to your CPU socket is fast to reach, and memory attached to the other socket is noticeably slower because the request has to hop across an interconnect. NUMA is that reality, and it means where you place your data and which core you run a thread on can matter more than how clever your algorithm is.

Real Talk

NUMA is a memory architecture used in multi-socket servers where each CPU socket has its own local memory bank that it can access quickly, while accessing memory attached to a different socket requires crossing an interconnect and incurs higher latency. NUMA-aware applications and operating systems try to schedule threads on the same socket as the memory they access most, since naive memory placement can silently cut throughput in half on large machines.

When You'll Hear This

"That mysterious 2x slowdown was NUMA, the process got scheduled on the wrong socket." / "We pin threads to a NUMA node so they only touch local memory."

Made with passive-aggressive love by manoga.digital. Powered by Claude.