Computing Reviews
Today's Issue Hot Topics Search Browse Recommended My Account Log In
Review Help
Search
The distributed deadlock detection algorithm
Badal D. ACM Transactions on Computer Systems4 (4):320-337,1986.Type:Article
Date Reviewed: Mar 1 1987

The distributed deadlock detection algorithm described in the title is an improved version of Obermarck’s algorithm [1]. One change is associating a lock history with each transaction. The lock history records all locks held or requested by the transaction, and moves with the transaction from site to site. Another change divides resources into two types, depending on whether the resource’s lock granularity and mode can be determined from remote sites or only at the site of the resource. A three-part algorithm is presented whose first two parts take advantage of these changes to minimize the number of intersite messages. The third part of the algorithm is basically the same as Obermarck’s. An informal proof of correctness is included, although for the general case the paper simply refers to Obermarck’s proof [1].

The advantage of the algorithm is its ability to detect the most frequent deadlocks with a minimum (often none) of intersite messages. In the most general case, the algorithm requires no more messages than [1]. The tradeoff cost is the overhead due to the lock histories.

Though not exceptional, the presentation is direct and straightforward. An understanding of the algorithm is aided by two detailed examples. An appendix, however, suffers from inadequate explanation. From a series of diagrams using an undocumented (and confusing to this reviewer) notation, a formula for the number of deadlocks of cycle length two is deduced. A fuller justification would have been helpful.

Reviewer:  Andrew R. Huber Review #: CR111131
1) Obermarck, R.Distributed deadlock detection algorithm, ACM Trans. Database Syst. 7 (1982), 187–208. See <CR> 23, 4 (April 1982), Rev. 39,268.
Bookmark and Share
  Featured Reviewer  
 
Deadlocks (D.4.1 ... )
 
 
Deadlock Avoidance (H.2.2 ... )
 
 
Network Operating Systems (C.2.4 ... )
 
Would you recommend this review?
yes
no
Other reviews under "Deadlocks": Date
Extension of the Banker’s algorithm for resource allocation in a distributed operating system
Madduri H., Finkel R. Information Processing Letters 19(1): 1-8, 1984. Type: Article
Jul 1 1985
Deadlock avoidance with a modified banker’s algorithm
Belik F. BIT 27(3): 290-305, 1987. Type: Article
May 1 1988
Deadlock detection in distributed databases
Knapp E. ACM Computing Surveys 19(4): 303-328, 1987. Type: Article
Feb 1 1989
more...

E-Mail This Printer-Friendly
Send Your Comments
Contact Us
Reproduction in whole or in part without permission is prohibited.   Copyright 1999-2024 ThinkLoud®
Terms of Use
| Privacy Policy