Abstract
The timestamp problem captures a fundamental aspect of asynchronous distributed computing. It allows processes to label events throughout the system with timestamps that provide information about the real-time ordering of those events. We consider the space complexity of wait-free implementations of timestamps from shared read-write registers in a system of n processes.
We prove an \(\Omega(\sqrt{n})\) lower bound on the number of registers required. If the timestamps are elements of a nowhere dense set, for example the integers, we prove a stronger, and tight, lower bound of n. However, if timestamps are not from a nowhere dense set, this bound can be beaten; we give an algorithm that uses nāāā1 (single-writer) registers.
We also consider the special case of anonymous algorithms, where processes do not have unique identifiers. We prove anonymous timestamp algorithms require n registers. We give an algorithm to prove that this lower bound is tight. This is the first anonymous algorithm that uses a finite number of registers. Although this algorithm is wait-free, its step complexity is not bounded. We also present an algorithm that uses O(n 2) registers and has bounded step complexity.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
Abrahamson, K.: On achieving consensus using a shared memory. In: Proc. 7th ACM Symposium on Principles of Distributed Computing, pp. 291ā302 (1988)
Afek, Y., Dolev, D., Gafni, E., Merritt, M., Shavit, N.: A bounded first-in, first-enabled solution to the l-exclusion problem. ACM Transactions on Programming Languages and SystemsĀ 16(3), 939ā953 (1994)
Attiya, H., Fouren, A.: Algorithms adapting to point contention. Journal of the ACMĀ 50(4), 444ā468 (2003)
Burns, J., Lynch, N.: Bounds on shared memory for mutual exclusion. Information and ComputationĀ 107(2), 171ā184 (1993)
Charron-Bost, B.: Concerning the size of logical clocks in distributed systems. Information Processing LettersĀ 39(1), 11ā16 (1991)
Dolev, D., Shavit, N.: Bounded concurrent time-stamping. SIAM Journal on ComputingĀ 26(2), 418ā455 (1997)
Dwork, C., Herlihy, M., Plotkin, S., Waarts, O.: Time-lapse snapshots. SIAM Journal on ComputingĀ 28(5), 1848ā1874 (1999)
Dwork, C., Waarts, O.: Simple and efficient bounded concurrent timestamping and the traceable use abstraction. Journal of the ACMĀ 46(5), 633ā666 (1999)
Fatourou, P., Fich, F.E., Ruppert, E.: Time-space tradeoffs for implementations of snapshots. In: Proc. 38th ACM Symposium on Theory of Computing, pp. 169ā178 (2006)
Fich, F., Herlihy, M., Shavit, N.: On the space complexity of randomized synchronization. Journal of the ACMĀ 45(5), 843ā862 (1998)
Fidge, C.: Logical time in distributed computing systems. ComputerĀ 24(8), 28ā33 (1991)
Guerraoui, R., Ruppert, E.: Anonymous and fault-tolerant shared-memory computing. Distributed Computing. A preliminary version appeared in Distributed Computing. In: 19th International Conference, pp. 244ā259 (to appear)
Haldar, S., VitĆ”nyi, P.: Bounded concurrent timestamp systems using vector clocks. Journal of the ACMĀ 49(1), 101ā126 (2002)
Israeli, A., Li, M.: Bounded time-stamps. Distributed ComputingĀ 6(4), 205ā209 (1993)
Israeli, A., Pinhasov, M.: A concurrent time-stamp scheme which is linear in time and space. In: Proc. 6th Int. Workshop on Distributed Algorithms, pp. 95ā109 (1992)
Jayanti, P., Tan, K., Toueg, S.: Time and space lower bounds for nonblocking implementations. SIAM Journal on ComputingĀ 30(2), 438ā456 (2000)
Lamport, L.: A new solution of Dijkstraās concurrent programming problem. Communications of the ACMĀ 17(8), 453ā455 (1974)
Lamport, L.: Time, clocks and the ordering of events in a distributed system. Communications of the ACMĀ 21(7), 558ā565 (1978)
Li, M., Tromp, J., VitĆ”nyi, P.M.B.: How to share concurrent wait-free variables. Journal of the ACMĀ 43(4), 723ā746 (1996)
Mattern, F.: Virtual time and global states of distributed systems. In: Proc. Workshop on Parallel and Distributed Algorithms, pp. 215ā226 (1989)
Mavronicolas, M., Michael, L., Spirakis, P.: Computing on a partially eponymous ring. In: Proc. 10th International Conference on Principles of Distributed Systems, pp. 380ā394 (2006)
VitĆ”nyi, P.M.B., Awerbuch, B.: Atomic shared register access by asynchronous hardware. In: Proc. 27th IEEE Symposium on Foundations of Computer Science, pp. 233ā243. IEEE Computer Society Press, Los Alamitos (1986)
Author information
Authors and Affiliations
Editor information
Rights and permissions
Copyright information
Ā© 2007 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Ellen, F., Fatourou, P., Ruppert, E. (2007). The Space Complexity of Unbounded Timestamps. In: Pelc, A. (eds) Distributed Computing. DISC 2007. Lecture Notes in Computer Science, vol 4731. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-75142-7_19
Download citation
DOI: https://doi.org/10.1007/978-3-540-75142-7_19
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-75141-0
Online ISBN: 978-3-540-75142-7
eBook Packages: Computer ScienceComputer Science (R0)