An Efficient Distributed Deadlock Avoidance Algorithm for the AND Model

  • Authors:
  • Hui Wu;Wei-Ngan Chin;Joxan Jaffar

  • Affiliations:
  • National Univ. of Singapore, Lower Kent Ridge Road;National Univ. of Singapore, Lower Ken Ridge Road;National Univ.of Singapore, Lower Kent Ridge Road

  • Venue:
  • IEEE Transactions on Software Engineering
  • Year:
  • 2002

Quantified Score

Hi-index 0.00

Visualization

Abstract

A new rank-based distributed deadlock avoidance algorithm for the AND resource request model is presented. Deadlocks are avoided by dynamically maintaining an invariant $Con(WFG)$: For each pair of processes $p_i$ and $p_j$, $p_i$ is allowed to wait for process $p_j$ iff the rank of $p_j$ is greater than that of $p_i$ for the WFG (Wait-For Graph). Our algorithm neither restricts the order of resource requests nor needs a priori information about resource requests nor causes unnecessary abortion of processes. Multidimensional ranks, which are partially ordered and dynamically modified, are used to drastically reduce the cost of maintaining $Con(WFG)$. Our simulation results show that the performance of our algorithm is better than that of existing algorithms.