Every time your CPU asks for a byte of data, memory makes it wait. A modern DRAM chip needs tens of nanoseconds just to open a row and deliver its contents — and while it recovers, nothing else can happen. At gigahertz clock speeds that pause is an eternity.
Memory interleaving is the answer the hardware industry settled on decades ago. Instead of one giant bank, the address space is sliced across independent banks, each with its own data and control lines. Consecutive addresses land in consecutive banks: address 0 in bank 0, address 1 in bank 1, … address in bank , then address wraps back to bank 0.
The payoff appears the moment you read a sequential burst. While bank 0 is still recovering from the first request, bank 1 already starts serving the second, bank 2 the third, and so on. The banks work in pipeline — and if there are enough of them, by the time bank 0 is asked for its next word it has already recovered. Latency hasn't shrunk at all; throughput has multiplied by .
This is the same insight behind CPU pipelines and instruction-level parallelism: overlap independent work so that idle hardware time disappears. Memory interleaving just applies it to the memory bus.
Comments
Loading comments...