Addressing False Causality while Detecting Predicates in Distributed Programs
نویسندگان
چکیده
in Distributed Programs Ashis Tarafdar Vijay K. Garg Dept. of Computer Sciences Dept. of Electrical and Computer Engg. University of Texas at Austin University of Texas at Austin Austin, TX 78712 Austin, TX 78712 ([email protected]) ([email protected]) Abstract The partial-order model of distributed computations based on the happened before relation has been criticized for allowing false causality between events. Our strong causality model addresses this problem by allowing multiple local threads of control. This paper addresses the predicate detection problem for the class of weak conjunctive predicates in the strong causality model. We show that, in general, the problem is NP-complete. However, an e cient solution is demonstrated for a useful sub-case. Further, this solution can be used to achieve an exponential reduction in time for solving the general problem. Our predicate detection algorithms can be applied to distributed debugging when processes have independent events, as in multi-threaded processes.
منابع مشابه
Precluding Useless Events for On-Line Global Predicate Detections
Detecting global predicates is an important task in testing and debugging distributed programs. In this paper, we propose an approach that effectively precludes useless events for global predicate detection, facilitating the process of an independent on-line checking routine. To identify more useless events than a simple causality-check method can do, our method tracks and maintains the precede...
متن کاملDetection of Weak Unstable Predicates in Distributed Programs
|This paper discusses detection of global predicates in a distributed program. Earlier algorithms for detection of global predicates proposed by Chandy and Lamport work only for stable predicates. A predicate is stable if it does not turn false once it becomes true. Our algorithms detect even unstable predicates without excessive overhead. In the past, such predicates have been regarded as too ...
متن کاملEfficient Vector Clock for Predicate Detection in Multithreaded Programs
Monitoring global predicates is a fundamental concern in distributed and concurrent systems for its importance during the design, testing and debugging phases of program development. In this paper, we present a generalization of local predicates called the chain predicates. In the context of multithreaded programs, these predicates can be thought of as predicates defined over shared variables i...
متن کاملDetecting Temporal Logic Predicates in Distributed Programs Using Computation Slicing
Detecting whether a finite execution trace (or a computation) of a distributed program satisfies a given predicate, called predicate detection, is a fundamental problem in distributed systems. It finds applications in many domains such as testing, debugging, and monitoring of distributed programs. However predicate detection suffers from the state explosion problem – the number of possible glob...
متن کاملAn Algorithm for Debugging Parallel Distributed Programs
Analysing and debugging parallel and distributed programs is usually a difficult and not well explored problem. This is largely due to the non-deterministic nature of the run-time states of these processes, and results in a general lack of adequate parallel debugging tools. In this paper, we present solutions for the problem of detecting global generalized conjunctive predicates (GCP). For this...
متن کامل