Affiliation:
1. Tel Aviv University, Tel Aviv, Israel
Abstract
Conventional wisdom in designing concurrent data structures is to use the most powerful synchronization primitive, namely compare-and-swap (CAS), and to avoid contended hot spots. In building concurrent FIFO queues, this reasoning has led researchers to propose
combining-based
concurrent queues.
This paper takes a different approach, showing how to rely on fetch-and-add (F&A), a less powerful primitive that is available on x86 processors, to construct a
nonblocking (lock-free) linearizable concurrent FIFO queue
which, despite the F&A being a contended hot spot, outperforms combining-based implementations by 1.5x to 2.5x in all concurrency levels on an x86 server with four multicore processors, in both single-processor and multi-processor executions.
Publisher
Association for Computing Machinery (ACM)
Subject
Computer Graphics and Computer-Aided Design,Software
Reference23 articles.
1. Power ISA Version 2.06. http://www.power.org/resources/downloads/PowerISA_V2.06B_V2_PUBLIC.pdf January 2009. Power ISA Version 2.06. http://www.power.org/resources/downloads/PowerISA_V2.06B_V2_PUBLIC.pdf January 2009.
2. Combinable memory-block transactions
3. Scalable room synchronizations;Blelloch G. E.;Theory of Computing Systems,2003
4. Formal verification of an array-based nonblocking queue
5. Lock cohorting
Cited by
68 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. A wait-free queue with polylogarithmic step complexity;Distributed Computing;2024-08-17
2. A Family of Fast and Memory Efficient Lock- and Wait-Free Reclamation;Proceedings of the ACM on Programming Languages;2024-06-20
3. Memory Bounds for Concurrent Bounded Queues;Proceedings of the 29th ACM SIGPLAN Annual Symposium on Principles and Practice of Parallel Programming;2024-02-20
4. BLQ: Light-Weight Locality-Aware Runtime for Blocking-Less Queuing;Proceedings of the 33rd ACM SIGPLAN International Conference on Compiler Construction;2024-02-17
5. Diciclo: Flexible User-level Services for Efficient Multitenant Isolation;ACM Transactions on Computer Systems;2023-12-30