Volition
Open Access
- 16 March 2013
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 535-548
Abstract
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 directory-based 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.Keywords
This publication has 22 references indexed in Scilit:
- Efficient sequential consistency via conflict ordering2012
- Effective Program Verification for Relaxed Memory Models2008
- Automatically classifying benign and harmful data races using replay analysis2007
- BulkSC2007
- An Improved Construction for Counting Bloom Filters2006
- Compiler techniques for high performance sequentially consistent java programs2005
- Automatic fence insertion for shared memory multiprocessing2003
- Hiding relaxed memory consistency with a compilerIEEE Transactions on Computers, 2001
- Analyses and Optimizations for Shared Address Space ProgramsJournal of Parallel and Distributed Computing, 1996
- Efficient and correct execution of parallel programs that share memoryACM Transactions on Programming Languages and Systems, 1988