Efficient Detection of Global Properties in Distributed Systems Using Partial-Order Methods

A new approach is presented for detecting whether a particular computation of an asynchronous distributed system satisfies \(\mathop{{\bf Poss}}\Phi\) (read “possibly Φ”), meaning the system could have passed through a global state satisfying predicate Φ, or \(\mathop{{\bf Def}}\Phi\) (read “definitely Φ”), meaning the system definitely passed through a global state satisfying Φ. Detection can be done easily by straightforward state-space search; this is essentially what Cooper and Marzullo proposed. We show that the persistent-set technique, a well-known partial-order method for optimizing state-space search, provides efficient detection. This approach achieves the same worst-case asymptotic time complexity as two special-purpose detection algorithms of Garg and Waldecker that detect \(\mathop{{\bf Poss}}\Phi\) and \(\mathop{{\bf Def}}\Phi\) for a restricted but important class of predicates. For \(\mathop{{\bf Poss}}\Phi\), our approach applies to arbitrary predicates and thus is more general than Garg and Waldecker’s algorithm. We apply our algorithm for \(\mathop{{\bf Poss}}\Phi\) to two examples, achieving a speedup of over 700 in one example and over 70 in the other, compared to unoptimized state-space search.

[1]  Keijo Heljanko,et al.  Using Logic Programs with Stable Model Semantics to Solve Deadlock and Reachability Problems for 1-Safe Petri Nets , 1999, Fundam. Informaticae.

[2]  Ajay D. Kshemkalyani,et al.  Causality and atomicity in distributed computations , 1998, Distributed Computing.

[3]  Michel Raynal,et al.  Specification and Verification of Behavioral Patterns in Distributed Computations , 1995 .

[4]  Yanhong A. Liu,et al.  Efficient Symbolic Detection of Global Properties in Distributed Systems , 1998, CAV.

[5]  Rajeev Alur,et al.  Model Checking of Message Sequence Charts , 1999, CONCUR.

[6]  Gerard J. Holzmann,et al.  Partial Order Methods in Verification , 1997 .

[7]  Alexander I. Tomlinson,et al.  Detecting relational global predicates in distributed systems , 1993, PADD '93.

[8]  Vijay K. Garg,et al.  Detection of Strong Unstable Predicates in Distributed Programs , 1996, IEEE Trans. Parallel Distributed Syst..

[9]  Patrice Godefroid,et al.  Partial-Order Methods for the Verification of Concurrent Systems , 1996, Lecture Notes in Computer Science.

[10]  Abraham Silberschatz,et al.  Operating System Concepts , 1983 .

[11]  Colin J. Fidge,et al.  Timestamps in Message-Passing Systems That Preserve the Partial Ordering , 1988 .

[12]  Antti Valmari,et al.  Stubborn set methods for process algebras , 1997, Partial Order Methods in Verification.

[13]  Vijay K. Garg,et al.  Detection of global predicates: Techniques and their limitations , 1998, Distributed Computing.

[14]  Friedemann Mattern,et al.  Virtual Time and Global States of Distributed Systems , 2002 .

[15]  Lhouari Nourine,et al.  Linear Space Algorithm for On-line Detection of Global Predicates , 1995, STRICT.

[16]  A. Prasad Sistla,et al.  Efficient distributed recovery using message logging , 1989, PODC '89.

[17]  Michel Raynal,et al.  Local states in distributed computations: a few relations and formulas , 1994, OPSR.

[18]  Keith Marzullo,et al.  Consistent detection of global predicates , 1991, PADD '91.

[19]  Leslie Lamport,et al.  Time, clocks, and the ordering of events in a distributed system , 1978, CACM.

[20]  Igor Walukiewicz,et al.  Difficult Configurations—On the Complexity of LTrL , 1998, Formal Methods Syst. Des..

[21]  Doron A. Peled,et al.  Ten Years of Partial Order Reduction , 1998, CAV.

[22]  Abraham Silberschatz,et al.  Operating System Concepts, 5th Edition , 1994 .

[23]  Subbarayan Venkatesan,et al.  Techniques to tackle state explosion in global predicate detection , 1994, Proceedings of 1994 International Conference on Parallel and Distributed Systems.

[24]  Vijay K. Garg,et al.  Detection of Weak Unstable Predicates in Distributed Programs , 1994, IEEE Trans. Parallel Distributed Syst..

[25]  Keith Marzullo,et al.  Detection of Global State Predicates , 1991, WDAG.

[26]  Rajeev Alur,et al.  Deciding Global Partial-Order Properties , 1998, Formal Methods Syst. Des..

[27]  Fred B. Schneider,et al.  Faster Possibility Detection by Combining Two Approaches , 1995, WDAG.

[28]  Anca Muscholl,et al.  Deciding Properties for Message Sequence Charts , 1998, FoSSaCS.