Lune

PPoPP2025Top-tier venue

Balanced Allocations over Efficient Queues: A Fast Relaxed FIFO Queue

Kåre von Geijer, Philippas Tsigas, Elias Johansson, Sebastian Hermansson

Abstract

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.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

Builds onCited byLeft to right by year; the more cited, the higher.

Builds on1

  1. Multi-queues can be state-of-the-art priority schedulersAnastasiia Postnikova, Nikita Koval, Giorgi Nadiradze, Dan AlistarhPPoPP 2022 · 18 citations

Related papers

  1. Sharded Elimination and Combining for Highly-Efficient Concurrent StacksAjay Singh, Nikos Metaxakis, Panagiota FatourouPPoPP 2026
  2. Non-blocking interpolation search trees with doubly-logarithmic running timeTrevor Brown, Aleksandar Prokopec, Dan AlistarhPPoPP 2020 · 29 citations
  3. BBQ: A Block-based Bounded Queue for Exchanging Data and ProfilingJiawei Wang, Diogo Behrens, Ming Fu, Lilith Oberhauser et al.USENIX ATC 2022
  4. High-performance parallel graph coloring with strong guarantees on work, depth, and qualityMaciej Besta, Armon Carigiet, Kacper Janda, Zur Vonarburg-Shmaria et al.SC 2020 · 20 citations
  5. Load is not what you should balance: Introducing PrequalBartek Wydrowski, Robert Kleinberg, Stephen M. Rumble, Aaron ArcherNSDI 2024 · 22 citations
Dusk over the sea between two cliffs drawn in fine vertical lines