Abstract
We present a nonblocking algorithm for implementing single-writer multireader atomic registers of arbitrary size given registers only large enough to hold a single word. The algorithm has several properties that make it practical: It is simple and has low memory overhead, readers do not write, write operations are wait-free, and read operations are almost wait-free. Specifically, to implement a register with w words, the algorithm uses N(w + O(1)) words, where N is a parameter of the algorithm. Write operations take amortized O(w) and worst-case O(Nw) steps, and a read operation completes in O(w(log(k + 2) + Nk·2− N)) steps, where k is the number of write operations it overlaps.
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
Herlihy, M., Shavit, N.: The Art of Multiprocessor Programming. Elsevier, Amsterdam (2008)
Kopetz, H., Reisinger, J.: The non-blocking write protocol NBW: A solution to a real-timesynchronization problem. In: Real-Time Systems Symposium, 1993, Proceedings, pp. 131–137 (1993)
Lamport, L.: On interprocess communication, part I: Basic formalism. Distributed Computing 1(2), 77–85 (1986)
Sorenson, P.G., Hamacher, V.C.: A real-time system design methodology. In: INFOR, vol. 13, pp. 1–18 (1975)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2008 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Lutomirski, A., Luchangco, V. (2008). Efficient Large Almost Wait-Free Single-Writer Multireader Atomic Registers. In: Baker, T.P., Bui, A., Tixeuil, S. (eds) Principles of Distributed Systems. OPODIS 2008. Lecture Notes in Computer Science, vol 5401. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-92221-6_40
Download citation
DOI: https://doi.org/10.1007/978-3-540-92221-6_40
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-92220-9
Online ISBN: 978-3-540-92221-6
eBook Packages: Computer ScienceComputer Science (R0)