Fast and Fair Randomized Wait-Free Locks
Naama Ben-David, Guy E. Blelloch

TL;DR
This paper introduces a randomized wait-free lock mechanism that guarantees fairness and bounded step complexity, even under arbitrary delays, by leveraging probabilistic success guarantees based on known contention bounds.
Contribution
It proposes a novel randomized lock algorithm with strong fairness and efficiency guarantees, accommodating arbitrary process delays and providing probabilistic success bounds.
Findings
Achieves fairness with probability at least 1/(appa L)
Ensures step complexity of O(appa^2 L^2 T) per attempt
Expected retries to success are bounded by O(appa^3 L^3 T)
Abstract
We present a randomized approach for wait-free locks with strong bounds on time and fairness in a context in which any process can be arbitrarily delayed. Our approach supports a tryLock operation that is given a set of locks, and code to run when all the locks are acquired. A tryLock operation, or attempt, may fail if there is contention on the locks, in which case the code is not run. Given an upper bound known to the algorithm on the point contention of any lock, and an upper bound on the number of locks in a tryLock's set, a tryLock will succeed in acquiring its locks and running the code with probability at least . It is thus fair. Furthermore, if the maximum step complexity for the code in any lock is , the attempt will take steps, regardless of whether it succeeds or fails. The attempts are independent, thus if the tryLock is…
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 · Formal Methods in Verification · Real-Time Systems Scheduling
