arrow
Return

An efficient delay-optimal distributed termination detection algorithm

delete2007-10-01
delete8
PRE
AI
N
Nihar R. Mahapatra
S
Shantanu Dutt *
DOI:10.1016/j.jpdc.2007.05.013delete
deleteOriginal
deleteShare
deleteSave
Abstract

Abstract

En 中文
Distributed termination detection is a fundamental problem in parallel and distributed computing and numerous schemes with different performance characteristics have been proposed. These schemes, while being efficient with regard to one performance metric, prove to be inefficient in terms of other metrics. A significant drawback shared by all previous methods is that, on most popular topologies, they take Omega(P) time to detect and signal termination after its actual occurrence, where P is the total number of processing elements. Detection delay is arguably the most important metric to optimize, since it is directly related to the amount of idling of computing resources and to the delay in the utilization of results of the underlying computation. In this paper, we present a novel termination detection algorithm that is simultaneously optimal or near-optimal with respect to all relevant performance measures on any topology. In particular, our algorithm has a best-case detection delay of Theta(1) and a finite optimal worst-case detection delay on any topology equal in order terms to the time for an optimal one-to-all broadcast on that topology (which we accurately characterize for an arbitrary topology). On k-ary n-cube tori and meshes, the worst-case delay is Theta(D), where D is the diameter of the target topology. Further, our algorithm has message and computational complexities of Theta(MD + P) in the worst case and, for most applications, Theta(M + P) in the average case-the same as other message-efficient algorithms, and an optimal space complexity of Theta(P), where M is the total number of messages used by the underlying computation. We also give a scheme using counters that greatly reduces the constant associated with the average message and cornputational complexities, but does not suffer from the counter-overflow problems of other schemes. Finally, unlike some previous schemes, our algorithm does not rely on first-in first-out (FIFO) ordering for message communication to work correctly. (C) 2007 Elsevier Inc. All rights reserved.
Keywords:
accumulation
broadcast
detection delay
distributed computation
k-ary n-cubes
message complexity
message passing
termination detection
Generative adversarial message passing-based anomaly detection
err2025-03-18
err0
errOAAI
errMa, Leilei; Zhang, Xiangfeng; Wang, Kedian; Hou, Xuejun; Chen, Lan; Han, Wenxu; Du, Xusheng
errShare
errSave
Efficient detection of a locally stable predicate in a distributed system
err2007-04-01
err8
errOAAI
errAtreya, Ranganath; Mittal, Neeraj; Kshemkalyani, Ajay D.; Garg, Vijay K.; Singhal, Mukesh
errShare
errSave
errShare
errSave

Journal

Journal of Parallel and Distributed Computing cover
Journal of Parallel and Distributed Computing
IF:
4
Papers:
3.8K
Citations:
5.7K

Organization

No organization information available
Cited Papers

Cited Papers

errShare
errSave
Role of the endoscope in cochlear implantation: A systematic review
err2022-01-11
err0
PREAI
errAlexandros Poutoglidis; Georgios Fyrmpas; Konstantinos Vlachtsis; George K. Paraskevas; Nikolaos Lazaridis; Stergiani Keramari; Konstantinos Garefis; Christodoulos Dimakis; Nikolaos Tsetsos
errShare
errSave
Guidelines of the French Society of ENT (SFORL): Drug-induced sleep endoscopy in adult obstructive sleep apnea syndrome
err2022-08-01
err0
errOAAI
errP.-L. Bastier; O. Gallet de Santerre; S. Bartier; A. De Jong; W. Trzepizur; K. Nouette-Gaulain; V. Bironneau; M. Blumen; F. Chabolle; G. de Bonnecaze; X. Dufour; E. Ameline; M. Kérimian; V. Latournerie; P.-J. Monteyrol; A. Thiery; S. Tronche; S. Vergez; E. Bequignon
errShare
errSave
researcher View more