A Wait-Free Probe Algorithm for Distributed Deadlock Detection and Resolution

نویسندگان

  • Young Man Kim
  • Ten H. Lai
  • Neelam Soundararajan
چکیده

Edge-chasing is the basis of many deadlock detection algorithms. This method detects a deadlock by propagating special messages called probes along dependency edges. When the initiator of a probe receives the probe back, it knows the existence of a deadlock. Once a deadlock is detected, a special message called token is sent to clean up those probes in the deadlock cycle which, if not removed, may later lead to phantom deadlock detections. Only after the token has traversed the entire deadlock cycle and returned to its initiator, the deadlock is resolved by aborting a so-called victim in the deadlock cycle. In a deadlock, all involved transactions are held waiting and all involved resources are locked up. It is thus desirable to resolve a deadlock as soon as it is detected, without waiting for the token message to go around the deadlock cycle. This paper proposes an algorithm that achieves this and thereby reduces the average deadlock persistence time by as much as two thirds.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

A Modified Priority Based Probe Algorithm for Distributed Deadlock Detection and Resolution

This paper presents a modified priority based probe algorithm for deadlock detection and resolution in distributed database systems. The original priority based probe algorithm was presented by Sinha and Natarajan based on work by Chandy, Misra, and Haas. Various examples are used to show that the original priority based algorithm either fails to detect deadlocks or reports deadlocks which do n...

متن کامل

Deadlock Detection Techniques in Distributed Database System

Distributed database system provides resource sharing environment for optimal performance of various database activities, especially when data is spread over a large number of sites. Distributed nature of transactions occurring at different sites and requiring resources from diverse sites pose various operational problems, such as deadlocks, concurrency and data recovery. A deadlock may occur w...

متن کامل

Towards Efficient Algorithms for Deadlock Detection and Resolution in Distributed Systems

Deadlock detection algorithms for distributed systems have been studied thoroughly for many years. However, many of them either are incorrect or too expensive in terms of time and/or space Complexity. One problem with previous work is that deadlock resolution is often overlooked. Another problem is the insufficient attention given to the characteristics of the wait-for model that is employed. T...

متن کامل

Fault-tolerant distributed deadlock detection/resolution

The problem of deadlock detection in a distributed system has been extensively studied in the past few years. Many algorithms on distributed deadlock detection have been proposed under the assumption that the processors and communication in the system are fault-free. However, in an unreliable distributed system, faulty processors may prevent a deadlock detection algorithm from properly detectin...

متن کامل

Analysis of Deadlock Detection and Resolution Techniques in Distributed Database Environment

Deadlock is one of the most serious bottlenecks in multitasking concurrently running systems and it has become further complicated in distributed environment. Deadlock detection and their resolution is quite difficult in distributed systems as it involve data located at different sites. The deadlock problem is intrinsic to a distributed database systems which employs locking process in its conc...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2007