A dynamic priority based algorithm for distributed deadlock detection and resolution

被引:0
|
作者
Wang, XL [1 ]
Mayo, J [1 ]
机构
[1] Michigan Technol Univ, Dept Comp Sci, Houghton, MI 49931 USA
关键词
deadlock detection; dynamic priority; distributed system;
D O I
暂无
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
In this paper we develop a distributed algorithm, using probes stamped with dynamic priorities, for detecting deadlocks in the single resource model. The correctness of the algorithm is proven. A dynamic priority is a pair (p, c) where p is a process and c is the counter value in p when p initiates a deadlock detection computation. The pair is called a detector when it is referenced in a process or a resource manager It is maintained in a process and a resource manager updated dynamically upon certain events, and used as the priority of a probe in a deadlock detection computation. Introduction of a dynamic priority to the probes, combined with a dynamically updated detector in a process and resource manager make the algorithm more efficient and less complex to implement than the existing ones. Our algorithm has an O(1) space complexity for each process. In certain cases, the algorithm uses n messages to detect a deadlock and has an O(n) detection delay where n is the number of processes and resource managers that are involved in the deadlock.
引用
收藏
页码:599 / 605
页数:7
相关论文
共 50 条
  • [1] A MODIFIED PRIORITY BASED PROBE ALGORITHM FOR DISTRIBUTED DEADLOCK DETECTION AND RESOLUTION
    CHOUDHARY, AN
    KOHLER, WH
    STANKOVIC, JA
    TOWSLEY, D
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1989, 15 (01) : 10 - 17
  • [2] A PRIORITY BASED DISTRIBUTED DEADLOCK DETECTION ALGORITHM
    SINHA, MK
    NATARAJAN, N
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1985, 11 (01) : 67 - 80
  • [3] CORRECTION TO A MODIFIED PRIORITY BASED PROBE ALGORITHM FOR DISTRIBUTED DEADLOCK DETECTION AND RESOLUTION
    CHOUDHARY, AN
    KOHLER, WH
    STANKOVIC, JA
    TOWSLEY, D
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1989, 15 (12) : 1644 - 1644
  • [4] A DISTRIBUTED SCHEME FOR DYNAMIC DEADLOCK DETECTION AND RESOLUTION
    LEE, DM
    KIM, MW
    [J]. INFORMATION SCIENCES, 1992, 64 (1-2) : 149 - 164
  • [5] A distributed deadlock detection and resolution algorithm for process networks
    Allen, Gregory E.
    Zucknick, Paul E.
    Evans, Brian L.
    [J]. 2007 IEEE INTERNATIONAL CONFERENCE ON ACOUSTICS, SPEECH, AND SIGNAL PROCESSING, VOL II, PTS 1-3, 2007, : 33 - +
  • [6] A Novel Priority-based Deadlock Detection and Resolution Algorithm in Mobile Agent Systems
    Lu, Wei
    Yang, Yong
    Wang, Liqiang
    Xing, Weiwei
    Che, Xiaoping
    [J]. DMS 2016: THE 22ND INTERNATIONAL CONFERENCE ON DISTRIBUTED MULTIMEDIA SYSTEMS, 2016, : 61 - 68
  • [7] An efficient generalized deadlock detection and resolution algorithm in distributed systems
    Farajzadeh, N
    Hashemzadeh, M
    Mousakhani, M
    Haghighat, AT
    [J]. FIFTH INTERNATIONAL CONFERENCE ON COMPUTER AND INFORMATION TECHNOLOGY - PROCEEDINGS, 2005, : 303 - 307
  • [8] A low communication cost algorithm for distributed deadlock detection and resolution
    Cordoba, A
    Fariña, F
    Garitagoitia, JR
    de Mendívil, JRG
    Villadangos, J
    [J]. ELEVENTH EUROMICRO CONFERENCE ON PARALLEL, DISTRIBUTED AND NETWORK-BASED PROCESSING, PROCEEDINGS, 2003, : 235 - 242
  • [9] A DISTRIBUTED DEADLOCK DETECTION AND RESOLUTION ALGORITHM AND ITS CORRECTNESS PROOF
    ELMAGARMID, AK
    SOUNDARARAJAN, N
    LIU, MT
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1988, 14 (10) : 1443 - 1452
  • [10] DISTRIBUTED DEADLOCK DETECTION ALGORITHM
    OBERMARCK, R
    [J]. ACM TRANSACTIONS ON DATABASE SYSTEMS, 1982, 7 (02): : 187 - 208