Posts

Showing posts from September, 2026

01: Why Computers Need a Memory Hierarchy

Image
I'm starting this DDR series with a question that comes before the timing tables: why do computers need several kinds of memory? Registers are fast, and a solid-state drive can hold a lot of data. Why can't one of them do the whole job? To work that out, I need to compare how long data takes to arrive, how much can move at once, how much fits, and what happens when power is removed. Those are separate requirements. What I need to understand first Memory is not a single box. A modern system normally has several levels: Registers inside each processor core. One or more levels of cache , usually built from Static Random Access Memory (SRAM). Main memory , usually built from Dynamic Random Access Memory (DRAM), such as Double Data Rate (DDR) Synchronous DRAM. Persistent storage , such as a solid-state drive. Sometimes a still larger remote or archival layer. The levels near the processor are fast but small and expensive per bit. The levels farther away are larger and c...