Skip to main content

The Generalized Deadlock Resolution Problem

  • Conference paper
Automata, Languages and Programming (ICALP 2005)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 3580))

Included in the following conference series:

Abstract

In this paper we initiate the study of the AND-OR directed feedback vertex set problem from the viewpoint of approximation algorithms. This AND-OR feedback vertex set problem is motivated by a practical deadlock resolution problem that appears in the development of distributed database systems. This problem also turns out be a natural generalization of the directed feedback vertex set problem. Awerbuch and Micali [1] gave a polynomial time algorithm to find a minimal solution for this problem. Unfortunately, a minimal solution can be arbitrarily more expensive than the minimum cost solution. We show that finding the minimum cost solution is as hard as the directed Steiner tree problem (and thus Ω(log 2 n) hard to approximate). On the positive side, we give algorithms which work well when the number of writers (AND nodes) or the number of readers (OR nodes) are small.

We also consider a variant that we call permanent deadlock resolution where we cannot specify an execution order for the surviving processes; they should get completed even if they were scheduled adversarially. When all processes are writers (AND nodes), we give an O(log n log log n) approximation for this problem.

Finally we give an LP-rounding approach and discuss some other natural variants.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Awerbuch, B., Micali, S.: Dynamic deadlock resolution protocols. In: The 27th Annual Symposium on Foundations of Computer Science, pp. 196–207 (1986)

    Google Scholar 

  2. Bar-Yehuda, R., Geiger, D., Naor, J., Roth, R.M.: Approximation algorithms for the feedback vertex set problem with applications to constraint satisfaction and Bayesian inference. SIAM J. Comput. 27, 942–959 (1998)

    Article  MATH  MathSciNet  Google Scholar 

  3. Bracha, G., Toueg, S.: A distributed algorithm for generalized deadlock detection. In: Proceedings of the 3rd annual ACM symposium on Principles of distributed computing, pp. 285–301. ACM Press, New York (1984)

    Chapter  Google Scholar 

  4. Chandy, K.M., Lamport, L.: Distributed snapshots: determining global states of distributed systems. ACM Transactions on Computer Systems (TOCS) 3, 63–75 (1985)

    Article  Google Scholar 

  5. Chandy, K.M., Misra, J.: A distributed algorithm for detecting resource deadlocks in distributed systems. In: Proceedings of the 1st ACM SIGACT-SIGOPS symposium on Principles of distributed computing, pp. 157–164. ACM Press, New York (1982)

    Chapter  Google Scholar 

  6. Chandy, K.M., Misra, J., Haas, L.M.: Distributed deadlock detection. ACM Transactions on Computer Systems (TOCS) 1, 144–156 (1983)

    Article  Google Scholar 

  7. Charikar, M., Chekuri, C., Cheung, T.-y., Dai, Z., Goel, A., Guha, S., Li, M.: Approximation algorithms for directed Steiner problems. J. Algorithms 33, 73–91 (1999)

    Article  MATH  MathSciNet  Google Scholar 

  8. Cheriyan, J., Karloff, H.J., Rabani, Y.: Approximating directed multicuts. In: The 42th Annual Symposium on Foundations of Computer Science, pp. 348–356 (2001)

    Google Scholar 

  9. Even, G., Naor, J., Schieber, B., Sudan, M.: Approximating minimum feedback sets and multicuts in directed graphs. Algorithmica 20, 151–174 (1998)

    Article  MATH  MathSciNet  Google Scholar 

  10. Feige, U.: A threshold of ln n for approximating set cover. J. ACM 45, 634–652 (1998)

    Article  MATH  MathSciNet  Google Scholar 

  11. Flatebo, M., Datta, A.K.: Self-stabilizing deadlock detection algorithms. In: Proceedings of the 1992 ACM annual conference on Communications, pp. 117–122. ACM Press, New York (1992)

    Chapter  Google Scholar 

  12. Gray, J., Homan, P., Obermarck, R., Korth, H.: A straw man analysis of probability of waiting and deadlock. In: Proceedings of the 5th Internafional Conference on Distributed Data Management and Computer Networks (1981)

    Google Scholar 

  13. Halperin, E., Krauthgamer, R.: Polylogarithmic inapproximability. In: The 35th Annual ACM Symposium on Theory of Computing (STOC 2003), pp. 585–594 (2003)

    Google Scholar 

  14. Helary, J.-M., Jard, C., Plouzeau, N., Raynal, M.: Detection of stable properties in distributed applications. In: Proceedings of the 6th PODC, pp. 125–136. ACM Press, New York (1987)

    Google Scholar 

  15. Herman, T., Chandy, K.M.: A distributed procedure to detect and/or deadlock, Tech. Rep. TR LCS-8301, Dept. of Computer Sciences, Univ. of Texas (1983)

    Google Scholar 

  16. Jain, K., Mahdian, M., Salavatipour, M.R.: Packing Steiner trees. In: The 14th Annual ACM-SIAM Symposium on Discrete Algorithms (SODA 2003), pp. 266–274 (2003)

    Google Scholar 

  17. Knapp, E.: Deadlock detection in distributed databases. ACM Computing Surveys (CSUR) 19, 303–328 (1987)

    Article  Google Scholar 

  18. Leighton, T., Rao, S.: Multicommodity max-flow min-cut theorems and their use in designing approximation algorithms. J. ACM 46, 787–832 (1999)

    Article  MATH  MathSciNet  Google Scholar 

  19. Lipton, R.J., Tarjan, R.E.: Applications of a planar separator theorem. SIAM J. Comput. 9, 615–627 (1980)

    Article  MATH  MathSciNet  Google Scholar 

  20. Lund, C., Yannakakis, M.: On the hardness of approximating minimization problems. J. Assoc. Comput. Mach. 41, 960–981 (1994)

    MATH  MathSciNet  Google Scholar 

  21. Makki, K., Pissinou, N.: Detection and resolution of deadlocks in distributed database systems. In: Proceedings of the 4th international conference on Information and knowledge management, pp. 411–416. ACM Press, New York (1995)

    Google Scholar 

  22. Seymour, P.D.: Packing directed circuits fractionally. Combinatorica 15, 281–288 (1995)

    Article  MATH  MathSciNet  Google Scholar 

  23. Wu, H., Chin, W.-N., Jaffar, J.: An efficient distributed deadlock avoidance algorithm for the and model. IEEE Transactions on Software Engineering 28, 18–29 (2002)

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2005 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Jain, K., Hajiaghayi, M., Talwar, K. (2005). The Generalized Deadlock Resolution Problem. In: Caires, L., Italiano, G.F., Monteiro, L., Palamidessi, C., Yung, M. (eds) Automata, Languages and Programming. ICALP 2005. Lecture Notes in Computer Science, vol 3580. Springer, Berlin, Heidelberg. https://doi.org/10.1007/11523468_69

Download citation

  • DOI: https://doi.org/10.1007/11523468_69

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-27580-0

  • Online ISBN: 978-3-540-31691-6

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics