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 条
  • [41] AN EFFICIENT DEADLOCK DETECTION AND RESOLUTION ALGORITHM FOR GENERALIZED DEADLOCKS
    Lu, Wei
    Yu, Chengkai
    Xing, Weiwei
    Che, Xiaoping
    Yang, Yong
    [J]. INTERNATIONAL JOURNAL OF INNOVATIVE COMPUTING INFORMATION AND CONTROL, 2017, 13 (02): : 703 - 710
  • [42] TOWARDS EFFICIENT ALGORITHMS FOR DEADLOCK DETECTION AND RESOLUTION IN DISTRIBUTED SYSTEMS
    WANG, SH
    VOSSEN, G
    [J]. PROCEEDINGS : FIFTH INTERNATIONAL CONFERENCE ON DATA ENGINEERING, 1989, : 287 - 294
  • [43] DISTRIBUTED STORE-AND-FORWARD DEADLOCK DETECTION AND RESOLUTION ALGORITHMS
    CIDON, I
    JAFFE, JM
    SIDI, M
    [J]. IEEE TRANSACTIONS ON COMMUNICATIONS, 1987, 35 (11) : 1139 - 1145
  • [44] DISTRIBUTED DEADLOCK DETECTION
    CHANDY, KM
    MISRA, J
    HAAS, LM
    [J]. ACM TRANSACTIONS ON COMPUTER SYSTEMS, 1983, 1 (02): : 144 - 156
  • [45] DISTRIBUTED DEADLOCK DETECTION
    BRACHA, G
    TOUEG, S
    [J]. DISTRIBUTED COMPUTING, 1987, 2 (03) : 127 - 138
  • [46] An efficient voting and priority based mechanism for deadlock prevention in distributed systems
    Mishra, Kamta Nath
    [J]. 2016 2ND IEEE INTERNATIONAL CONFERENCE ON CONTROL, COMPUTING, COMMUNICATION AND MATERIALS (ICCCCM), 2016,
  • [47] A DISTRIBUTED DEADLOCK DETECTION ALGORITHM FOR CSP-LIKE COMMUNICATION
    HUANG, ST
    [J]. ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 1990, 12 (01): : 102 - 122
  • [48] 2-PHASE DEADLOCK DETECTION ALGORITHM IN DISTRIBUTED DATABASES
    MINAMI, S
    TERANAKA, K
    KAWAZU, S
    [J]. REVIEW OF THE ELECTRICAL COMMUNICATIONS LABORATORIES, 1982, 30 (04): : 695 - 703
  • [49] A proposed algorithm for solving deadlock detection in distributed database systems
    Ali, HA
    El Dnaf, T
    Salah, M
    [J]. ICEEC'04: 2004 INTERNATIONAL CONFERENCE ON ELECTRICAL, ELECTRONIC AND COMPUTER ENGINEERING, PROCEEDINGS, 2004, : 144 - 148
  • [50] An improved algorithm for deadlock detection and resolution in mobile agent systems
    Hosseini, Rahil
    Haghighat, A. T.
    [J]. INTERNATIONAL CONFERENCE ON COMPUTATIONAL INTELLIGENCE FOR MODELLING, CONTROL & AUTOMATION JOINTLY WITH INTERNATIONAL CONFERENCE ON INTELLIGENT AGENTS, WEB TECHNOLOGIES & INTERNET COMMERCE, VOL 2, PROCEEDINGS, 2006, : 1037 - +