Skip to main content

RMR-Efficient Randomized Abortable Mutual Exclusion

(Extended Abstract)

  • Conference paper

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 7611))

Abstract

Recent research on mutual exclusion for shared-memory systems has focused on local spin algorithms. Performance is measured using the remote memory references (RMRs) metric. As common in recent literature, we consider a standard asynchronous shared memory model with N processes, which allows atomic read, write and compare-and-swap (short: CAS) operations.

In such a model, the asymptotically tight upper and lower bounds on the number of RMRs per passage through the Critical Section is Θ(logN) for the optimal deterministic algorithms [6,22]. Recently, several randomized algorithms have been devised that break the Ω(logN) barrier and need only o(logN) RMRs per passage in expectation [7,13,14]. In this paper we present the first randomized abortable mutual exclusion algorithm that achieves a sub-logarithmic expected RMR complexity. More precisely, against a weak adversary (which can make scheduling decisions based on the entire past history, but not the latest coin-flips of each process) every process needs an expected number of O(logN/loglogN) RMRs to enter end exit the critical section. If a process receives an abort-signal, it can abort an attempt to enter the critical section within a finite number of its own steps and by incurring O(logN/loglogN) RMRs.

Supported in part by the Natural Sciences and Engineering Research Council of Canada (NSERC) and by Alberta Innovates Technology Futures (AITF).

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

Buying options

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

Learn about institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Anderson, J.H., Kim, Y.-J.: Fast and Scalable Mutual Exclusion. In: Jayanti, P. (ed.) DISC 1999. LNCS, vol. 1693, pp. 180–195. Springer, Heidelberg (1999)

    Chapter  Google Scholar 

  2. Anderson, J.H., Kim, Y.-J.: An improved lower bound for the time complexity of mutual exclusion. Dist. Comp. 15 (2002)

    Google Scholar 

  3. Anderson, J.H., Kim, Y.-J., Herman, T.: Shared-memory mutual exclusion: major research trends since 1986. Dist. Comp. 16 (2003)

    Google Scholar 

  4. Anderson, T.: The performance of spin lock alternatives for shared-memory multiprocessors. IEEE Trans. Parallel Distrib. Syst. 1 (1990)

    Google Scholar 

  5. Aspnes, J.: Randomized protocols for asynchronous consensus. Dist. Comp. 16(2-3) (2003)

    Google Scholar 

  6. Attiya, H., Hendler, D., Woelfel, P.: Tight RMR lower bounds for mutual exclusion and other problems. In: 40th STOC (2008)

    Google Scholar 

  7. Bender, M.A., Gilbert, S.: Mutual exclusion with o(log2 logn) amortized work. In: 52nd FOCS (2011)

    Google Scholar 

  8. Danek, R., Golab, W.: Closing the complexity gap between mutual exclusion and fcfs mutual exclusion. In: 27th PODC (2008)

    Google Scholar 

  9. Dijkstra, E.W.: Solution of a problem in concurrent programming control. Communications of the ACM 8 (1965)

    Google Scholar 

  10. Giakkoupis, G., Woelfel, P.: Tight rmr lower bounds for randomized mutual exclusion. In: 44th STOC (to appear, 2012)

    Google Scholar 

  11. Golab, W., Hadzilacos, V., Hendler, D., Woelfel, P.: Constant-rmr implementations of cas and other synchronization primitives using read and write operations. In: 26th PODC (2007)

    Google Scholar 

  12. Golab, W., Higham, L., Woelfel, P.: Linearizable implementations do not suffice for randomized distributed computation. In: 43rd STOC (2011)

    Google Scholar 

  13. Hendler, D., Woelfel, P.: Adaptive randomized mutual exclusion in sub-logarithmic expected time. In: 29th PODC (2010)

    Google Scholar 

  14. Hendler, D., Woelfel, P.: Randomized mutual exclusion with sub-logarithmic rmr-complexity. Dist. Comp. 24(1) (2011)

    Google Scholar 

  15. Herlihy, M., Wing, J.: Linearizability: a correctness condition for concurrent objects. ACM Trans. Program. Lang. Syst. 12 (1990)

    Google Scholar 

  16. Jayanti, P.: Adaptive and efficient abortable mutual exclusion. In: 22nd PODC (2003)

    Google Scholar 

  17. Kim, Y.-J., Anderson, J.H.: A Time Complexity Bound for Adaptive Mutual Exclusion (Extended Abstract). In: Welch, J.L. (ed.) DISC 2001. LNCS, vol. 2180, p. 1. Springer, Heidelberg (2001)

    Chapter  Google Scholar 

  18. Kim, Y.-J., Anderson, J.H.: Adaptive mutual exclusion with local spinning. Dist. Comp. 19 (2007)

    Google Scholar 

  19. Mellor-Crummey, J., Scott, M.: Algorithms for scalable synchronization on shared-memory multiprocessors. ACM Trans. Comp. Syst. 9 (1991)

    Google Scholar 

  20. Pareek, A., Woelfel, P.: RMR-efficient randomized abortable mutual exclusion. arXiv:1208.1723 (2012)

    Google Scholar 

  21. Scott, M.: Non-blocking timeout in scalable queue-based spin locks. In: 21st PODC (2002)

    Google Scholar 

  22. Yang, J., Anderson, J.: A fast, scalable mutual exclusion algorithm. Dist. Comp. 9 (1995)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2012 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Pareek, A., Woelfel, P. (2012). RMR-Efficient Randomized Abortable Mutual Exclusion. In: Aguilera, M.K. (eds) Distributed Computing. DISC 2012. Lecture Notes in Computer Science, vol 7611. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-33651-5_19

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-33651-5_19

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-33650-8

  • Online ISBN: 978-3-642-33651-5

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics