[go: up one dir, main page]
More Web Proxy on the site http://driver.im/ skip to main content
research-article

Sufficient Condition for a Communication Deadlock and Distributed Deadlock Detection

Published: 01 December 1989 Publication History

Abstract

The necessary and sufficient condition for deadlock in a distributed system and an algorithm for detection of a distributed deadlock based on the sufficient condition are formulated. The protocol formulated, checks all wait-for contiguous requests in one iteration. A cycle is detected when a query message reaches the initiator. A wait-for cycle is only the necessary condition for the distributed deadlock. A no-deadlock message is expected by the query initiator to infer a deadlock-free situation if at least one wait-for cycle is present. A no-deadlock message is issued by a dependent (query intercessor) that is not waiting-for. No no-deadlock message implies a deadlock, and processes listed in the received query messages are the processes involved in a distributed deadlock. Properties of the protocol are discussed. The authors show that a replication of a requested higher-priority (or older) process can prevent a distributed deadlock (in a continuous deadlock treatment). A replication is shown to recover (in a periodical deadlock handling) a sequence of processes from an indefinite wait-die scheme.

References

[1]
{1} K. M. Chandy and J. Misra, "Distributed deadlock detection," ACM Trans. Comput. Syst., vol. 1, pp. 144-156, May 1983.
[2]
{2} H. M. Deitel, An Introduction to Operating Systems. Reading, MA: Addison-Wesley, 1984.
[3]
{3} K. P. Eswaran and J. N. Gray, "The notions of consistency and predicate locks in a database system," Commun. ACM, vol. 19, pp. 624- 633, Nov. 1976.
[4]
{4} C. A. R. Hoare, "Communicating sequential processes," Commun. ACM, vol. 21, no. 8, pp. 666-677, 1978.
[5]
{5} G. S. Ho and C. V. Ramamoorthy, "Protocols for deadlock detection in distributed database systems," IEEE Trans. Software Eng., vol. SE-8, Nov. 1982.
[6]
{6} R. C. Holt, "Some deadlock properties of computer system," Comput. Surveys, vol. 4, Sept. 1972.
[7]
{7} W. H. Kohler, "A survey for techniques for synchronization and recovery in distributed computer systems," Comput. Surveys, vol. 13, no. 2, pp. 149-183, 1981.
[8]
{8} R. Koo and S. Toueg, "Checkpointing and rollback--Recovery for distributed systems," IEEE Trans. Software Eng., vol. SE-13, no. 1, pp. 23-31, 1987.
[9]
{9} D. J. Rosenkrantz, R. E. Stearns, and P. M. Lewis, "System level concurrency control for distributed databases," ACM Trans. Data-base Syst., vol. 3, pp. 178-198, June 1978.
[10]
{10} J. L. Peterson and A. Silberschatz, Operating System Concepts, 2nd ed. Reading, MA: Addison-Wesley, 1985.
[11]
{11} D. Skeen, "A formal model of crash recovery in a distributed system," in Concurrency Control and Reliability in Distributed Systems, B. K. Bhargava, Ed. New York: Van Nostrand Reinhold, 1987, pp. 295-317.
[12]
{12} B. Wojcik and Z. Wojcik, "Atomic send-receive checkpoint fault recovery," IEEE Trans. Software Eng., 1988, submitted for publication.

Cited By

View all
  • (1994)Deadlock detection and resolution in simulation modelsProceedings of the 26th conference on Winter simulation10.5555/193201.194334(708-715)Online publication date: 11-Dec-1994
  • (1991)Rough Grammar for Efficient and Fault-Tolerant Computing on a Distributed SystemIEEE Transactions on Software Engineering10.1109/32.8390217:7(652-668)Online publication date: 1-Jul-1991

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image IEEE Transactions on Software Engineering
IEEE Transactions on Software Engineering  Volume 15, Issue 12
December 1989
160 pages
ISSN:0098-5589
Issue’s Table of Contents

Publisher

IEEE Press

Publication History

Published: 01 December 1989

Author Tags

  1. communication deadlock
  2. deadlock-free situation
  3. distributed deadlock detection
  4. distributed processing
  5. indefinite wait-die scheme
  6. no-deadlock message
  7. periodical deadlock handling
  8. protocol
  9. query initiator
  10. query intercessor
  11. query message
  12. replication
  13. sufficient condition
  14. system recovery
  15. wait-for contiguous requests
  16. wait-for cycle

Qualifiers

  • Research-article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)0
  • Downloads (Last 6 weeks)0
Reflects downloads up to 11 Dec 2024

Other Metrics

Citations

Cited By

View all
  • (1994)Deadlock detection and resolution in simulation modelsProceedings of the 26th conference on Winter simulation10.5555/193201.194334(708-715)Online publication date: 11-Dec-1994
  • (1991)Rough Grammar for Efficient and Fault-Tolerant Computing on a Distributed SystemIEEE Transactions on Software Engineering10.1109/32.8390217:7(652-668)Online publication date: 1-Jul-1991

View Options

View options

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media