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

The space complexity of long-lived and one-shot timestamp implementations

Published:06 June 2011Publication History

ABSTRACT

This paper is concerned with the problem of implementing an unbounded timestamp object from multi-writer atomic registers, in an asynchronous distributed system of n processors with distinct identifiers where timestamps are taken from an arbitrary universe. Ellen, Fatourou and Ruppert [7] showed that √n/2-O(1) registers are required for any obstruction-free implementation of long-lived timestamp systems from atomic registers (meaning processors can repeatedly get timestamps).

We improve this existing lower bound in two ways. First we establish a lower bound of n/6 - O(1) registers for the obstruction-free long-lived timestamp problem. Previous such linear lower bounds were only known for constrained versions of the timestamp problem. This bound is asymptotically tight; Ellen, Fatourou and Ruppert [7] constructed a wait-free algorithm that uses n-1 registers. Second we show that √(n)-O(1) registers are required for any obstruction-free implementation of one-shot timestamp systems (meaning each processor can get a timestamp at most once). We show that this bound is also asymptotically tight by providing a wait-free one-shot timestamp system that uses fewer than 2√n registers, thus establishing a space complexity gap between one-shot and long-lived timestamp systems.

References

  1. K. R. Abrahamson. On achieving consensus using a shared memory. In Proceedings of the 7th Annual ACM Symposium on Principles of Distributed Computing (PODC), pages 291--302, 1988. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. Y. Afek, D. Dolev, E. Gafni, M. Merritt, and N. Shavit. A bounded first-in, first-enabled solution to the $l$-exclusion problem. ACM Transactions on Programming Languages and Systems, 16(3):939--953, 1994. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. H. Attiya and A. Fouren. Algorithms adapting to point contention. Journal of the ACM, 50(4):444--468, 2003. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. J. E. Burns and N. A. Lynch. Bounds on shared memory for mutual exclusion. Information and Computation, 107(2):171--184, 1993. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. D. Dolev and N. Shavit. Bounded concurrent time-stamping. SIAM Journal on Computing, 26(2):418--455, 1997. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. C. Dwork and O. Waarts. Simple and efficient bounded concurrent timestamping and the traceable use abstraction. Journal of the ACM, 46(5):633--666, 1999. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. F. Ellen, P. Fatourou, and E. Ruppert. The space complexity of unbounded timestamps. Distributed Computing, 21(2):103--115, 2008.Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. F. E. Fich, M. P. Herlihy, and N. Shavit. On the space complexity of randomized synchronization. Journal of the ACM, 45(5):843--862, 1998. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. C. J. Fidge. Timestamps in message-passing systems that preserve the partial ordering. In 11th Australian Computer Science Conference (ACSC'88), pages 56--66, 1988.Google ScholarGoogle Scholar
  10. M. J. Fischer, N. A. Lynch, J. E. Burns, and A. Borodin. Distributed fifo allocation of identical resources using small shared space. ACM Transactions on Programming Languages and Systems, 11(1):90--114, 1989. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. R. Gawlick, N. A. Lynch, and N. Shavit. Concurrent timestamping made simple. In 1st Israel Symposium on Theory of Computing Systems (ISTCS), pages 171--183, 1992. Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. R. Guerraoui and E. Ruppert. Anonymous and fault-tolerant shared-memory computing. Distributed Computing, 20(3):165--177, 2007.Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. S. Haldar and P. M. B. Vitányi. Bounded concurrent timestamp systems using vector clocks. Journal of the ACM, 49(1):101--126, 2002. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. M. Helmi, L. Higham, E. Pacheco, and P. Woelfel. The space complexity of long-lived and one-shot timestamp implementations. 2011, arXiv:1103.5794 {cs.DC}.Google ScholarGoogle Scholar
  15. A. Israeli and M. Li. Bounded time-stamps. Distributed Computing, 6(4):205--209, 1993. Google ScholarGoogle ScholarDigital LibraryDigital Library
  16. A. Israeli and M. Pinhasov. A concurrent time-stamp scheme which is linear in time and space. In Distributed Algorithms, 6th International Workshop (WDAG), pages 95--109, 1992. Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. L. Lamport. A new solution of dijkstra's concurrent programming problem. Communications of the ACM, 17(8):453--455, 1974. Google ScholarGoogle ScholarDigital LibraryDigital Library
  18. L. Lamport. Time, clocks, and the ordering of events in a distributed system. Communications of the ACM, 21(7):558--565, 1978. Google ScholarGoogle ScholarDigital LibraryDigital Library
  19. M. Li, J. Tromp, and P. M. B. Vitányi. How to share concurrent wait-free variables. Journal of the ACM, 43(4):723--746, 1996. Google ScholarGoogle ScholarDigital LibraryDigital Library
  20. F. Mattern. Virtual time and global states of distributed systems. In Proceedings of the International Workshop on Parallel and Distributed Algorithms, pages 215--226, 1989.Google ScholarGoogle Scholar
  21. G. Ricart and A. K. Agrawala. An optimal algorithm for mutual exclusion in computer networks. Communications of the ACM, 24(1):9--17, 1981. Google ScholarGoogle ScholarDigital LibraryDigital Library
  22. S. K. Sarin and N. A. Lynch. Discarding obsolete information in a replicated database system. IEEE Transactions on Software Engineering, 13(1):39--47, 1987. Google ScholarGoogle ScholarDigital LibraryDigital Library
  23. P. M. B. Vitányi and B. Awerbuch. Atomic shared register access by asynchronous hardware. In 27th Annual Symposium on Foundations of Computer Science (FOCS), pages 233--243, 1986. Google ScholarGoogle ScholarDigital LibraryDigital Library
  24. G. T. J. Wuu and A. J. Bernstein. Efficient solutions to the replicated log and dictionary problems. Operating Systems Review, 20(1):57--66, 1986. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. The space complexity of long-lived and one-shot timestamp implementations

    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 '11: Proceedings of the 30th annual ACM SIGACT-SIGOPS symposium on Principles of distributed computing
      June 2011
      406 pages
      ISBN:9781450307192
      DOI:10.1145/1993806

      Copyright © 2011 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: 6 June 2011

      Permissions

      Request permissions about this article.

      Request Permissions

      Check for updates

      Qualifiers

      • research-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