A Conflict-Resilient Lock-Free Linearizable Calendar Queue
Open Access
- 11 March 2024
- journal article
- research article
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Parallel Computing
- Vol. 11 (1) , 1-32
Abstract
In the last two decades, great attention has been devoted to the design of non-blocking and linearizable data structures, which enable exploiting the scaled-up degree of parallelism in off-the-shelf shared-memory multi-core machines. In this context, priority queues are highly challenging. Indeed, concurrent attempts to extract the highest-priority item are prone to create detrimental thread conflicts that lead to abort/retry of the operations. In this article, we present the first priority queue that jointly provides: (i) lock-freedom and linearizability; (ii) conflict resiliency against concurrent extractions; (iii) adaptiveness to different contention profiles; and (iv) amortized constant-time access for both insertions and extractions. Beyond presenting our solution, we also provide proof of its correctness based on an assertional approach. Also, we present an experimental study on a 64-CPU machine, showing that our proposal provides performance improvements over state-of-the-art non-blocking priority queues.Keywords
This publication has 27 references indexed in Scilit:
- A low-overhead constant-time Lowest-Timestamp-First CPU scheduler for high-performance optimistic simulation platformsSimulation Modelling Practice and Theory, 2015
- On the Nature of Progress2011
- Ladder queueACM Transactions on Modeling and Computer Simulation, 2005
- Fast and lock-free concurrent priority queues for multi-thread systemsJournal of Parallel and Distributed Computing, 2005
- A comparative study of parallel and sequential priority queue algorithmsACM Transactions on Modeling and Computer Simulation, 1997
- Wait-free synchronizationACM Transactions on Programming Languages and Systems, 1991
- Linearizability: a correctness condition for concurrent objectsACM Transactions on Programming Languages and Systems, 1990
- Skip lists: a probabilistic alternative to balanced treesCommunications of the ACM, 1990
- Calendar queues: a fast 0(1) priority queue implementation for the simulation event set problemCommunications of the ACM, 1988
- Efficient synchronization of multiprocessors with shared memoryACM Transactions on Programming Languages and Systems, 1988