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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
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
Y. Afek and G. M. Brown. Self-stabilization over unreliable communication media. Distributed Computing, Vol. 7, pages 27–34, 1993. 120, 126
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
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
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
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
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
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
M. Raynal. Algorithm du parallélisme, le problème de l’exclusion mutuelle. Dunod Informatique, 1990. 127
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
M. Raynal. Synchronisation et état global dans les systèmes répartis. Eyrolles, collection EDF, 1992. 114
G. Varghese. Self-stabilizing by counter flushing. Technical Report, Washington University (1993), 1993. 120, 126
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights 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