Skip to main content

CPU Caching Diagram

This diagram illustrates level 2 cache. Level 1 cache, where the cache memory is built into the CPU, is also used.

Cache memory can work in both directions. When writing to main memory the data is first of all written to cache, allowing the CPU to continue working. The cache hardware then writes the data to main memory in its own time.

Next: Cache Types