BQ: A Lock-Free Queue with Batching
BQ: A Lock-Free Queue with Batching
复制标题
BQ:带批处理的无锁队列
DOI:
10.1145/3210377.3210388
复制
发表时间:
2018
期刊:
影响因子:
--
通讯作者:
E. Petrank
中科院分区:
文献类型:
--
作者:
Gal Milman;Alex Kogan;Yossi Lev;Victor Luchangco;E. Petrank
Concurrent data structures provide fundamental building blocks for concurrent programming. Standard concurrent data structures may be extended by allowing a sequence of operations to be submitted as a batch for later execution. A sequence of such operations can then be executed more efficiently than the standard execution of one operation at a time. In this paper we develop a novel algorithmic extension to the prevalent FIFO queue data structure that exploits such batching scenarios. An implementation in C++ on a multicore demonstrates a significant performance improvement of up to 16x (depending on batch lengths), compared to previous queue implementations.