On the Time and Space Complexity of ABA Prevention and Detection
Zahra Aghazadeh, Philipp Woelfel

TL;DR
This paper analyzes the complexity of detecting and preventing the ABA problem in shared memory systems, establishing lower bounds and providing optimal upper bounds for various implementations.
Contribution
It introduces tight bounds on the time and space complexity of ABA detection and shows optimal implementations, highlighting the inherent difficulty of the ABA problem.
Findings
Bounded base objects impose high complexity on ABA detection.
Linear time-space tradeoff for implementing ABA-detecting registers from bounded CAS.
Optimal upper bounds for ABA-detecting registers and LL/SC/VL primitives.
Abstract
We investigate the time and space complexity of detecting and preventing ABAs in shared memory algorithms for systems with n processes and bounded base objects. To that end, we define ABA-detecting registers, which are similar to normal read/write registers, except that they allow a process q to detect with a read operation, whether some process wrote the register since q's last read. ABA-detecting registers can be implemented trivially from a single unbounded register, but we show that they have a high complexity if base objects are bounded: An obstruction-free implementation of an ABA-detecting single bit register cannot be implemented from fewer than n-1 bounded registers. Moreover, bounded CAS objects (or more generally, conditional read-modify-write primitives) offer little help to implement ABA-detecting single bit registers: We prove a linear time-space tradeoff for such…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsDistributed systems and fault tolerance · Cognitive Functions and Memory · Optimization and Search Problems
