CPUs and architecture
In a typical computer, which lists the memory hierarchy from fastest to slowest access?
- ASSD → main memory → L2 cache → L1 cache → registers
- BMain memory → registers → SSD → L1 cache
- CRegisters → L1 cache → L2 cache → main memory (DRAM) → SSD
Show answer and explanation
Answer: C. Registers → L1 cache → L2 cache → main memory (DRAM) → SSD
Storage closer to the CPU is faster and smaller; farther away it is slower, larger and cheaper. Roughly: registers under one cycle, L1 about 1 ns (tens of KB), L2 a few ns (hundreds of KB to a few MB), L3 over ten ns (tens of MB), DRAM about 100 ns (tens of GB), and SSDs tens to 100 µs (several TB). Keeping hot data in the fast levels delivers fast, large and affordable storage overall.