An Algorithm for Solving the Distributed Termination Detection Problem

Abstract In this paper we present an algorithm for solving the distributed termination detection problem. In particular, a strategy based on message counting is used to detect the termination of a distributed computation consisting of a set of processes asynchronously communicating over communication links. The proposed algorithm does not require the FIFO property for the communication links. The assumptions regarding the connectivity of the processes are very simple. For the proposed algorithm we demonstrate the correctness, we evaluate the message and the bit complexity and we give a detailed description of a MPI implementation.

[1]  Message P Forum,et al.  MPI: A Message-Passing Interface Standard , 1994 .

[2]  Subbarayan Venkatesan,et al.  A Message-Optimal Algorithm for Distributed Termination Detection , 1990, J. Parallel Distributed Comput..

[3]  Heikki Saikkonen,et al.  Distributed Termination Detection with Counters , 1990, Inf. Process. Lett..

[4]  Hussein Zedan,et al.  A Distributed Algorithm for Distributed Termination , 1987, Inf. Process. Lett..

[5]  Friedemann Mattern,et al.  Asynchronous distributed termination—parallel and symmetric solutions with echo algorithms , 1990, Algorithmica.

[6]  A. J. M. van Gasteren,et al.  Derivation of a Termination Detection Algorithm for Distributed Computations , 1983, Inf. Process. Lett..

[7]  R. K. Arora,et al.  A general network based on symmetric algorithm for distributed computations , 1987 .

[8]  Rodney W. Topor,et al.  Termination Detection for Distributed Computations , 1984, Inf. Process. Lett..

[9]  John N. Tsitsiklis,et al.  Parallel and distributed computation , 1989 .

[10]  Leslie Lamport,et al.  Distributed snapshots: determining global states of distributed systems , 1985, TOCS.

[11]  Devendra Kumar,et al.  Development of a Class of Distributed Termination Detection Algorithms , 1992, IEEE Trans. Knowl. Data Eng..

[12]  Michael Rodeh,et al.  Achieving Distributed Termination without Freezing , 1982, IEEE Transactions on Software Engineering.

[13]  Edsger W. Dijkstra,et al.  Termination Detection for Diffusing Computations , 1980, Inf. Process. Lett..