BQ: A Lock-Free Queue with Batching

被引:15
|
作者
Milman, Gal [1 ]
Kogan, Alex [2 ]
Lev, Yossi [2 ]
Luchangco, Victor [2 ]
Petrank, Erez [1 ]
机构
[1] Technion, Haifa, Israel
[2] Oracle Labs, Redwood Shores, CA USA
基金
以色列科学基金会;
关键词
Concurrent Algorithms; Concurrent Data Structures; Lock-Freedom; Linearizability; FIFO Queue;
D O I
10.1145/3210377.3210388
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
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.
引用
收藏
页码:99 / 109
页数:11
相关论文
共 50 条
  • [11] Concurrent Lock-Free Unbounded Priority Queue with Mutable Priorities
    Walulya, Ivan
    Chatterjee, Bapi
    Datta, Ajoy K.
    Niyolia, Rashmi
    Tsigas, Philippas
    STABILIZATION, SAFETY, AND SECURITY OF DISTRIBUTED SYSTEMS, SSS 2018, 2018, 11201 : 365 - 380
  • [12] Concurrent lock-free unbounded priority queue with mutable priorities
    Walulya, Ivan
    Chatterjee, Bapi
    Datta, Ajoy K.
    Niyolia, Rashmi
    Tsigas, Philippas
    Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics), 2018, 11201 LNCS : 365 - 380
  • [13] Trace-based Derivation of a Lock-Free Queue Algorithm
    Groves, Lindsay
    ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2008, 201 (0C) : 69 - 98
  • [14] A Conflict-Resilient Lock-Free Linearizable Calendar Queue
    Marotta, Romolo
    Ianni, Mauro
    Pellegrini, Alessandro
    Quaglia, Francesco
    ACM TRANSACTIONS ON PARALLEL COMPUTING, 2024, 11 (01)
  • [15] Application of Lock-Free Queue in a Fast Command Relay Software
    Wang Sen
    Zhao Qi
    Feng Wen-quan
    2009 SECOND INTERNATIONAL CONFERENCE ON FUTURE INFORMATION TECHNOLOGY AND MANAGEMENT ENGINEERING, FITME 2009, 2009, : 572 - 575
  • [16] The Lock-Free k-LSM Relaxed Priority Queue
    Wimmer, Martin
    Gruber, Jakob
    Traeff, Jesper Larsson
    Tsigas, Philippas
    ACM SIGPLAN NOTICES, 2015, 50 (08) : 277 - 278
  • [17] Lock-free distributed queue in remote memory access model
    Burachenko, Alexander, V
    Paznikov, Alexei A.
    Derzhavin, Denis P.
    VESTNIK TOMSKOGO GOSUDARSTVENNOGO UNIVERSITETA-UPRAVLENIE VYCHISLITELNAJA TEHNIKA I INFORMATIKA-TOMSK STATE UNIVERSITY JOURNAL OF CONTROL AND COMPUTER SCIENCE, 2023, (62): : 13 - 24
  • [18] An Efficient Unbounded Lock-Free Queue for Multi-core Systems
    Aldinucci, Marco
    Danelutto, Marco
    Kilpatrick, Peter
    Meneghin, Massimiliano
    Torquati, Massimo
    EURO-PAR 2012 PARALLEL PROCESSING, 2012, 7484 : 662 - 673
  • [19] Integrating Lock-Free and Combining Techniques for a Practical and Scalable FIFO Queue
    Min, Changwoo
    Eom, Young Ik
    IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS, 2015, 26 (07) : 1910 - 1922
  • [20] Lock-free queues
    Marginean, Petru
    DR DOBBS JOURNAL, 2008, 33 (07): : 43 - 47