Implementing Distributed Mutual Exclusion on Multithreaded Environments: The Alien-Threads Approach

We present a simple implementation of a token-based distributed mutual exclusion algorithm for multithreaded systems. Several per-node requests could be issued by threads running at each node. Our algorithm relies on special-purpose alien threads running at host processors on behalf of threads running at other processors. The algorithm uses a tree to route requests for the token. We present a performance simulation study comparing two versions of our algorithm with a known algorithm based on path reversal on trees. Results show that our algorithm performs very well under a high load of requests while obtaining acceptable performance under a light load.

[1]  Divyakant Agrawal,et al.  Efficient solution to the distributed mutual exclusion problem , 1989, PODC '89.

[2]  Michel Raynal A simple taxonomy for distributed mutual exclusion algorithms , 1991, OPSR.

[3]  Masaaki Mizuno,et al.  A DAG-based algorithm for distributed mutual exclusion , 1991, [1991] Proceedings. 11th International Conference on Distributed Computing Systems.

[4]  Peter J. Keleher,et al.  Per-Node Multithreading and Remote Latency , 1998, IEEE Trans. Computers.

[5]  Marina L. Gavrilova,et al.  Computational Science and Its Applications — ICCSA 2003 , 2003 .

[6]  Sujata Banerjee,et al.  A new token passing distributed mutual exclusion algorithm , 1996, Proceedings of 16th International Conference on Distributed Computing Systems.

[7]  Mamoru Maekawa,et al.  A N algorithm for mutual exclusion in decentralized systems , 1985, TOCS.

[8]  Achour Mostéfaoui,et al.  A General Scheme for Token- and Tree-Based Distributed Mutual Exclusion Algorithms , 1994, IEEE Trans. Parallel Distributed Syst..

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

[10]  Ye-In Chang A Simulation Study on Distributed Mutual Exclusion , 1996, J. Parallel Distributed Comput..

[11]  Theodore Johnson,et al.  A performance comparison of fast distributed mutual exclusion algorithms , 1995, Proceedings of 9th International Parallel Processing Symposium.

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

[13]  Cristian Ruz,et al.  On the Design and Implementation of a Portable DSM System for Low-Cost Multicomputers , 2003, ICCSA.

[14]  Paul Hudak,et al.  Memory coherence in shared virtual memory systems , 1986, PODC '86.

[15]  Jose Antonio Rodriguez Maniega,et al.  Sistemas de información , 2005 .

[16]  Ashok K. Agrawala,et al.  An optimal algorithm for mutual exclusion in computer networks , 1981, CACM.