Abstract
A termination detection algorithm for a general model of distributed computations where processes communicate over asynchronous non-FIFO channels is presented. It has O(mn) message complexity if the control network is a ring, a (spanning) tree, or a general undirected graph and O(m) message complexity on star networks and complete networks. Several variants of the basic principle are discussed, one of which is a symmetric version where any process can start the algorithm independently from the other processes. Preliminary experimental results show that far less control messages than indicated by the worst case behavior are usually generated. In a distributed puzzle-solving system used as a test application only about √m control messages have been counted. The constraint based puzzle-solving method is explained and several test cases are reported.
This work was supported by the Deutsche Forschungsgemeinschaft (DFG) as part of the INCAS project (SFB124-D1). Electronic mail address: mattern@incas.UUCP or mattern%uklirb.uucp@Germany.csnet
Preview
Unable to display preview. Download preview PDF.
References
Beilken C., Mattern F. (1986) Verteiltes Problemlősen am Beispiel von Zahlenrätseln — Ein Experiment mit CSSA. Technical Report SFB124-29/86, Department of Computer Science, University of Kaiserslautern, West-Germany
Beilken C., Mattern F., Reinfrank M. (1985) Verteïlte Terminierung — ein wesentlicher Aspekt der Kontrolle in verteilten Systemen. Technical Report SFB124-41/85, Department of Computer Science, University of Kaiserslautern, West-Germany
Chang E.J.H. (1982) Echo Algorithms: Depth Parallel Operations on General Graphs. IEEE Transactions on Software Engineering SE-8:4, pp. 391–401
Chandy K.M., Misra J. (1981) Asynchronous Distributed Simulation via a Sequence of Parallel Computations. Comm. of the ACM 24:4, pp. 198–205
Chandy K.M., Misra J. (1986) How Processes Learn. Distributed Computing 1, pp. 40–52
Dijkstra E.W., Scholten C.S. (1980) Termination Detection for Diffusing Computations. Information Processing Letters 11:1, pp. 1–4
Eppstein D. (1987) On the NP-Completeness of Cryptarithms. ACM SIGACT News 18:3, pp. 38–40
Francez N. (1980) Distributed Termination. ACM Trans. on Prog. Lang. and Sys. 2:1, pp. 42–55
Francez N., Rodeh M. (1982) Achieving Distributed Termination without Freezing. IEEE Transactions on Software Engineering SE-8:3, pp. 287–292
Gafni E., Afek Y. (1984) Election and Traversal in Unidirectional Networks. Proc. of the 3rd Annual ACM Symposium on PODC, pp. 190–198
Hewitt C. (1977) Viewing Control Structures as Patterns of Passing Messages. Art. Intell. 8, pp. 323–364
Helary J.-M., Maddi A., Plouzeau N., Raynal M. (1987) Parcours et apprentissage dans un reseau de processus communicants. Technique et Science Informatiques 6:2, pp. 127–139
Helary J.-M., Maddi A., Raynal M. (1986) Calcul distribue d'un extremum et du routage associe dans un reseau quelconque. Technical Report 516, INRIA, France
Kornfeld W.A. (1981) The Use of Parallelism to Implement a Heuristic Search. Proc. of the International Joint Conference on Artificial Intelligence, pp. 575–580
Kumar D. (1985) A Class of Termination Detection Algorithms for Distributed Computations. In: Maheshwari N. (ed) Fifth Conference on Foundations of Software Technology and Theoretical Computer Science, Springer-Verlag, LNCS 206, pp. 73–100
Kutten S. (1987) Stepwise Construction of an Efficient Distributed Traversing Algorithm for General Strongly Connected Directed Graphs. Technical Report 431 (draft), Technion — Israel Institute of Technology, Computer Science Department, Haifa, Israel
Lai T.-H. (1986) Termination Detection for Dynamic Distributed Systems with Non-first-in-first-out Communication. Journal of Parallel and Distributed Computing 3, pp. 577–599
Mattern F., Beilken C. (1985) The Distributed Programming Language CSSA — a Very Short Introduction. Technical Report 123/85, Department of Computer Science, University of Kaiserslautern, West-Germany
Mattern F. (1987) Algorithms for Distributed Termination Detection. Distributed Computing 2:4 (to appear)
Mattern F. (1987) Asynchronous Distributed Termination — Parallel and Symmetric Solutions with Echo Algorithms. Technical Report SFB124-21/87, Department of Computer Science, University of Kaiserslautern, West-Germany
Nehmer J., Haban D., Mattern F., Rombach D., Wybranietz D. (1987) Key Concepts of the INCAS Multicomputer Project. IEEE Transactions on Software Engineering SE-13:8, pp. 913–923
Segal A. (1983) Distributed Network Protocols. IEEE Transactions on Inforamtion Theory IT-29:1, pp. 23–35
Shavit N., Francez N. (1986) A New Approach to Detection of Locally Indicative Stability. Technical Report RC 11925, IBM Th. J. Watson Research Center, Yorktown Heights, USA
Tan R.B., Van Leeuwen J. (1986) General Symmetric Distributed Termination Detection. Technical Report RUU-CS-86-2, Computer Science Department, University of Utrecht, Utrecht, The Netherlands
Tel G. (1987) Directed Network Protocols. In: Gafni E., Raynal M., Santoro N., van Leeuwen J., Zaks S. (eds) Proc. 2nd Int. Workshop on Distributed Algorithms, Springer-Verlag, LNCS
Topor R.W. (1984) Termination Detection for Distributed Computations. Information Processing Letters 18:1, pp. 33–36
Author information
Authors and Affiliations
Editor information
Rights and permissions
Copyright information
© 1988 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Mattern, F. (1988). Experience with a new distributed termination detection algorithm. In: van Leeuwen, J. (eds) Distributed Algorithms. WDAG 1987. Lecture Notes in Computer Science, vol 312. Springer, Berlin, Heidelberg. https://doi.org/10.1007/BFb0019800
Download citation
DOI: https://doi.org/10.1007/BFb0019800
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-19366-1
Online ISBN: 978-3-540-39239-2
eBook Packages: Springer Book Archive