Balanced Allocations over Efficient Queues: A Fast Relaxed FIFO Queue
Kåre von Geijer, Philippas Tsigas, Elias Johansson, Sebastian Hermansson
摘要
Relaxed semantics have been introduced to increase the achievable parallelism of concurrent data structures in exchange for weakening their ordering semantics. In this paper, we revisit the balanced allocations 𝑑-choice load balancing scheme in the context of relaxed FIFO queues. Our novel load balancing approach distributes operations evenly across 𝑛 sub-queues based on operation counts, achieving low relaxation errors independent on the queues size, as opposed to similar earlier designs. We prove its relaxation errors to be of O ( 𝑛 log log 𝑛 log 𝑑 ) with high probability for a collection of possible executions. Furthermore, our scheme, contrary to previous ones, manages to interface and integrate the most performant linearizable queue designs from the literature as components. Our resulting relaxed FIFO queue is experimentally shown to outperform the previously best design using balanced allocations by more than four times in throughput, while simultaneously incurring less than a thousandth of its relaxation errors. In a concurrent breadth-first-search benchmark, our queue consistently outperforms both relaxed and strict state-of-the-art FIFO queues.
问问这篇 Paper
智能体会读完全文。
Lune 把这篇 Paper 索引到了每一个公式,引用它的顶会 Paper 也一样。你提问,回答直接引用原文。
它引用的顶会 Paper1
相关 Paper
- Sharded Elimination and Combining for Highly-Efficient Concurrent StacksAjay Singh, Nikos Metaxakis, Panagiota FatourouPPoPP 2026
- Non-blocking interpolation search trees with doubly-logarithmic running timeTrevor Brown, Aleksandar Prokopec, Dan AlistarhPPoPP 2020 · 被引用 29 次
- BBQ: A Block-based Bounded Queue for Exchanging Data and ProfilingJiawei Wang, Diogo Behrens, Ming Fu, Lilith Oberhauser 等USENIX ATC 2022
- High-performance parallel graph coloring with strong guarantees on work, depth, and qualityMaciej Besta, Armon Carigiet, Kacper Janda, Zur Vonarburg-Shmaria 等SC 2020 · 被引用 20 次
- Load is not what you should balance: Introducing PrequalBartek Wydrowski, Robert Kleinberg, Stephen M. Rumble, Aaron ArcherNSDI 2024 · 被引用 22 次
