Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
research-article

The Space Complexity of Long-Lived and One-Shot Timestamp Implementations

Published: 01 January 2014 Publication History

Abstract

This article is concerned with the problem of implementing an unbounded timestamp object from multiwriter atomic registers, in an asynchronous distributed system of n processes with distinct identifiers where timestamps are taken from an arbitrary universe. Ellen et al. [2008] showed that √n/2 − O(1) registers are required for any obstruction-free implementation of long-lived timestamp systems from atomic registers (meaning processes can repeatedly get timestamps).
We improve this existing lower bound in two ways. First we establish a lower bound of n/6 − 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 et al. [2008] constructed a wait-free algorithm that uses n − 1 registers. Second we show that √2n − log nO(1) registers are required for any obstruction-free implementation of one-shot timestamp systems (meaning each process 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 at most ⌈2√n⌉ registers, thus establishing a space complexity gap between one-shot and long-lived timestamp systems.

References

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

Cited By

View all
  • (2023)Efficient Bounded Timestamping from Standard Synchronization PrimitivesProceedings of the 2023 ACM Symposium on Principles of Distributed Computing10.1145/3583668.3594601(113-123)Online publication date: 19-Jun-2023
  • (2022)A Topological Characterization to Arbitrary Resilient Asynchronous ComplexityMathematics10.3390/math1015272010:15(2720)Online publication date: 1-Aug-2022
  • (2021)The Space Complexity of Scannable Binary ObjectsProceedings of the 2021 ACM Symposium on Principles of Distributed Computing10.1145/3465084.3467916(509-519)Online publication date: 21-Jul-2021
  • Show More Cited By

Recommendations

Comments

Information & Contributors

Information

Published In

cover image Journal of the ACM
Journal of the ACM  Volume 61, Issue 1
January 2014
222 pages
ISSN:0004-5411
EISSN:1557-735X
DOI:10.1145/2578041
Issue’s Table of Contents
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 the author(s) 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: 01 January 2014
Accepted: 01 October 2013
Revised: 01 August 2013
Received: 01 November 2011
Published in JACM Volume 61, Issue 1

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. Timestamps
  2. obstruction-free
  3. shared memory
  4. solo-termination
  5. space complexity
  6. wait-free

Qualifiers

  • Research-article
  • Research
  • Refereed

Funding Sources

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)10
  • Downloads (Last 6 weeks)2
Reflects downloads up to 10 Nov 2024

Other Metrics

Citations

Cited By

View all
  • (2023)Efficient Bounded Timestamping from Standard Synchronization PrimitivesProceedings of the 2023 ACM Symposium on Principles of Distributed Computing10.1145/3583668.3594601(113-123)Online publication date: 19-Jun-2023
  • (2022)A Topological Characterization to Arbitrary Resilient Asynchronous ComplexityMathematics10.3390/math1015272010:15(2720)Online publication date: 1-Aug-2022
  • (2021)The Space Complexity of Scannable Binary ObjectsProceedings of the 2021 ACM Symposium on Principles of Distributed Computing10.1145/3465084.3467916(509-519)Online publication date: 21-Jul-2021
  • (2019)A Tight Space Bound for ConsensusSIAM Journal on Computing10.1137/16M109678550:3(STOC16-18-STOC16-29)Online publication date: 21-Oct-2019
  • (2016)Brief AnnouncementProceedings of the 2016 ACM Symposium on Principles of Distributed Computing10.1145/2933057.2933078(147-149)Online publication date: 25-Jul-2016
  • (2016)A tight space bound for consensusProceedings of the forty-eighth annual ACM symposium on Theory of Computing10.1145/2897518.2897565(345-350)Online publication date: 19-Jun-2016
  • (2015)On the Time and Space Complexity of ABA Prevention and DetectionProceedings of the 2015 ACM Symposium on Principles of Distributed Computing10.1145/2767386.2767403(193-202)Online publication date: 21-Jul-2015
  • (2015)Linear space bootstrap communication schemesTheoretical Computer Science10.1016/j.tcs.2014.10.013561:PB(122-133)Online publication date: 4-Jan-2015
  • (2014)Space Bounds for Adaptive RenamingDistributed Computing10.1007/978-3-662-45174-8_21(303-317)Online publication date: 2014

View Options

Get Access

Login options

Full Access

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