Multi-core systems modeling for formal verification of parallel algorithms
Authors:
Open Access
- 23 July 2013
- journal article
- Published by Association for Computing Machinery (ACM) in ACM SIGOPS Operating Systems Review
- Vol. 47 (2) , 51-65
Abstract
Modeling parallel algorithms at the architecture level enables exploring side-effects of the weakly ordered nature of modern processors. Formal verification of such models with model-checking can ensure that algorithm guarantees will hold even in the presence of the most aggressive compiler and processor optimizations. This paper proposes a virtual architecture to model the effects of such optimizations. It first presents the OoOmem framework to model out-of-order memory accesses. It then presents the OoOisched framework to model the effects of out-of-order instruction scheduling. These two frameworks are explained and tested using weaklyordered memory interaction scenarios known to be affected by weak ordering. Then, modeling of user-level RCU (Read- Copy Update) synchronization algorithms is presented. It uses the virtual architecture proposed to verify that the RCU guarantees are indeed respected.Keywords
This publication has 15 references indexed in Scilit:
- A Better x86 Memory Model: x86-TSO2009
- An executable specification and verifier for relaxed memory orderIEEE Transactions on Computers, 1999
- The Alpha 21264 microprocessorIEEE Micro, 1999
- Value speculation scheduling for high performance processorsACM SIGOPS Operating Systems Review, 1998
- The model checker SPINIEEE Transactions on Software Engineering, 1997
- Combining partial order reductions with on-the-fly model-checkingFormal Methods in System Design, 1996
- Symbolic Boolean manipulation with ordered binary-decision diagramsACM Computing Surveys, 1992
- Efficiently computing static single assignment form and the control dependence graphACM Transactions on Programming Languages and Systems, 1991
- Graph-Based Algorithms for Boolean Function ManipulationIEEE Transactions on Computers, 1986
- Petri NetsACM Computing Surveys, 1977