Skip to main content

A New Self-Stabilizing κ-out-of-ℓ Exclusion Algorithm on Rings

  • Conference paper
  • First Online:
Self-Stabilizing Systems (SSS 2003)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 2704))

Included in the following conference series:

Abstract

We present an efficient self-stabilizing solution to the κ-outof- exclusion problem on a ring. The κ-out-of- exclusion problem is a generalization of the well-known mutual exclusion problem — there are units of a shared resource, any process can request at most κ (1 ≤ κ) units of the shared resource, and no resource unit can be allocated to more than one process at one time. This solution is based on the circulation of tokens around the ring. A processor requesting NEED (NEEDκ) units of the resource can enter the critical section only upon receipt of NEED tokens. We propose a simple and pessimistic method to handle the deadlock problem. So, after stabilization, no mechanism is needed for the deadlock detection. Moreover, in this paper, we give a formal definition of a new efficiency property, called (κ, )-liveness, which is a desirable property of any κ-out-of- exclusion solution. This property allows as many processors as possible to execute their critical sections simultaneously without violating the safety property. We generalize the technique introduced in [6] to maintain the right number () tokens in the system. The tokens are counted without using any counter variable for all processors except one, called the Root. This solution improves the waiting time of an earlier solution [4] by maintaining a reasonable stabilization time. The waiting time is reduced from ( + 2)(n − 1) to 2(n − 1), where n is the size of the ring. The stabilization time is 8n instead of 4n in [4]. One nice characteristic of our algorithm is that its space requirement is independent of for all processors except the Root.

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 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.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. U. Abraham, S. Dolev, T. Herman, and I. Koll. Self-stabilizing -exclusion. Proceedings of the third Workshop on Self-Stabilizing Systems, International Informatics Series 7, Carleton University Press, pages 48–63, 1997. 117

    Google Scholar 

  2. Y. Afek and G. M. Brown. Self-stabilization over unreliable communication media. Distributed Computing, Vol. 7, pages 27–34, 1993. 120, 126

    Article  Google Scholar 

  3. R. Baldoni. An o(n M/M+1) distributed algorithm for the κ-out of-m resources allocation problem. In Proceedings of the 14th conference on Distributed Computing and System., pages 81–85, 1994. 114

    Google Scholar 

  4. A.K. Datta, R. Hadid, and V. Villain. A self-stabilizing token-based κ-out-of- exclusion algorithm. In Proceedings of the 8th International Europar Conference, pages 553–562, 2002. 113, 114, 115, 127

    Google Scholar 

  5. D. Dolev, E. Gafni, and N. Shavit. Toward a non-atomic era: -exclusion as test case. Proceeding of the 20th Annual ACM Symposium on Theory of Computing, Chicago, pages 78–92, 1988. 115

    Google Scholar 

  6. R. Hadid and V. Villain. A new efficient tool for the design of self-stabilizing -exclusion algorithms: the controller. In proceeding of the 5th International Workshop on Self-Stabilizing Systems, Lisbonne (Portugal), LNCS 2194, (WSS’01), pages 136–151, 2001. 113, 115

    Google Scholar 

  7. Y. Manabe, R. Baldoni, M. Raynal, and S. Aoyagi. κ-arbiter: A safe and general scheme for h-out of-κ mutual exclusion. Theoretical Computer Science, Vol 193, pages 97–112, 1998. 114

    Article  MATH  MathSciNet  Google Scholar 

  8. Y. Manabe and N. Tajima. (h, κ)-arbiter for h-out of-κ mutual exclusion problem. In Proceedings of the 19th Conference on Distributed Computing System., pages 216–223, 1999. 114

    Google Scholar 

  9. M. Raynal. Algorithm du parallélisme, le problème de l’exclusion mutuelle. Dunod Informatique, 1990. 127

    Google Scholar 

  10. M. Raynal. A distributed algorithm for the k-out of-m resources allocations problem. In Proceedings of the 1st conference on Computing and Informations, Lecture Notes in Computer Science, Vol. 497, pages 599–609, 1991. 114, 116

    Google Scholar 

  11. M. Raynal. Synchronisation et état global dans les systèmes répartis. Eyrolles, collection EDF, 1992. 114

    Google Scholar 

  12. G. Varghese. Self-stabilizing by counter flushing. Technical Report, Washington University (1993), 1993. 120, 126

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2003 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Datta, A.K., Hadid, R., Villain, V. (2003). A New Self-Stabilizing κ-out-of-ℓ Exclusion Algorithm on Rings. In: Huang, ST., Herman, T. (eds) Self-Stabilizing Systems. SSS 2003. Lecture Notes in Computer Science, vol 2704. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-45032-7_9

Download citation

  • DOI: https://doi.org/10.1007/3-540-45032-7_9

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-40453-8

  • Online ISBN: 978-3-540-45032-0

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics