flâneur

A very concrete explanation of how a cache works

parksb.github.io · 2,940 words · saved by 3 readers

KO | EN As technology has advanced, processor speed has risen quickly, but memory speed hasn’t kept up. No matter how fast a processor is, if memory responds slowly the whole system ends up slow. The device that addresses this is the cache. A cache is a small, fast memory that sits inside the CPU ch...

A hash table implemented in hardware 2019.03.30 KO | EN Principle of Locality Caches Cache Metrics Cache Organization Indexing Tag Matching Tag Overhead Associative Cache Set Associative Cache Organization Concrete Example Handling Cache Writes Software Restructuring References As technology has advanced, processor speed has risen quickly, but memory speed hasn’t kept up. No matter how fast a processor is, if memory responds slowly the whole system ends up slow. The device that addresses this is the cache. A cache is a small, fast memory that sits inside the CPU chip. (It’s…

saved by

related reading