Skip to main content
QUICK REVIEW

[Paper Review] Benchmarking Concurrent Priority Queues: Performance of k-LSM and Related Data Structures

Jakob Gruber, Jesper Larsson Träff|arXiv (Cornell University)|Mar 16, 2016
Distributed systems and fault toleranceComputer Science11 references3 citations
TL;DR

This paper benchmarks concurrent priority queues, including the k-LSM and related data structures, across diverse workloads and key distributions. It demonstrates that while k-LSM excels under uniform key distributions with high throughput, performance degrades significantly under non-uniform distributions—highlighting that throughput alone is insufficient for evaluating concurrent priority queues.

ABSTRACT

A number of concurrent, relaxed priority queues have recently been proposed and implemented. Results are commonly reported for a throughput benchmark that uses a uniform distribution of keys drawn from a large integer range, and mostly for single systems. We have conducted more extensive benchmarking of three recent, relaxed priority queues on four different types of systems with different key ranges and distributions. While we can show superior throughput and scalability for our own k-LSM priority queue for the uniform key distribution, the picture changes drastically for other distributions, both with respect to achieved throughput and relative merit of the priority queues. The throughput benchmark alone is thus not sufficient to characterize the performance of concurrent priority queues. Our benchmark code and k-LSM priority queue are publicly available to foster future comparison.

Motivation & Objective

  • To evaluate the performance of concurrent priority queues beyond standard throughput benchmarks.
  • To investigate how different key distributions and workload patterns affect the scalability and throughput of relaxed priority queues.
  • To assess the real-world applicability of relaxation semantics in concurrent priority queues, particularly for workloads common in discrete event simulation and graph algorithms.
  • To provide a publicly available benchmark suite and k-LSM implementation to enable reproducible and comparable evaluation of future concurrent priority queue designs.

Proposed method

  • Designing a configurable benchmark with multiple workloads: uniform (50% insert/delete) and split (half insert-only, half delete-only).
  • Testing key distributions: uniform over 8-, 16-, and 32-bit ranges, and ascending/descending sequences with incremental key shifts.
  • Implementing and evaluating five priority queue variants: k-LSM (with k=128, 256, 4096), SprayList, MultiQueue, and a global-locked heap as baseline.
  • Measuring throughput (operations per second) and rank error (deviation from strict priority semantics) across four multi-core systems.
  • Using statistical analysis (mean and standard deviation over 30 runs) to assess performance consistency and scalability.
  • Releasing the benchmark code and k-LSM implementation publicly to support reproducibility and future comparison.

Experimental results

Research questions

  • RQ1How does the performance of k-LSM and other concurrent priority queues vary across different key distributions, such as uniform, ascending, and descending?
  • RQ2Does the throughput benchmark alone provide a sufficient characterization of concurrent priority queue performance, or are workload patterns critical?
  • RQ3How do relaxation semantics (e.g., returning one of the k smallest elements) affect real-world performance and consistency across diverse workloads?
  • RQ4Which data structure offers the most consistent performance across different systems and workload configurations?
  • RQ5To what extent do rank errors deviate from theoretical worst-case bounds in practice?

Key findings

  • The k-LSM priority queue achieves over 300 million operations per second under uniform workload and uniform keys, outperforming all other implementations on the 80-core system.
  • Under split workloads with ascending keys, throughput drops by a factor of 10, and MultiQueue becomes the top-performing data structure, outperforming k-LSM significantly.
  • With restricted 8-bit key ranges, k-LSM shows better performance than other queues, but throughput remains low across all implementations.
  • SprayList exhibited instability and failed to produce reliable results under non-uniform workloads, particularly in split and ascending key scenarios.
  • MultiQueue delivered the most consistent performance across all configurations and systems, with stable throughput and low variance.
  • Rank error measurements showed that all queues returned elements much closer to the true minimum than worst-case theoretical bounds predict, indicating practical reliability despite relaxation.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.