TY - JOUR
T1 - Volition
T2 - Scalable and precise sequential consistency violation detection
AU - Qian, Xuehai
AU - Torrellas, Josep
AU - Sahelices, Benjamin
AU - Qian, Depei
PY - 2013/4
Y1 - 2013/4
N2 - Sequential Consistency (SC) is the most intuitive memory model, and SC Violations (SCVs) produce unintuitive, typically incorrect executions. Most prior SCV detection schemes have used data races as proxies for SCVs, which is highly imprecise. Other schemes that have targeted data-race cycles are either too conservative or are designed only for two-processor cycles and snoopy-based systems. This paper presents Volition, the first hardware scheme that detects SCVs in a relaxed-consistency machine precisely, in a scalable manner, and for an arbitrary number of processors in the cycle. Volition leverages cache coherence protocol transactions to dynamically detect cycles in memory-access orders across threads. When a cycle is about to occur, an exception is triggered. Volition can be used in both directory- and snoopy-based coherence protocols. Our simulations of Volition in a 64-processor multicore with directorybased coherence running SPLASH-2 and Parsec programs shows that Volition induces negligible traffic and execution overhead. In addition, it can detect SCVs with several processors. Volition is suitable for on-the-fly use.
AB - Sequential Consistency (SC) is the most intuitive memory model, and SC Violations (SCVs) produce unintuitive, typically incorrect executions. Most prior SCV detection schemes have used data races as proxies for SCVs, which is highly imprecise. Other schemes that have targeted data-race cycles are either too conservative or are designed only for two-processor cycles and snoopy-based systems. This paper presents Volition, the first hardware scheme that detects SCVs in a relaxed-consistency machine precisely, in a scalable manner, and for an arbitrary number of processors in the cycle. Volition leverages cache coherence protocol transactions to dynamically detect cycles in memory-access orders across threads. When a cycle is about to occur, an exception is triggered. Volition can be used in both directory- and snoopy-based coherence protocols. Our simulations of Volition in a 64-processor multicore with directorybased coherence running SPLASH-2 and Parsec programs shows that Volition induces negligible traffic and execution overhead. In addition, it can detect SCVs with several processors. Volition is suitable for on-the-fly use.
KW - Memory Consistency
KW - Parallel Programming
KW - Sequential Consistency
KW - Shared-Memory Multiprocessors
UR - http://www.scopus.com/inward/record.url?scp=84880113175&partnerID=8YFLogxK
UR - http://www.scopus.com/inward/citedby.url?scp=84880113175&partnerID=8YFLogxK
U2 - 10.1145/2499368.2451174
DO - 10.1145/2499368.2451174
M3 - Article
AN - SCOPUS:84880113175
SN - 1523-2867
VL - 48
SP - 535
EP - 548
JO - ACM SIGPLAN Notices
JF - ACM SIGPLAN Notices
IS - 4
ER -