Efficient Randomized Test-And-Set Implementations

02/11/2019
by   George Giakkoupis, et al.
0

We study randomized test-and-set (TAS) implementations from registers in the asynchronous shared memory model with n processes. We introduce the problem of group election, a natural variant of leader election, and propose a framework for the implementation of TAS objects from group election objects. We then present two group election algorithms, each yielding an efficient TAS implementation. The first implementation has expected max-step complexity O(^∗ k) in the location-oblivious adversary model, and the second has expected max-step complexity O( k) against any read/write-oblivious adversary, where k≤ n is the contention. These algorithms improve the previous upper bound by Alistarh and Aspnes [2] of O( n) expected max-step complexity in the oblivious adversary model. We also propose a modification to a TAS algorithm by Alistarh, Attiya, Gilbert, Giurgiu, and Guerraoui [5] for the strong adaptive adversary, which improves its space complexity from super-linear to linear, while maintaining its O( n) expected max-step complexity. We then describe how this algorithm can be combined with any randomized TAS algorithm that has expected max-step complexity T(n) in a weaker adversary model, so that the resulting algorithm has O( n) expected max-step complexity against any strong adaptive adversary and O(T(n)) in the weaker adversary model. Finally, we prove that for any randomized 2-process TAS algorithm, there exists a schedule determined by an oblivious adversary such that with probability at least (1/4)^t one of the processes needs at least t steps to finish its TAS operation. This complements a lower bound by Attiya and Censor-Hillel [7] on a similar problem for n≥ 3 processes.

READ FULL TEXT
research
05/13/2018

An Almost Tight RMR Lower Bound for Abortable Test-And-Set

We prove a lower bound of Omega(log n/loglog n) for the remote memory re...
research
07/07/2021

Oblivious Median Slope Selection

We study the median slope selection problem in the oblivious RAM model. ...
research
08/10/2021

Fast and Fair Lock-Free Locks

We present a randomized approach for lock-free locks with strong bounds ...
research
06/11/2020

Randomized Consensus with Regular Registers

The well-known randomized consensus algorithm by Aspnes and Herlihy for ...
research
08/05/2021

Lower Bounds for Shared-Memory Leader Election under Bounded Write Contention

This paper gives tight logarithmic lower bounds on the solo step complex...
research
05/18/2023

Fault-Tolerant Consensus in Quantum Networks

Fault-tolerant consensus is about reaching agreement on some of the inpu...
research
01/10/2020

An Efficient Universal Construction for Large Objects

This paper presents L-UC, a universal construction that efficiently impl...

Please sign up or login with your details

Forgot password? Click here to reset