Efficient Distributed Deadlock Detection and Resolution using Probes, Tokens, and Barriers

  • Authors:
  • Young Man Kim;Ten-Hwang Lai;Neelam Soundarajan

  • Affiliations:
  • -;-;-

  • Venue:
  • ICPADS '97 Proceedings of the 1997 International Conference on Parallel and Distributed Systems
  • Year:
  • 1997

Quantified Score

Hi-index 0.00

Visualization

Abstract

PROBES and TOKENS are used in many deadlock detection and resolution algorithms. A deadlock is detected by propagating PROBES along dependency edges. When the initiator p_i of a probe receives its probe back, it knows of the existence of a deadlock. p_i then sends out a TOKEN to clean up those probes in the deadlock cycle which, if not removed, may later lead to phantom deadlock detections. Only after the token returns to p_i is the deadlock resolved by aborting a `victim' (usually p_i). As a result, all involved transactions remain waiting and all involved resources locked until the token returns to p_i, although the deadlock was already detected when the probe returned to p_i. This paper proposes the idea of BARRIERS to allow the deadlock to be resolved without waiting for the token to return to p_i, thereby reducing the average deadlock persistence time considerably.