Semantic Relaxation of Concurrent Data Structures: Efficient and Elastic Designs
Licentiate thesis, 2025
This thesis advances the theory and practice of relaxed concurrent data structures. First, we revisit the classic balanced allocations paradigm in the context of queues, introducing the d-CBO relaxed FIFO queue. The d-CBO queue utilizes the classical d-choice in a new way to evenly balance operation counts across sub-queues. Our analysis shows provably low, stable relaxation errors, and experiments demonstrate a better relaxation-performance trade-off than previous relaxed FIFO designs.
Second, we explore the applicability of relaxation in graph analytics. Using a relaxed priority queue in a parallel Single-Source Shortest Path (SSSP) implementation, we achieve state-of-the-art performance on sparse graphs and remain competitive across other graph types. Our findings show that relaxed designs can be used within parallel algorithms to outperform state-of-the-art without extensive parameter tuning or problem-specific tailoring.
Finally, we introduce the concept of elastic relaxation, which enables relaxed implementations to adjust their semantics dynamically during run time. We extend a state-of-the-art framework for relaxed data structures to support elastic variants of queues, stacks, deques, and counters, with correctness guarantees and deterministic relaxation bounds. Experiments show that these elastic capabilities incur minimal overhead. When combined with a lightweight controller for relaxation, they demonstrated an improved trade-off between throughput and work-efficiency compared to static designs.
Elastic Relaxation
Semantic Relaxation
Shared-Memory
Concurrency
Multicore
Data Structures
FIFO Queue
Single-Source Shortest Path
Author
Kåre von Geijer
Chalmers, Computer Science and Engineering (Chalmers), Computer and Network Systems
Balanced Allocations over Efficient Queues: A Fast Relaxed FIFO Queue
ACMSIGPLAN Symposium on Principles and Practice of Parallel Programming,;(2025)p. 382-395
Paper in proceeding
Relax and don't Stop: Graph-aware Asynchronous SSSP
Proceedings of the 1st Fastcode Programming Challenge Fcpc 2025,;(2025)p. 43-47
Paper in proceeding
Elastic Relaxation of Concurrent Data Structures
IEEE Transactions on Parallel and Distributed Systems,;Vol. 36(2025)p. 2578-2595
Journal article
Relaxed Concurrent Data Structure Semantics for Scalable Data Processing
Swedish Research Council (VR) (2021-05443), 2022-01-01 -- 2025-12-31.
Subject Categories (SSIF 2025)
Computer Sciences
Technical report L - Department of Computer Science and Engineering, Chalmers University of Technology and Göteborg University
Publisher
Chalmers