Memory Zones & NUMA

korean cabaret, ambient house breakstep, grime reggaeton, samba boom bap

Listen on 93

Lyrics

[Verse 1]
Inside your motherboard mansion, memory lives in districts three
DMA zone below sixteen megabytes, where ancient hardware roams free
ISA controllers from yesteryear, can only speak this dialect low
While Normal zone holds most your data, where thirty-two bit addresses flow

[Chorus]
DMA, Normal, HighMem too
Memory zones split in view
NUMA nodes scattered wide
Where your data loves to hide
Distance matters, latency climbs
Cross-socket access costs you time

[Verse 2]
HighMem floats beyond the boundary that thirty-two bit kernels see
Needs special mapping just to touch it, temporary windows hold the key
But sixty-four bit systems conquered this architectural divide
Now all that memory sits accessible, no more mapping games to ride

[Chorus]
DMA, Normal, HighMem too
Memory zones split in view
NUMA nodes scattered wide
Where your data loves to hide
Distance matters, latency climbs
Cross-socket access costs you time

[Bridge]
Processor zero loves its local RAM, lightning fast and close at hand
But reach across to socket three, and watch those nanoseconds expand
Topology maps the memory maze, affinity keeps threads aligned
Schedule wisely, allocate near, or performance gets left behind

[Verse 3]
Interleaved spreads pages randomly, bandwidth gains but distance varies
While local first keeps data close, though hotspots sometimes make nodes wary
Memory controllers multiply, each socket owns its private stash
But sharing means you pay the price in interconnect fabric cash

[Chorus]
DMA, Normal, HighMem too
Memory zones split in view
NUMA nodes scattered wide
Where your data loves to hide
Distance matters, latency climbs
Cross-socket access costs you time

[Outro]
When designing scalable systems, remember where the bytes reside
Zone-aware and NUMA-conscious keeps performance on your side

← Kernel Memory Allocators | Page Cache & Buffer Management →