Main Memory (RAM) ≈ Your Desk
Fast, tiny, and immediately reachable
The CPU can only read instructions and data currently sitting in main memory. In Denning’s 1970 hardware model, fetching a word from RAM takes roughly 1 microsecond—fast enough to keep pace with the processor, just like flipping open a folder sitting right on your desk.
Auxiliary Memory (Swap) ≈ The Filing Cabinet
Huge, cheap, and 10,000× slower
Everything that does not fit on the desk lives in auxiliary memory (a magnetic drum in 1970; SSD/swap space today). Walking down the hall to pull a folder from the filing cabinet takes at least 10 milliseconds—so a single trip to disk costs as much time as ten thousand desk lookups.
RAM Reference Time (δ)
1 μs
Electronic access speed
Swap Transport Time (T)
10 ms
10,000× slower than RAM
Manual Folding Overhead
+25–45%
Extra programmer effort (Sayre)
Optimal Page Size Rule
√(2cs₀)
Balances slack vs. table size