An Improved Token-Based and Starvation Free Distributed Mutual Exclusion Algorithm

Distributed mutual exclusion is a fundamental problem of distributed systems that coordinates the access to critical shared resources. It concerns with how the various distributed processes access to the shared resources in a mutually exclusive manner. This paper presents fully distributed improved token based mutual exclusion algorithm for distributed system. In this algorithm, a process which has owing token, could enter to its critical section. The processes communicate to each other in an asynchronous message passing manner. We assume the distributed processes are organized in a wraparound two dimensional array. Also, the communication graph of the network is supposed to be a complete graph. The proposed algorithm uses three types of messages, namely ReqMsg, InfoMsg and RelMsg. Beside token-holding node, there are some nodes, we call them informed-nodes, which can know token-holding node and transmit request message to it directly. The number of messages, which are exchanged per each critical section entrance, is a key parameter to avoid posing additional overhead to the distributed system. In this paper, we obtain to  messages per critical section access where N is the number of nodes in the system. The proposed algorithm outperforms other token based algorithms whilst fairness is kept and the proposed algorithm is starvation free.

[1]  Michel Raynal,et al.  Algorithms for mutual exclusion , 1986 .

[2]  Luciana Arantes,et al.  A distributed k-mutual exclusion algorithm based on autonomic spanning trees , 2018, J. Parallel Distributed Comput..

[3]  Sayaka Kamei,et al.  A Token-Based Distributed Group Mutual Exclusion Algorithm with Quorums , 2008, IEEE Transactions on Parallel and Distributed Systems.

[4]  Ichiro Suzuki,et al.  A distributed mutual exclusion algorithm , 1985, TOCS.

[5]  Mohamed Naimi,et al.  A Log(N) Distributed Mutual Exclusion Algorithm Based on Path Reversal , 1996, J. Parallel Distributed Comput..

[6]  Ajay D. Kshemkalyani,et al.  Distributed Computing: Principles, Algorithms, and Systems , 2008 .

[7]  Mahmoud Naghibzadeh,et al.  Info-based approach in distributed mutual exclusion algorithms , 2012, J. Parallel Distributed Comput..

[8]  Mohan Kumar,et al.  A token based distributed algorithm for supporting mutual exclusion in opportunistic networks , 2012, Pervasive Mob. Comput..

[9]  Jiannong Cao,et al.  Distributed Mutual Exclusion Algorithms for Intersection Traffic Control , 2015, IEEE Transactions on Parallel and Distributed Systems.

[10]  Kerry Raymond,et al.  A tree-based algorithm for distributed mutual exclusion , 1989, TOCS.

[11]  Susmit Bagchi Design and topological analysis of probabilistic distributed mutual exclusion algorithm with unbiased refined ordering , 2019, Future Gener. Comput. Syst..

[12]  M. Velazquez A Survey of Distributed Mutual Exclusion Algorithms , 1993 .

[13]  Andrzej Pelc,et al.  Consensus and Mutual Exclusion in a Multiple Access Channel , 2009, DISC.

[14]  Poonam Saini,et al.  An efficient permission-cum-cluster based distributed mutual exclusion algorithm for mobile adhoc networks , 2014, 2014 International Conference on Parallel, Distributed and Grid Computing.

[15]  Pierre Sens,et al.  A fair starvation-free prioritized mutual exclusion algorithm for distributed systems , 2015, J. Parallel Distributed Comput..

[16]  Gérard Le Lann,et al.  Distributed Systems - Towards a Formal Approach , 1977, IFIP Congress.