Nemos: a framework for axiomatic and executable specifications of memory consistency models
Yue Yang, Ganesh Gopalakrishnan, Gary E. Lindstrom et al. · Proceedings - IEEE International Parallel and Distributed Processing Symposium · 2004
Summary form only given. Conforming to the underlying memory consistency rules is a fundamental requirement for implementing shared memory systems and developing multiprocessor programs. In order to promote understanding and enable automated verification, it is highly desirable that a memory model specification be both declarative and executable. We present a specification framework called Nemos (Nonoperational yet Executable Memory Ordering Specifications), which supports precise specification and automatic execution in the same framework. We employ a uniform notation based on predicate logic to define shared memory semantics in an axiomatic as well as compositional style. We also apply constraint logic programming and SAT solving to make the axiomatic specifications executable for memory model analysis. To illustrate our approach, we formalize a collection of classical memory models, including sequential consistency, coherence, PRAM, causal consistency, and processor consistency.
Cited by 87 works. doi:10.1109/ipdps.2004.1302944
Authors
References
- How to Make a Multiprocessor Computer That Correctly Executes Multiprocess Programs
- Chaff
- Constraint logic programming
- Memory consistency and event ordering in scalable shared-memory multiprocessors
- Introduction to HOL: a theorem proving environment for higher order logic
- Shared memory consistency models: a tutorial
- Myths about the mutual exclusion problem
- A unified formalization of four shared-memory models
- Reasoning About Parallel Architectures
- Causal memory: definitions, implementation, and programming