Skip to content
Free public beta until December 4, 2026: every course is open, no card needed. After that, the first chapter of each course stays free and full access is a one-time $39 ($19 for up to 100 founding members chosen for helpful feedback). Your progress is kept. How the beta works

MESI protocol

A coherence protocol in which every cached line is Modified, Exclusive, Shared or Invalid; a core must hold a line alone before writing it.

MESI tracks each cache line as Modified (only copy, dirty), Exclusive (only copy, clean), Shared (clean, possibly in other caches) or Invalid; a write requires M or E, so writing a Shared line first invalidates all other copies (a request-for-ownership), and a read of another core's Modified line forces a write-back or transfer.

Examples

  • A line one core has just written is Modified in that core's cache and Invalid in every other.

Read the full section →