Memory Hierarchy Lab

NVMe SSD → DDR5 DIMM → L3 / L2 / L1 → Core

Access path · illustrative
L1d1.0 ns
L24 ns
L314 ns
DRAM85 ns
SSD80 µs

Illustrative figures for a representative desktop CPU — the ratios are the lesson, not the absolute numbers.

Session counters
L1 hit rate
Page faults
0
Accesses
0
Total stall
0 ns
Physical RAM0 / 2048 MB

Memory calculation
Simulation replacement policy

Educational model. Real kernels only approximate LRU — Linux uses active/inactive lists with reference bits, Windows uses working sets plus standby and modified lists.
Modified/unmodified state here is randomised per reclamation for demonstration; a real system tracks a dirty bit per page in the page table entry.

Capacity2048 MB
Used0 MB
Free2048 MB
FIFO queue · first loaded, first out
LRU queue · least recently used first
Waiting — load an app to see the arithmetic.
RAM map · 2 GB
Free2048 MB
RAM
Speed 1.0×
🎓 Guided tour How to use this simulation
Step 1 of 13 ← → keys work too

Building the board…