Lower bounds for adaptive collect and related objects

An <i>adaptive</i> algorithm, whose step complexity adjusts to the number of active processes, is attractive for situations in which the number of participating processes is highly variable. This paper studies the number and type of multi-writer registers that are needed for adaptive algorithms. We prove that if a collect algorithm is <i>f</i> -adaptive to total contention, namely, its step complexity is <i>f(k)</i>, where <i>k</i> is the number of processes that ever took a step, then it uses Ω(<i>f</i><sup>-1</sup>(<i>n</i>) multi-writer registers, where <i>n</i> is the total number of processes in the system.Furthermore, we show that competition for the underlying registers is inherent for adaptive collect algorithms. We consider <i>c-write</i> registers, to which at most <i>c</i> processes can be concurrently about to write. Special attention is given to <i>exclusive-write</i> registers, the case <i>c</i>=1 where no competition is allowed, and <i>concurrent-write</i> registers, the case <i>c</i>=<i>n</i> where any amount of competition is allowed. A collect algorithm is <i>f</i>-adaptive to point contention, if its step complexity is <i>f</i>(<i>k</i>), where <i>k</i> is the maximum number of simultaneously active processes. Such an algorithm is shown to require Ω(<i>f</i><sup>-1</sup> (n<over>c)) concurrent-write registers, even if an unlimited number of <i>c</i>-write registers are available. A smaller lower bound is also obtained in this situation for collect algorithms that are <i>f</i>-adaptive to total contention.The lower bounds also hold for nondeterministic implementations of <i>sensitive</i> objects from historyless objects.Finally, we present lower bounds on the step complexity in solo executions (i.e., without any contention), when only <i>c</i>-write registers are used: For weak test&set objects, we present an ΩΩ(log <i>n</i><over>log <i>c</i> +log log <i>n</i>) lower bound. Our lower bound for collect and sensitive objects is Ω(<i>n</i>-1<over><i>c</i>).

[1]  Richard M. Karp,et al.  Parallel Algorithms for Shared-Memory Machines , 1991, Handbook of Theoretical Computer Science, Volume A: Algorithms and Complexity.

[2]  Hagit Attiya,et al.  Algorithms adapting to point contention , 2003, JACM.

[3]  Hagit Attiya,et al.  An adaptive collect algorithm with applications , 2002, Distributed Computing.

[4]  Sam Toueg,et al.  Time and Space Lower Bounds for Nonblocking Implementations , 2000, SIAM J. Comput..

[5]  Maurice Herlihy,et al.  Software transactional memory for dynamic-sized data structures , 2003, PODC '03.

[6]  James H. Anderson,et al.  An improved lower bound for the time complexity of mutual exclusion , 2001, PODC.

[7]  Yehuda Afek,et al.  Long-lived and adaptive atomic snapshot and immediate snapshot (extended abstract) , 2000, PODC '00.

[8]  Maurice Herlihy,et al.  Obstruction-free synchronization: double-ended queues as an example , 2003, 23rd International Conference on Distributed Computing Systems, 2003. Proceedings..

[9]  Faith Ellen,et al.  The Complexity of Computation on the Parallel Random Access Machine , 1993 .

[10]  Maurice Herlihy,et al.  Wait-free synchronization , 1991, TOPL.

[11]  Marcos K. Aguilera,et al.  Uniform Solvability with a Finite Number of MWMR Registers , 2003, DISC.

[12]  James H. Anderson,et al.  Adaptive mutual exclusion with local spinning , 2006, Distributed Computing.

[13]  Faith Ellen,et al.  Hundreds of impossibility results for distributed computing , 2003, Distributed Computing.

[14]  Faith Ellen,et al.  A tight time lower bound for space-optimal implementations of multi-writer snapshots , 2003, STOC '03.

[15]  Mark Moir,et al.  Wait-Free Algorithms for Fast, Long-Lived Renaming , 1995, Sci. Comput. Program..

[16]  Claude Berge,et al.  Graphs and Hypergraphs , 2021, Clustering.

[17]  Ophir Rachman,et al.  Atomic snapshots using lattice agreement , 1995, Distributed Computing.

[18]  Nancy A. Lynch,et al.  Bounds on Shared Memory for Mutual Exclusion , 1993, Inf. Comput..

[19]  Maurice Herlihy,et al.  Contention in shared memory algorithms , 1997, J. ACM.

[20]  Nir Shavit,et al.  Operation-valency and the cost of coordination , 2003, PODC '03.

[21]  Yehuda Afek,et al.  Long-lived adaptive collect with applications , 1999, 40th Annual Symposium on Foundations of Computer Science (Cat. No.99CB37039).

[22]  Yehuda Afek,et al.  Bounds on the shared memory requirements for long-lived & adaptive objects (extended abstract) , 2000, PODC '00.

[23]  Hagit Attiya,et al.  Adaptive and Efficient Algorithms for Lattice Agreement and Renaming , 2002, SIAM J. Comput..

[24]  Maurice Herlihy,et al.  On the space complexity of randomized synchronization , 1993, PODC '93.