



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




^3
Bus^ Directory^ Memory
Bus^ Directory^ Memory step^ State Addr Value State Addr Value Action Proc. Addr Value Addr State {Procs} Value P1: Write 10 to A^
^5
Bus^ Directory^ Memory step^ State Addr Value State Addr Value Action Proc. Addr Value Addr State {Procs} Value P1: Write 10 to A^
^6
Bus^ Directory^ Memory step^ State Addr Value State Addr Value Action Proc. Addr Value Addr State {Procs} Value P1: Write 10 to A^
P1: Read A1^ Excl.^ A1^10 P2: Read A1^ Shar.^ A^
p^ {^ }^1010 P2: Write 40 to A^
P1^ P2^ Bus^
Directory^ Memory step^ State Addr Value State Addr Value Action Proc. Addr Value Addr State {Procs} Value P1: Write 10 to A^
P1: Read A1^ Excl.^ A1^10 P2: Read A1^ Shar.^ A^
p^ {^ } Excl. A1 20 WrMs^ P2^ A1^10 Inv. Inval.^ P1^ A1^ A1^ Excl.^ {P2}^^10 P2: Write 40 to A^
(x,y initially 0)(x,y initially 0)(x,y initially 0)PPPPPP^1 21 21 2 w(x)1^ w(y)1w(x)1 w(y)1w(x)1^ w(y) w(x)1^ w(y)1r(y)1^ r(x)
w(x)1^ w(y)1w(x)1 w(y)1w(x)1^ w(y)1r(y)0^ r(x)1r(y)1 r(x)0r(y)0^ r(x) YES!^ YES!^
YES!^ No! / Assuming accesses atomic, can not come up w/ a single ordering that works.^ Î^ Sequential ConsistencyCMSC 411 - 24 (some from Patterson, Sussman, others)
^13
CMSC 411 - 24 (some from Patterson, Sussman, others)^
^15
SyncReadsReads CMSC 411 - 24 (some from Patterson, Sussman, others)^16
Drain theDrain thewrite bufferWriteson snoopy bus.ReleaseRelease Acquireq Reads CMSC 411 - 24 (some from Patterson, Sussman, others)^17
^18
^20