NUMA (non-uniform memory access)
NUMA means that in a server with more than one processor, each processor reaches its own memory faster than the memory attached to the other one.
In plain words
In a two-socket server, each processor has its own memory modules attached directly. A program running on processor A can use processor B's memory too, but the request must cross the link between the two processors, and that takes longer and has less bandwidth than local memory. The memory is therefore not uniform in speed: hence the name.
The group of cores plus the memory attached to them is called a NUMA node. Operating systems and hypervisors know about it, and they try to keep a program's threads and its memory in the same node. Problems arise when a program or a virtual machine is larger than one node, for example a virtual machine given more vCPUs or more memory than one processor holds. Its threads then reach remote memory often, and it can run noticeably slower than the same machine on a single socket.
Some processors divide further. AMD EPYC processors can be set to present one, two or four nodes per socket, and the setting changes the balance between delay and bandwidth. Databases and virtualization platforms publish guidance on the right setting.
The simple design rule is to keep memory balanced across the sockets, size virtual machines to fit in one node where you can, and consider a single-socket server when a workload fits, because it largely avoids the question (some processors can still present more than one node per socket).
By the KComputers Team
Published
Why it matters when you buy a server
NUMA is one reason a one-socket server with many cores can beat a two-socket server for some workloads, and why memory must be equal on both sockets. If a licence is priced per core, an extra socket also raises the licence bill, so the choice is worth a short discussion before the quotation.
Keep reading
Sources: AMD EPYC tuning guides (NUMA nodes per socket); Intel documentation on sub-NUMA clustering; Operating system and hypervisor NUMA documentation.
Related terms
Socket (CPU socket)
A socket is the physical holder on the system board for one processor; a two-socket server has two processors working together.
Memory channel
A memory channel is one independent path between a processor and its memory modules; more channels mean more memory bandwidth.
DIMM population
DIMM population is the rule for which memory slots to fill, and with what, so that every channel is used evenly and the memory runs at full speed.
vCPU (virtual CPU)
A vCPU is a virtual processor given to a virtual machine; the hypervisor runs it on one of the server's real threads.
Cores and threads
A core is one processing unit inside a processor; a thread is a stream of instructions a core can run, and many cores run two threads at once.
Tell us what the server must run.
An engineer checks the configuration against the manufacturer's specifications and replies with a formal quotation.