Next: State Transition Diagram Up: Ch04 Previous: ...

The ``Berkeley'' Protocol

 

Cache line states:

Read miss:
If another cache has the line in SHARED-DIRTY or DIRTY, it is supplied (changing state to SHARED-DIRTY). Otherwise the line comes from memory. The state of the line is set to VALID

Write hit:
No action if line is DIRTY. If VALID or SHARED-DIRTY, an invalidation is sent, and the local state set to DIRTY

Write miss:
Line comes from owner (as with read miss). All other copies set to INVALID, and line in requesting cache is set to DIRTY





Paul H J Kelly Mon Dec 1 20:13:28 GMT 1997