Highly Concurrent Group Mutual Exclusion Algorithms Based on Ticket Orders

Group mutual exclusion is an interesting generalization of the mutual exclusion problem. This problem was introduced by Joung, and some algorithms for the problem have been proposed by incorporating mutual exclusion algorithms. Group mutual exclusion occurs naturally in a situation where a resource can be shared by processes of the same group, but not by processes of different groups. It is also called the congenial talking philosophers problem. In this paper we propose three algorithms based on ticket orders for the group mutual exclusion problem in the asynchronous shared memory model. The first algorithm is a simple modification of the Bakery algorithm. It satisfies group mutual exclusion, but does not satisfy lockout freedom. The second and the third algorithms are further modifications from the first one in order to satisfy lockout freedom and to improve the concurrency performance. They use single-writer shared variables, together with two multi-writer shared variables that are never concurrently written. The third algorithm has another desirable property, called smooth admission. By this property, during the period that the resource is occupied by the leader, a process wishing to join the same group as the leader's group can be granted use of the resource in constant time.

[1]  Nancy A. Lynch,et al.  Distributed Algorithms , 1992, Lecture Notes in Computer Science.

[2]  Leslie Lamport,et al.  A new solution of Dijkstra's concurrent programming problem , 1974, Commun. ACM.

[3]  Vassos Hadzilacos A note on group mutual exclusion , 2001, PODC '01.

[4]  Yoshihide Igarashi,et al.  Analysis of some lockout avoidance algorithms for the k-exclusion problem , 2002 .

[5]  Edsger W. Dijkstra,et al.  Solution of a problem in concurrent programming control , 1965, CACM.

[6]  Krishnamurthy Vidyasankar,et al.  A simple group mutual l-exclusion algorithm , 2003, Inf. Process. Lett..

[7]  Allan Borodin,et al.  Resource allocation with immunity to limited process failure , 1979, 20th Annual Symposium on Foundations of Computer Science (sfcs 1979).

[8]  P. Jayanti Bounded Lamport's bakery algorithm , 2001 .

[9]  Krishnamurthy Vidyasankar A highly concurrent group mutual l-exclusion algorithm0 , 2002, PODC '02.

[10]  Yuh-Jzer Joung,et al.  Asynchronous group mutual exclusion , 2000, Distributed Computing.

[11]  Prasad Jayanti,et al.  Bounding Lamport's Bakery Algorithm , 2001, SOFSEM.

[12]  Hagit Attiya,et al.  Distributed Computing: Fundamentals, Simulations and Advanced Topics , 1998 .

[13]  James H. Anderson Lamport on mutual exclusion: 27 years of planting seeds , 2001, PODC '01.

[14]  Yuh-Jzer Joung,et al.  The congenial talking philosophers problem in computer networks , 2002, Distributed Computing.

[15]  Leslie Lamport,et al.  The mutual exclusion problem: partII—statement and solutions , 1986, JACM.

[16]  Mark Moir,et al.  A Simple Local-Spin Group Mutual Exclusion Algorithm , 2001, IEEE Trans. Parallel Distributed Syst..

[17]  Gary L. Peterson,et al.  Myths About the Mutual Exclusion Problem , 1981, Inf. Process. Lett..

[18]  Yoshihide Igarashi,et al.  Simple Mutual Exclusion Algorithms Based on Bounded Tickets on the Asynchronous Shared Memory Model , 2002, COCOON.

[19]  Michael J. Fischer,et al.  Economical solutions for the critical section problem in a distributed system (Extended Abstract) , 1977, STOC '77.