An efficient delay-optimal distributed termination detection algorithm

被引:7
|
作者
Mahapatra, Nihar R.
Dutt, Shantanu
机构
[1] Univ Illinois, Dept Elect & Comp Engn, Chicago, IL 60607 USA
[2] Michigan State Univ, Dept Elect & Comp Engn, E Lansing, MI 48824 USA
基金
美国国家科学基金会;
关键词
accumulation; broadcast; detection delay; distributed computation; k-ary n-cubes; message complexity; message passing; termination detection;
D O I
10.1016/j.jpdc.2007.05.013
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
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.
引用
收藏
页码:1047 / 1066
页数:20
相关论文
共 50 条
  • [2] A delay-optimal quorum-based mutual exclusion algorithm for distributed systems
    Cao, GH
    Singhal, M
    IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS, 2001, 12 (12) : 1256 - 1268
  • [3] A MESSAGE-OPTIMAL ALGORITHM FOR DISTRIBUTED TERMINATION DETECTION
    CHANDRASEKARAN, S
    VENKATESAN, S
    JOURNAL OF PARALLEL AND DISTRIBUTED COMPUTING, 1990, 8 (03) : 245 - 252
  • [4] Delay-Optimal Distributed Edge Computing in Wireless Edge Networks
    Gong, Xiaowen
    IEEE INFOCOM 2020 - IEEE CONFERENCE ON COMPUTER COMMUNICATIONS, 2020, : 2629 - 2638
  • [5] Delay-Optimal Distributed Computation Offloading in Wireless Edge Networks
    Gong, Xiaowen
    Chen, Mingyu
    Cao, Yang
    Li, Dongsheng
    IEEE-ACM TRANSACTIONS ON NETWORKING, 2024, 32 (04) : 3376 - 3391
  • [6] A delay-optimal group mutual exclusion algorithm for a tree network
    Internet Services Qualcomm, Inc., San Diego, CA 92126, United States
    不详
    J. Inf. Sci. Eng., 2008, 2 (573-583):
  • [7] A delay-optimal group mutual exclusion algorithm for a tree network
    Madenur, Vinay
    Mittal, Neeraj
    JOURNAL OF INFORMATION SCIENCE AND ENGINEERING, 2008, 24 (02) : 573 - 583
  • [8] Delay-Optimal Coded Offloading for Distributed Edge Computing in Fading Environments
    He, Xiaofan
    Li, Tianheng
    Jin, Richeng
    Dai, Huaiyu
    IEEE TRANSACTIONS ON WIRELESS COMMUNICATIONS, 2022, 21 (12) : 10796 - 10808
  • [9] Delay-Optimal and Energy-Efficient Communications With Markovian Arrivals
    Zhao, Xiaoyu
    Chen, Wei
    Lee, Joohyun
    Shroff, Ness B.
    IEEE TRANSACTIONS ON COMMUNICATIONS, 2020, 68 (03) : 1508 - 1523
  • [10] Delay-Optimal Distributed Resource Allocation for Device-to-Device Communications
    Kuang, Yiru
    Lei, Lei
    Zhong, Zhangdui
    2015 IEEE 82ND VEHICULAR TECHNOLOGY CONFERENCE (VTC FALL), 2015,