Cache coherence: MESI/MOESI without the bus-lock myth
CPU and Memory in the Exchange Data Path · Advanced → Expert
Structured lesson outlineThis lesson's video and full tutorial are not yet published. The learning objectives and exercises below outline what the finished lesson will cover.
Learning objectives
Focus on the underlying model and the engineering decisions rather than memorizing a single code snippet.
- 01
Trace cache-line state transitions between cores
- 02
Separate coherence traffic from atomic ordering
- 03
Explain why shared writes become expensive
Hands-on exercise
Measure one-writer and two-writer access to the same cache line.
What a good result looks like
A state-transition explanation tied to a measured scaling result.
APPLY WHAT YOU LEARN
3 related C++ topicsC++ practice problems
01Benchmark Lock-Based Versus Lock-Free Queues FairlyConcurrency · HardIn review02Build a Lock-Free Stack with ABA ProtectionConcurrency · HardIn review03Implement a Correct SPSC Lock-Free Ring BufferConcurrency · HardIn review
In-review topics are curriculum-linked challenge plans, not yet complete runnable tasks.
Progress is saved on this device.