Efficient Randomized DCAS - Inria - Institut national de recherche en sciences et technologies du numérique
Conference Papers Year : 2021

Efficient Randomized DCAS

Abstract

Double Compare-And-Swap (DCAS) is a tremendously useful synchronization primitive, which is also notoriously difficult to implement efficiently from objects that are provided by hardware. We present a randomized implementation of DCAS with $O(\log n)$ expected amortized step complexity against the oblivious adversary, where $n$ is the number of processes in the system. This is the only algorithm to-date that achieves sub-linear step complexity. We achieve that by first implementing two novel algorithms as building blocks. One is a mechanism that allows processes to repeatedly agree on a random value among multiple proposed ones, and the other one is a restricted bipartite version of DCAS.
Fichier principal
Vignette du fichier
DCAS.pdf (1.57 Mo) Télécharger le fichier
Origin Files produced by the author(s)

Dates and versions

hal-03195692 , version 1 (12-04-2021)

Identifiers

Cite

George Giakkoupis, Mehrdad Jafari Giv, Philipp Woelfel. Efficient Randomized DCAS. STOC 2021 - 53rd Annual ACM SIGACT Symposium on Theory of Computing, Jun 2021, Rome (Virtual), Italy. pp.1-64, ⟨10.1145/3406325.3451133⟩. ⟨hal-03195692⟩
139 View
280 Download

Altmetric

Share

More