Title :
Nemos: a framework for axiomatic and executable specifications of memory consistency models
Author :
Yang, Yue ; Gopalakrishnan, Ganesh ; Lindstrom, Gary ; Slind, Konrad
Author_Institution :
Sch. of Comput., Utah Univ., Salt Lake City, UT, USA
Abstract :
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.
Keywords :
computability; constraint handling; formal specification; formal verification; multiprocessing programs; shared memory systems; Nemos specification framework; Nonoperational yet Executable Memory Ordering Specifications framework; PRAM; SAT solving; automated verification; axiomatic specifications; causal consistency; coherence; constraint logic programming; executable specifications; memory consistency models; memory consistency rules; memory model specification; multiprocessor programs; predicate logic; processor consistency; sequential consistency; shared memory semantics; shared memory systems; Coherence; Computer languages; Java; Logic programming; Phase change random access memory; Programming profession; Random access memory; Read-write memory; Software engineering; Yarn;
Conference_Titel :
Parallel and Distributed Processing Symposium, 2004. Proceedings. 18th International
Print_ISBN :
0-7695-2132-0
DOI :
10.1109/IPDPS.2004.1302944