Nothing Special   »   [go: up one dir, main page]

skip to main content
10.1145/3087801.3087841acmconferencesArticle/Chapter ViewAbstractPublication PagespodcConference Proceedingsconference-collections
abstract

Brief Announcement: Fast Shared Counting using (O(n)) Compare-and-Swap Registers

Published: 25 July 2017 Publication History

Abstract

We consider the problem of building a wait-free and linearizable counter using shared registers. The counter supports a read operation, which returns the value of the counter, and an increment operation, which increments the value of the counter and returns nothing. The shared registers support read, write and compare-and-swap instructions. We show that given (n) processes and (O(n)) shared registers, the increment operation is in (O(log n)) and read operation is in (O(1)).

References

[1]
Dan Alistarh, James Aspnes, Keren Censor-Hillel, Seth Gilbert, and Rachid Guerraoui. 2014. Tight Bounds for Asynchronous Renaming. Journal of the ACM (JACM) (2014).
[2]
Faith Ellen and Philipp Woelfel. 2013. An Optimal Implementation of Fetch-and-Increment. In 27th International Symposium on Distributed Computing (DISC), Jerusalem, Israel.
[3]
Maurice P. Herlihy and Jeannette M. Wing. 1990. Linearizability: A Correctness Condition for Concurrent Objects. ACM Transactions on Programming Languages and Systems (TOPLAS) (1990).
[4]
Prasad Jayanti and Srdjan Petrovic. 2005. Efficiently Implementing a Large Number of LL/SC Objects. In 9th International Conference on Principles of Distributed Systems (OPODIS), Pisa, Italy.
[5]
Prasad Jayanti, King Tan, and Sam Toueg. 2006. Time and Space Lower Bounds for Nonblocking Implementations. SIAM Journal on Computing (2006).

Cited By

View all
  • (2022)Long-lived counters with polylogarithmic amortized step complexityDistributed Computing10.1007/s00446-022-00439-536:1(29-43)Online publication date: 29-Nov-2022
  • (2020)Two elementary instructions make compare-and-swapJournal of Parallel and Distributed Computing10.1016/j.jpdc.2020.06.005Online publication date: Jun-2020
  • (2019)Two Elementary Instructions Make Compare-and-Swap2019 IEEE International Parallel and Distributed Processing Symposium (IPDPS)10.1109/IPDPS.2019.00046(365-374)Online publication date: May-2019
  • Show More Cited By

Index Terms

  1. Brief Announcement: Fast Shared Counting using (O(n)) Compare-and-Swap Registers

      Recommendations

      Comments

      Please enable JavaScript to view thecomments powered by Disqus.

      Information & Contributors

      Information

      Published In

      cover image ACM Conferences
      PODC '17: Proceedings of the ACM Symposium on Principles of Distributed Computing
      July 2017
      480 pages
      ISBN:9781450349925
      DOI:10.1145/3087801
      Permission to make digital or hard copies of part or all 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 third-party components of this work must be honored. For all other uses, contact the Owner/Author.

      Sponsors

      Publisher

      Association for Computing Machinery

      New York, NY, United States

      Publication History

      Published: 25 July 2017

      Check for updates

      Author Tags

      1. compare-and-swap
      2. linearizable
      3. shared counter
      4. wait-free

      Qualifiers

      • Abstract

      Conference

      PODC '17
      Sponsor:

      Acceptance Rates

      PODC '17 Paper Acceptance Rate 38 of 154 submissions, 25%;
      Overall Acceptance Rate 740 of 2,477 submissions, 30%

      Contributors

      Other Metrics

      Bibliometrics & Citations

      Bibliometrics

      Article Metrics

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

      Other Metrics

      Citations

      Cited By

      View all
      • (2022)Long-lived counters with polylogarithmic amortized step complexityDistributed Computing10.1007/s00446-022-00439-536:1(29-43)Online publication date: 29-Nov-2022
      • (2020)Two elementary instructions make compare-and-swapJournal of Parallel and Distributed Computing10.1016/j.jpdc.2020.06.005Online publication date: Jun-2020
      • (2019)Two Elementary Instructions Make Compare-and-Swap2019 IEEE International Parallel and Distributed Processing Symposium (IPDPS)10.1109/IPDPS.2019.00046(365-374)Online publication date: May-2019
      • (2018)On the Importance of Synchronization Primitives with Low Consensus NumbersProceedings of the 19th International Conference on Distributed Computing and Networking10.1145/3154273.3154306(1-10)Online publication date: 4-Jan-2018

      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