A Wait-free Queue with Polylogarithmic Step Complexity

05/12/2023
by   Hossein Naderibeni, et al.
0

We present a novel linearizable wait-free queue implementation using single-word CAS instructions. Previous lock-free queue implementations from CAS all have amortized step complexity of Ω(p) per operation in worst-case executions, where p is the number of processes that access the queue. Our new wait-free queue takes O(log p) steps per enqueue and O(log^2 p +log q) steps per dequeue, where q is the size of the queue. A bounded-space version of the implementation has O(log p log(p+q)) amortized step complexity per operation.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
05/17/2021

A Neat Linked Queue with the Rear Sentinel

We introduce a very simple queue implementation with the singly linked l...
research
08/24/2022

A Simpler Proof that Pairing Heaps Take O(1) Amortized Time per Insertion

The pairing heap is a simple "self-adjusting" implementation of a heap (...
research
05/12/2022

Modular Baskets Queue

A modular version of the baskets queue of Hoffman, Shalev and Shavit is ...
research
03/22/2021

Differentiated nonblocking: a new progress condition and a matching queue algorithm

In this paper, we first propose a new liveness requirement for shared ob...
research
05/11/2020

What Can Be Done with Consensus Number One: Relaxed Queues and Stacks

Sequentially specified linearizable concurrent data structures must be r...
research
06/02/2021

PI^2 Parameters

This report gives the reasoning for the parameter settings of the refere...
research
08/13/2019

A Scalable, Portable, and Memory-Efficient Lock-Free FIFO Queue

We present a new lock-free multiple-producer and multiple-consumer (MPMC...

Please sign up or login with your details

Forgot password? Click here to reset