Cache Coherency · All levels
Requests, Snoops, and Dataflow
Message choreography from request injection through ownership resolution.
Module objective
Message choreography from request injection through ownership resolution.
Focus on mechanism-level reasoning over memorized templates.
Map every claim to a measurable metric and artifact.
Practice staff-grade communication through structured review language.
Topics
read-shared-and-read-unique-flows/ — ReadShared and ReadUnique Flows
writeback-evict-and-cleaning-paths/ — Writeback, Evict, and Cleaning Paths
forwarding-vs-memory-sourcing/ — Forwarding vs Memory Sourcing
Related topics
Cache coherency deep dive
Cache coherence is a correctness contract across caches, interconnect, and software ordering.
Concept diagram
requester -> coherence fabric -> owner or memory -> state updateMetric graph
traffic mix across request, snoop, response, dataMetrics and artifacts to collect
coherence latency
invalidation rate
retry rate
stale-read incidents
Mini case study
Anchor debug to first stale read and the exact line state transition.
Debug branches
Track ownership
Track ordering
Track evidence
Senior review question
Ask: what is the first line state transition that deviates, and which ordering rule does it break?