Skip to main content

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

  • Conference paper
Advanced Distributed Systems (ISSADS 2005)

Part of the book series: Lecture Notes in Computer Science ((LNPSE,volume 3563))

Included in the following conference series:

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Li, K., Hudak, P.: Memory Coherence in Shared Virtual Memory Systems. ACM Transactions on Computer Systems 7, 321–359 (1989)

    Article  Google Scholar 

  2. 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)

    Chapter  Google Scholar 

  3. 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)

    Article  Google Scholar 

  4. Raymond, K.: A Tree-Based Algorithm for Distributed Mutual Exclusion. ACM Transactions on Computer Systems 7, 61–77 (1989)

    Article  Google Scholar 

  5. Chang, Y.: A Simulation Study on Distributed Mutual Exclusion. Journal of Parallel and Distributed Computing 33, 107–121 (1996)

    Article  Google Scholar 

  6. 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)

    Chapter  Google Scholar 

  7. Mueller, F.: Decentralized Sinchronization for Multithreaded DSM. In: Proc. of the 2nd. Workshop on Software Distributed Shared Memory, WSDSM 2000 (2000)

    Google Scholar 

  8. 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)

    Article  Google Scholar 

  9. Raynal, M.: A Simple Taxonomy for Distributed Mutual Exclusion Algorithms. ACM SIGOPS Operating Systems Review 25, 47–50 (1991)

    Article  Google Scholar 

  10. 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)

    Google Scholar 

  11. 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)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints 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)

Publish with us

Policies and ethics