Work

Memory Consistency Models using Constraints

Year: 2018
Type: preprint
Abstract: Memory consistency models (MCMs) are at the heart of concurrent programming. They represent the behaviour of concurrent programs at the chip level. To test these models small program snippets called litmus test are generated, which show allowed or forbidden behaviour of different MCMs. This paper is showcasing the use of constraint programming to automate the generation and testing of litmus tests for memory consistency models. We produce a few exemplary case studies for two MCMs, namely Sequential Consistency and Total Store Order. These studies demonstrate the flexibility of constrains programming in this context and lay foundation to the direct verification of MCMs against the software facing cache coherence protocols.
Authors: Hoffmann, Ruth, Akgün, Özgür, Sarkar, Susmit
Language: English
Open Access status: green
OpenAlex ID: W4289666876
Cites: 9
Cited by:
Related to: 10