Lune

USENIX ATC2022顶会

BBQ: A Block-based Bounded Queue for Exchanging Data and Profiling

Jiawei Wang, Diogo Behrens, Ming Fu, Lilith Oberhauser, Jonas Oberhauser, Jitang Lei, Geng Chen, Hermann Härtig, Haibo Chen

摘要

Concurrent bounded queues have been widely used for exchanging data and profiling in operating systems, databases, and multithreaded applications. The performance of state-ofthe-art queues is limited by the interference between multiple enqueues (enq-enq), multiple dequeues (deq-deq), or enqueues and dequeues (enq-deq), negatively affecting their latency and scalability. Although some existing designs employ optimizations to reduce deq-deq and enq-enq interference, they often neglect the enq-deq case. In fact, such partial optimizations may inadvertently increase interference elsewhere and result in performance degradation.

We present Block-based Bounded Queue (BBQ), a novel ringbuffer design that splits the entire buffer into multiple blocks. This eliminates enq-deq interference on concurrency control variables when producers and consumers operate on different blocks. Furthermore, the block-based design is amenable to existing optimizations, e.g., using the more scalable fetch-and-add instruction. Our evaluation shows that BBQ outperforms several industrial ringbuffers. For example, in single-producer/single-consumer micro-benchmarks, BBQ yields 11.3x to 42.4x higher throughput than the ringbuffers from Linux kernel, DPDK, Boost, and Folly libraries. In realworld scenarios, BBQ achieves up to 1.5x, 50.5x, and 11.1x performance improvements in benchmarks of DPDK, Linux io_uring, and Disruptor, respectively. We verified and optimized BBQ on weak memory models with a model-checkingbased framework.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 6 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Towards Unified Analysis of GPU Consistency 引用了 VSync: push-button verification and optimization for synchronization primitives on weak memory models
  • Towards Unified Analysis of GPU Consistency 引用了 BWoS: Formally Verified Block-based Work Stealing for Parallel Processing
  • Using Dynamically Layered Definite Releases for Verifying the RefFS File System 引用了 VSync: push-button verification and optimization for synchronization primitives on weak memory models
  • Using Dynamically Layered Definite Releases for Verifying the RefFS File System 引用了 BWoS: Formally Verified Block-based Work Stealing for Parallel Processing
  • BWoS: Formally Verified Block-based Work Stealing for Parallel Processing 引用了 VSync: push-button verification and optimization for synchronization primitives on weak memory models
  • Making weak memory models fair 引用了 VSync: push-button verification and optimization for synchronization primitives on weak memory models
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper6

  1. Towards Unified Analysis of GPU ConsistencyHaining Tong, Natalia Gavrilenko, Hernán Ponce de León, Keijo HeljankoASPLOS 2024 · 5 次引用
  2. BWoS: Formally Verified Block-based Work Stealing for Parallel ProcessingJiawei Wang, Bohdan Trach, Ming Fu, Diogo Behrens 等OSDI 2023 · 5 次引用
  3. Using Dynamically Layered Definite Releases for Verifying the RefFS File SystemMo Zou, Dong Du, Mingkai Dong, Haibo ChenOSDI 2024 · 4 次引用
  4. Blowfish: Elastic Virtual Machine Memory for Disaggregated MemoryYulong Zhang, Yilong Luo, Diyu Zhou, Quan Chen 等OSDI 2026
  5. BURST: Seeking High-performance, Interoperability and Scalability in Soft-RDMAHuijun Shen, Zelong Yue, Jian Yang, Zhuo Jiang 等NSDI 2026

它引用的 Paper3

  1. VSync: push-button verification and optimization for synchronization primitives on weak memory modelsJonas Oberhauser, Rafael Lourenco de Lima Chehab, Diogo Behrens, Ming Fu 等ASPLOS 2021 · 40 次引用
  2. Making weak memory models fairOri Lahav, Egor Namakonov, Jonas Oberhauser, Anton Podkopaev 等OOPSLA 2021 · 21 次引用
  3. Scaling concurrent queues by using HTM to profit from failed atomic operationsOr Ostrovsky, Adam MorrisonPPoPP 2020 · 6 次引用

相关 Paper

  1. Disentangling the Dual Role of NIC Receive RingsBoris Pismenny, Adam Morrison, Dan TsafrirOSDI 2025 · 2 次引用
  2. RB2: Narrow the Gap between RDMA Abstraction and Performance via a Middle LayerHaifeng Sun, Yixuan Tan, Yongtong Wu, Jiaqi Zhu 等INFOCOM 2024 · 1 次引用
  3. SKQ: Event Scheduling for Optimizing Tail Latency in a Traditional OS KernelSiyao Zhao, Haoyu Gu, Ali José MashtizadehUSENIX ATC 2021 · 11 次引用
  4. Count-Based Abstractions for Performance Verification of Contention PointsAmir Seyhani, Aarti Gupta, David Walker, Mina Tahmasbi ArashlooNSDI 2026
  5. BBQ: A Fast and Scalable Integer Priority Queue for Hardware Packet SchedulingNirav Atre, Hugo Sadok, Justine SherryNSDI 2024 · 12 次引用
黄昏的海面,两侧是细线勾勒的悬崖