Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.1145/1146381.1146417acmconferencesArticle/Chapter ViewAbstractPublication PagespodcConference Proceedingsconference-collections
Article

An O(1) RMRs leader election algorithm

Published: 23 July 2006 Publication History

Abstract

The leader election problem is a fundamental distributed coordination problem. We present leader election algorithms for the cache-coherent (CC) and distributed shared memory (DSM) models using reads and writes only, for which the number of remote memory references (RMRs) is constant in the worst case.The algorithms use splitter-like objects [6, 8] in a novel way for the efficient partitioning of processes into disjoint sets that share work. As there is an Ω(log n/log log n) lower bound on the RMR complexity of mutual exclusion for n processes using reads and writes only [4], our result separates the mutual exclusion and leader election problems in terms of RMR complexity in both the CC and DSM models.Our result also implies that any algorithm using reads, writes and one-time test-and-set objects can be simulated by an algorithm using reads and writes with only a constant blowup of the RMR complexity. Anderson, Herman and Kim raise the question of whether conditional primitives such as test-and-set and compare-and-swap are stronger than read and write for the implementation of local-spin mutual exclusion [3]. We provide a negative answer to this question, at least for one-time test-and-set.

References

[1]
R. Alur and G. Taubenfeld. Results about fast mutual exclusion. In Proc. RTSS 1992, pp. 154--162, 1992.
[2]
J. Anderson. A fine-grained solution to the mutual exclusion problem. Acta Inf., 30(3):249--265, 1993.
[3]
J. Anderson, T. Herman, and Y. Kim. Shared-memory mutual exclusion: Major research trends since 1986. Dist. Comp., 16(2-3):75--110, 2003.
[4]
J. Anderson and Y. Kim. An improved lower bound for the time complexity of mutual exclusion. In Proc. ACM PODC 2001, pp. 90--99, Aug. 2001.
[5]
J. Anderson and Y. Kim. Nonatomic mutual exclusion with local spinning. In Proc. ACM PODC 2002, pp. 3--12, July 2002.
[6]
J. Anderson and M. Moir. Wait-free algorithms for fast, long-lived renaming. Sci. Comp. Prog., 25(1):1--39, 1995.
[7]
J. Anderson and J. Yang. Time/contention trade-offs for multiprocessor synchronization. Inf. and Comp., 124(1):68--84, 1996.
[8]
H. Attiya and A. Fouren. Adaptive and efficient wait-free algorithms for lattice agreement and renaming. Theory of Comp. Sys., 31(2):642--664, 2001.
[9]
M. Choy and A. Singh. Adaptive solutions to the mutual exclusion problem. Dist. Comp., 8(1):1--17, 1994.
[10]
R. Cypher. The communication requirements of mutual exclusion. In ACM Proc. SPAA 1995, pp. 147--156, July 1995.
[11]
E. Dijkstra. Solution of a problem in concurrent programming control. Comm. of the ACM, 8(9):569, Sep. 1965.
[12]
C. Dwork, M. Herlihy, and O. Waarts. Contention in shared memory algorithms. Journal of the ACM, 44(6):779--805, 1997.
[13]
M. Herlihy. Wait-free synchronization. ACM Trans. on Prog. Lang. and Sys., 13(1):123--149, Jan. 1991.
[14]
M. P. Herlihy and J. M. Wing. Linearizability: A correctness condition for concurrent objects. ACM Trans. on Prog. Lang. and Sys., 12(3):463--492, July 1990.
[15]
Y. Kim and J. Anderson. Adaptive mutual exclusion with local spinning. In Proc. DISC 2000, pp. 29--43, Oct. 2000.
[16]
Y. Kim and J. Anderson. A time complexity bound for adaptive mutual exclusion. In Proc. DISC 2001, pp. 1--15, Oct. 2001.
[17]
H. Lee. Transformations of mutual exclusion algorithms from the cache-coherent model to the distributed shared memory model. In Proc. ICDCS 2005, pp. 261--270, June 2005.

Cited By

View all
  • (2011)A complexity separation between the cache-coherent and distributed shared memory modelsProceedings of the 30th annual ACM SIGACT-SIGOPS symposium on Principles of distributed computing10.1145/1993806.1993822(109-118)Online publication date: 6-Jun-2011
  • (2007)Constant-RMR implementations of CAS and other synchronization primitives using read and write operationsProceedings of the twenty-sixth annual ACM symposium on Principles of distributed computing10.1145/1281100.1281105(3-12)Online publication date: 12-Aug-2007

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Conferences
PODC '06: Proceedings of the twenty-fifth annual ACM symposium on Principles of distributed computing
July 2006
230 pages
ISBN:1595933840
DOI:10.1145/1146381
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: 23 July 2006

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. leader election
  2. mutual exclusion
  3. remote memory references
  4. shared memory
  5. test-and-set

Qualifiers

  • Article

Conference

PODC06

Acceptance Rates

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

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)2
  • Downloads (Last 6 weeks)0
Reflects downloads up to 23 Feb 2025

Other Metrics

Citations

Cited By

View all
  • (2011)A complexity separation between the cache-coherent and distributed shared memory modelsProceedings of the 30th annual ACM SIGACT-SIGOPS symposium on Principles of distributed computing10.1145/1993806.1993822(109-118)Online publication date: 6-Jun-2011
  • (2007)Constant-RMR implementations of CAS and other synchronization primitives using read and write operationsProceedings of the twenty-sixth annual ACM symposium on Principles of distributed computing10.1145/1281100.1281105(3-12)Online publication date: 12-Aug-2007

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Figures

Tables

Media

Share

Share

Share this Publication link

Share on social media