Upper and Lower Bounds on the Space Complexity of Multi-word Single-Writer Registers

2026-08-19Distributed, Parallel, and Cluster Computing

Distributed, Parallel, and Cluster Computing
AI summary

The authors study how to simulate a large shared register using smaller registers, focusing on cases where only one process can write but many can read. They establish tight lower bounds on the number of small registers needed, even under relaxed progress guarantees and when readers do not modify the base registers (invisible readers). Their results improve on previous bounds by showing when more space is required depending on the number of readers and the register sizes. They also provide algorithms that match these bounds, ensuring their findings are practically achievable. Overall, their work clarifies the minimum space needed for efficient register simulation under different conditions.

shared registersingle-writer registeratomic registerregular registerobstruction-freelock-freewait-freeinvisible readerspace complexityregister simulation
Authors
Yuanhao Wei, Yousof Yavari
Abstract
We prove matching upper and lower bounds on the space complexity of simulating a large shared register using smaller shared registers. We focus on the case where both the simulated and base registers are single-writer, which means they can be accessed concurrently by multiple readers but only by a single writer. To strengthen our lower bounds, we prove that they hold even when the base registers are atomic and the simulated register is regular. Furthermore, the lower bounds hold for obstruction-free implementations, which means they also hold for lock-free and wait-free implementations. If $m$ is the number of values representable by the large register and $b$ is the number of values representable by each base register, our first lower bound says that any obstruction-free implementation that has an invisible reader requires at least $\lceil \frac{m-1}{b-1} \rceil$ base registers. A reader is considered invisible if it never writes to base registers. This lower bound is asymptotically tight for the invisible-reader case and represents an exponential improvement over the previous best known lower bound. For the general case, which allows any combination of visible and invisible readers, we prove a $\lceil \min(\frac{m-1}{b-1}, r+\frac{\log{m}}{\log{b}}) \rceil$ space lower bound, where $r$ is the number of readers. To show that this lower bound is asymptotically tight, we develop a wait-free algorithm for simulating a multi-word atomic register from atomic base registers using $Θ(r + \frac{\log{m}}{\log{b}})$ space. Combining this algorithm with known invisible-reader constructions gives a $Θ(\min(\frac{m}{b}, r + \frac{\log{m}}{\log{b}}))$ space upper bound. This improves upon the previously known space upper bound of $Θ(\min(\frac{m}{b}, r\frac{\log{m}}{\log{b}}))$.