skip to main content
10.1145/135419.135434acmconferencesArticle/Chapter ViewAbstractPublication PagespodcConference Proceedingsconference-collections
Article
Free Access

Concurrent counting

Authors Info & Claims
Published:01 October 1992Publication History

ABSTRACT

Our purpose is to implement clocks and, in general, counters in a shared memory environment. A concurrent counter is a counter that can be incremented and read, possibly at the same time by many processes. We study counters that achieve high level of concurrency and thus are likely to reduce memory contention; require only weak atomicity and thus are easy to implement; do not depend on the initial state of the memory and hence are more robust to memory changes; and are wait-free - one process cannot prevent another process from finishing its increment or read operations - and thus can tolerate any number of process failures. We concentrate on providing upper and lower bounds on the space complexity of the counters studied.

References

  1. AG91.J.H. Anderson and B. Gro~elj. Beyond atomic registers: Bounded waitfree implementations of nontrivial objects. In Fifth International Workshop on Distributed Algorithms, October 1991. Submitted for publication. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. AH90.J. Aspnes and M. Herlihy. Fast randomized consensus using shared memory. Journal of Algorithms, 11(3):441- 460, September 1990. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. AH90.J. Aspnes and M. Herlihy. Wait-free data structures in the asynchronous PRAM model. In Proceedings of the second Annual A CM symposium on parallel architectures and algorithms, pages 340-349, July 1990. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. AHS91.J. Aspnes, M. Herlihy, and N. Shavit. Counting networks and multi-processor coordination. In Proc. 23rd A CM Syrup. on Theory of Computing, pages 348-358, May 1991. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. Dij74.E.W. Dijkstra. Self-stablizing systems in spite of distributed control. Communications of the A CM, 17:643-644, 1974. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. Fis83.M.J. Fischer. The consensus problem in unreliable distributed systems (a brief survey). In M. Karpinsky, editor, Foundations of Computation Theory, pages 127-140. Lecture Notes in Computer Science, vol. 158, Springer- Verlag, 1983. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. FMT91.M.J. Fischer, S. Moran, and G. Taubenfeld. Space-efficient asynchronous consensus without shared memory initialization. Technion Report #707, Computer Science Department, The Technion, August 1990. Submitted for publication, 1991.Google ScholarGoogle Scholar
  8. FMRT90.M.J. Fischer, S. Moran, S. Rudich, and G. Taubenfeld. The wakeup problem. In Proc. ~~st A CM Symp. on Theory of Computing, pages 106-116, May 1990. See also Technion Report #644, Computer Science Department, The Technion, August 1990. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. Gar72.M. Gardner. Mathematical games: The curious properties of the Gray code and how it can be used to solve puzzles. Scientific American, pages 106-109, August 1972.Google ScholarGoogle Scholar
  10. Gil58.E.N. Gilbert. Gray codes and paths on the n-cube. The bell system technical journal, 37(9):815-826, May 1958.Google ScholarGoogle Scholar
  11. Gra53.F. Gray. Pulse code communication. U. S. Patent 2 632 058, March 1953.Google ScholarGoogle Scholar
  12. Koh70.Z. Kohavi. Switching and Finite A utomata Theory. McGrow-Hill Publication, 1970. Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. KMZ84.E. Korach, S. Moran and S. Zaks, Tight lower and upper bounds for some distributed algorithms for complete network of processors. In Proc. 3th A CM Symp. on Principle of distributed Computing, pages 199-207, August 1984. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. Lam86.L. Lamport. On interprocess communication, parts i and II. Distributed Computing, 1 (2):77-101, 1986.Google ScholarGoogle ScholarCross RefCross Ref
  15. Lam77.L. Lamport. Concurrent reading and writing. Communications of the A CM, 20:806-811, 1977. Google ScholarGoogle ScholarDigital LibraryDigital Library
  16. Lam90.L. Lamport. Concurrent reading and writing of clocks. A CM Trans. on Computer Systems, 8(4):305-310, 1990. Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. Pet82.G.L. Peterson. An O(nlogn) unidirectional algorithm for the circular extrema problem. A CM Trans. on Programrai~g Language~ and System~, 4(4):758-762, 1982. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Concurrent counting

      Recommendations

      Comments

      Login options

      Check if you have access through your login credentials or your institution to get full access on this article.

      Sign in
      • Published in

        cover image ACM Conferences
        PODC '92: Proceedings of the eleventh annual ACM symposium on Principles of distributed computing
        October 1992
        304 pages
        ISBN:0897914953
        DOI:10.1145/135419

        Copyright © 1992 ACM

        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]

        Publisher

        Association for Computing Machinery

        New York, NY, United States

        Publication History

        • Published: 1 October 1992

        Permissions

        Request permissions about this article.

        Request Permissions

        Check for updates

        Qualifiers

        • Article

        Acceptance Rates

        Overall Acceptance Rate740of2,477submissions,30%

        Upcoming Conference

        PODC '24

      PDF Format

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader