skip to main content
10.1145/1835698.1835708acmconferencesArticle/Chapter ViewAbstractPublication PagespodcConference Proceedingsconference-collections
research-article

Group mutual exclusion in O(log n) RMR

Published: 25 July 2010 Publication History

Abstract

We present an algorithm to solve the group mutual exclusion, problem in the cache-coherent (CC) model. For the same problem in the distributed shared memory (DSM) model, Danek and Hadzilacos presented algorithms of O(n) remote memory references (RMR) and proved a matching lower bound, where n is the number of processes. We show that in the CC model, using registers and LL/SC variables, our algorithm achieves O(min(log n,k)) RMR, where k is the point contention, which is so far the best. Moreover, given a recent result of Attiya, Hendler and Woelfel showing that exclusion problems have a Ω(log n) RME lower bound using registers, comparison primitives and LL/SC variables, our algorithm thus achieves the best theoretical bound.

References

[1]
J. Anderson and Y.-J. Kim. Adaptive mutual exclusion with local spinning. In In Proceedings of the 14th International Symposium on Distributed Computing, pages 29--43, 2001.
[2]
J. H. Anderson and Y.-J. Kim. Fast and scalable mutual exclusion. In Proceedings of the 13th International Symposium on Distributed Computing, pages 180--194, London, UK, 1999. Springer-Verlag.
[3]
J. H. Anderson and Y.-J. Kim. An improved lower bound for the time complexity of mutual exclusion. Distrib. Comput., 15(4):221--253, 2002.
[4]
J. H. Anderson, Y.-J. Kim, and T. Herman. Shared-memory mutual exclusion: major research trends since 1986. Distrib. Comput., 16(2-3):75--110, 2003.
[5]
T. E. Anderson. The performance of spin lock alternatives for shared-memory multiprocessors. IEEE Trans. Parallel Distrib. Syst., 1(1):6--16, 1990.
[6]
H. Attiya and V. Bortnikov. Adaptive and efficient mutual exclusion (extended abstract). In PODC '00: Proceedings of the nineteenth annual ACM symposium on Principles of distributed computing, pages 91--100, New York, NY, USA, 2000. ACM.
[7]
H. Attiya, D. Hendler, and P. Woelfel. Tight RMR lower bounds for mutual exclusion and other problems. In STOC '08: Proceedings of the 40th annual ACM symposium on Theory of computing, pages 217--226, New York, NY, USA, 2008. ACM.
[8]
V. Bhatt and P. Jayanti. Constant RMR solutions to reader writer synchronization. To appear in PODC '10 : Proceedings of the Twenty-Ninth annual symposium on Principles of distributed computing.
[9]
P. J. Courtois, F. Heymans, and D. L. Parnas. Concurrent control with "readers" and "writers". Commun. ACM, 14(10):667--668, 1971.
[10]
T. Craig. Queuing spin lock algorithms to support timing predictability. In Proceedings of the 14th IEEE Real-time Systems Symposium, pages 148--156. IEEE, 1993.
[11]
R. Cypher. The communication requirements of mutual exclusion. In SPAA '95: Proceedings of the seventh annual ACM symposium on Parallel algorithms and architectures, pages 147--156, New York, NY, USA, 1995. ACM.
[12]
E. W. Dijkstra. Solution of a problem in concurrent programming control. Commun. ACM, 8(9):569, 1965.
[13]
R. Fan and N. Lynch. An Ω (n log n) lower bound on the cost of mutual exclusion. In PODC '06: Proceedings of the twenty-fifth annual ACM symposium on Principles of distributed computing, pages 275--284, New York, NY, USA, 2006. ACM.
[14]
G. Granunke and S. Thakkar. Synchronization algorithms for shared-memory multiprocessors. Computer, 23(6):60--69, 1990.
[15]
V. Hadzilacos. A note on group mutual exclusion. In PODC '01: Proceedings of the twentieth annual ACM symposium on Principles of distributed computing, pages 100--106, New York, NY, USA, 2001. ACM.
[16]
V. Hadzilacos and R. Danek. Local-spin group mutual exclusion algorithms. In DISC'04: Proceedings of the 18th International Symposium on Distributed Computing, pages 71--85. Springer Berlin / Heidelberg, 2004.
[17]
D. Hendler and P. Woelfel. Randomized mutual exclusion in Ω(log n / log log n) RMRs. In PODC '09: Proceedings of the 28th ACM symposium on Principles of distributed computing, pages 26--35, New York, NY, USA, 2009. ACM.
[18]
P. Jayanti. f-arrays: implementation and applications. In Proceedings of the 21st Annual Symposium on Principles of Distributed Computing, pages 270--279, 2002.
[19]
P. Jayanti. Adaptive and efficient abortable mutual exclusion. In PODC '03: Proceedings of the twenty-second annual symposium on Principles of distributed computing, pages 295--304, New York, NY, USA, 2003. ACM.
[20]
P. Jayanti and S. Petrovic. Efficient and practical constructions of ll/sc variables. In PODC '03: Proceedings of the twenty-second annual symposium on Principles of distributed computing, pages 285--294, New York, NY, USA, 2003. ACM.
[21]
P. Jayanti, S. Petrovic, and K. Tan. Fair group mutual exclusion. In PODC '03: Proceedings of the twenty-second annual symposium on Principles of distributed computing, pages 275--284, New York, NY, USA, 2003. ACM.
[22]
Y.-J. Joung. Asynchronous group mutual exclusion (extended abstract). In PODC '98: Proceedings of the seventeenth annual ACM symposium on Principles of distributed computing, pages 51--60, New York, NY, USA, 1998. ACM.
[23]
P. Keane and M. Moir. A simple local-spin group mutual exclusion algorithm. In PODC '99: Proceedings of the eighteenth annual ACM symposium on Principles of distributed computing, pages 23--32, New York, NY, USA, 1999. ACM.
[24]
L. Lamport. A new solution of Dijkstra's concurrent programming problem. Commun. ACM, 17(8):453--455, 1974.
[25]
J. M. Mellor-Crummey and M. L. Scott. Algorithms for scalable synchronization on shared-memory multiprocessors. ACM Trans. Comput. Syst., 9(1):21--65, 1991.
[26]
J. M. Mellor-Crummey and M. L. Scott. Scalable reader-writer synchronization for shared-memory multiprocessors. In PPOPP '91: Proceedings of the third ACM SIGPLAN symposium on Principles and practice of parallel programming, pages 106--113, New York, NY, USA, 1991. ACM.
[27]
M. Michael. Practical lock-free and wait-free ll/sc/vl implementations using 64-bit cas. In DISC'04: Proceedings of the 18th International Symposium on Distributed Computing, pages 144--158. Springer Berlin / Heidelberg, 2004.
[28]
M. Moir. Practical implementations of non-blocking synchronization primitives. In PODC '97: Proceedings of the sixteenth annual ACM symposium on Principles of distributed computing, pages 219--228, New York, NY, USA, 1997. ACM.
[29]
J.-H. Yang and J. H. Anderson. A fast, scalable mutual exclusion algorithm. Distributed Computing, 9:9--1, 1994.

Cited By

View all

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Conferences
PODC '10: Proceedings of the 29th ACM SIGACT-SIGOPS symposium on Principles of distributed computing
July 2010
494 pages
ISBN:9781605588889
DOI:10.1145/1835698
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Sponsors

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 25 July 2010

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. group mutual exclusion
  2. mutual exclusion
  3. remote memory reference (rmr)
  4. synchronization

Qualifiers

  • Research-article

Conference

PODC '10
Sponsor:

Acceptance Rates

Overall Acceptance Rate 740 of 2,477 submissions, 30%

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)5
  • Downloads (Last 6 weeks)1
Reflects downloads up to 06 Nov 2024

Other Metrics

Citations

Cited By

View all

View Options

Get Access

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media