Abstract
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.
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
Li, K., Hudak, P.: Memory Coherence in Shared Virtual Memory Systems. ACM Transactions on Computer Systems 7, 321–359 (1989)
Meza, F., Campos, A.E., Ruz, C.: On the Design and Implementation of a Portable DSM System for Low-Cost Multicomputers. In: Kumar, V., Gavrilova, M.L., Tan, C.J.K., L’Ecuyer, P. (eds.) ICCSA 2003. LNCS, vol. 2667, Springer, Heidelberg (2003)
Hélary, J.M., Mostefaoui, A., Raynal, M.: A General Scheme for Token- and Tree- Based Distributed Mutual Exclusion Algorithms. IEEE Transactions on Parallel and Distributed Systems 5, 1185–1196 (1994)
Raymond, K.: A Tree-Based Algorithm for Distributed Mutual Exclusion. ACM Transactions on Computer Systems 7, 61–77 (1989)
Chang, Y.: A Simulation Study on Distributed Mutual Exclusion. Journal of Parallel and Distributed Computing 33, 107–121 (1996)
Johnson, T.: A Performance Comparison of Fast Distributed Mutual Exclusion Algorithms. In: Proceedings of the 9th International Symposium on Parallel Processing (IPPS 1995), CA, USA, pp. 258–264. IEEE Computer Society Press, Los Alamitos (1995)
Mueller, F.: Decentralized Sinchronization for Multithreaded DSM. In: Proc. of the 2nd. Workshop on Software Distributed Shared Memory, WSDSM 2000 (2000)
Naimi, M., Trehel, M., Arnold, A.: A log(N) Distributed Mutual Exclusion Algorithm based on Path Reversal. Journal of Parallel and Distributed Computing 34, 1–13 (1996)
Raynal, M.: A Simple Taxonomy for Distributed Mutual Exclusion Algorithms. ACM SIGOPS Operating Systems Review 25, 47–50 (1991)
Neilsen, M., Mizuno, M.: A DAG-Based Algorithm for Distributed Mutual Exclusion. In: Proc. of the 11th. International Conference on Distributed Computing Systems (ICDCS 1996), pp. 354–360 (1991)
Banerjee, S., Chrysanthis, P.: A New Token Passing Distributed Mutual Exclusion Algorithm. In: Proc. of the 16th. International Conference on Distributed Computing Systems (ICDCS 1996), pp. 717–725 (1996)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2005 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Meza, F., Pérez R., J., Eterovic, Y. (2005). Implementing Distributed Mutual Exclusion on Multithreaded Environments: The Alien-Threads Approach. In: Ramos, F.F., Larios Rosillo, V., Unger, H. (eds) Advanced Distributed Systems. ISSADS 2005. Lecture Notes in Computer Science, vol 3563. Springer, Berlin, Heidelberg. https://doi.org/10.1007/11533962_6
Download citation
DOI: https://doi.org/10.1007/11533962_6
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-28063-7
Online ISBN: 978-3-540-31674-9
eBook Packages: Computer ScienceComputer Science (R0)