Cache Memory
General Concept
CPU Core Caching
Cache Lines
Cache Memory
Associative Memory
Direct-Mapped Memory
Set Associative Memory
Cache Read/Write Policies
cache coherency
MESI protocol: (Modified, Exclusive, Shared, Invalid)
* Invalid lines are cache lines that are either not present in the cache, or whose contents are known to be stale. For the purposes of caching, these are ignored. Once a cache line is invalidated, it’s as if it wasn’t in the cache in the first place.
* Shared lines are clean copies of the contents of main memory. Cache line