wire / wire-format / cache-coherence-moesi

MOESI cache coherence protocol

MOESI extends MESI with an Owned (O) state: Modified (M), Owned (O), Exclusive (E), Shared (S), Invalid (I). Owned state: line is dirty and shared (this cache is responsible for writing back; others have read-only copies). Reduces write-backs compared to MESI (which requires M->I transition on snoop write, forcing a write-back).

wire-format kind wire-format status standard verification verified tier B wire-format@1

aka: MOESI cache coherence protocol

wire format

spec: MOESI (cache coherence)

MOESI extends MESI with an Owned (O) state: Modified (M), Owned (O), Exclusive (E), Shared (S), Invalid (I). Owned state: line is dirty and shared (this cache is responsible for writing back; others have read-only copies). Reduces write-backs compared to MESI (which requires M->I transition on snoop write, forcing a write-back).

fieldsizemeaning
Modified (M)stateDirty and exclusive. Write back on eviction.
Owned (O)stateDirty and shared. This cache owns the line (responsible for write-back). Others have read-only (S) copies.
Exclusive (E)stateClean and exclusive.
Shared (S)stateClean and shared (read-only).
Invalid (I)stateNot valid.
M->O transitionsnoop readWhen another cache reads a Modified line, it transitions to Owned (instead of Shared in MESI), keeping the dirty data in this cache.
O->I transitionsnoop writeOn a snoop write, Owned transitions to Invalid (write back first).

example:

00 00 00 00

MOESI states (placeholder)


provenance

agent: curl -H 'accept: application/json' wire.phall.io/wire-format/cache-coherence-moesi or /wire-format/cache-coherence-moesi.json