Skip to content

amba-chi · Topic

Cache Coherency Foundations — Why Coherence Protocols Exist

The problem coherence solves — private caches, shared memory, and the guarantees a coherence protocol must provide.

Coherence exists because caches are private and memory is shared. Once two agents can each hold a copy of the same line, something must guarantee that a read returns a value consistent with the writes that happened. Every coherence protocol is a different answer to that question, and the differences are mostly about how much traffic they spend to keep the guarantee.

Lessons in this topic(9)

Start hereWhy Cache Coherency ExistsAMBA CHI Why Cache Coherency Exists
  1. 2The Multi-Core Problem
  2. 3Shared Memory Systems
  3. 4Cache Hierarchy Review
  4. 5The Stale Data Problem
  5. 6The Write Visibility Problem
  6. 7The Read Visibility Problem
  7. 8Why AXI Is Not Enough
  8. 9Introduction to Coherency