Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

NUMA and Memory Placement

Status Draft outlineSection The Machine

In a NUMA system, memory latency depends on which CPU accesses which physical pages. CPU placement and memory placement therefore form one decision.

Planned model

Place threads and pages on two sockets, then animate local and remote accesses, interconnect traffic, first-touch placement, and migration.

Questions

  • Who determines a page’s initial NUMA node?
  • When does replication beat shared remote access?
  • How can a thread be pinned correctly while its data remains remote?

Exercise

Partition a read-mostly table and mutable worker state across two sockets and explain every cross-node access that remains.