MYSIMULATOR / 2D LABS← Back to simulation gallery
Interactive science simulation

CPU Cache and Memory Latency Lab

Tune cache capacity, working-set size and locality to observe hit rates and average memory access time.

Computer architecture
Live simulationPAUSED

What you are exploring

A cache stores recently used memory blocks close to the CPU. Temporal and spatial locality improve hit rates. This direct-mapped model uses a fast cache hit and a much slower main-memory miss to estimate average access time.

Made with 🤖 ChatGPT