A Lock-Free Work-Stealing Algorithm for Bulk Operations

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Kataru, Raja Sai Nandhan Yadav, Davarnia, Danial, Jannesari, Ali
Format: Preprint
Veröffentlicht: 2026
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866911490381971456
author Kataru, Raja Sai Nandhan Yadav
Davarnia, Danial
Jannesari, Ali
author_facet Kataru, Raja Sai Nandhan Yadav
Davarnia, Danial
Jannesari, Ali
contents Work-stealing is a widely used technique for balancing irregular parallel workloads, and most modern runtime systems adopt lock-free work-stealing deques to reduce contention and improve scalability. However, existing algorithms are designed for general-purpose parallel runtimes and often incur overheads that are unnecessary in specialized settings. In this paper, we present a new lock-free work-stealing queue tailored for a master-worker framework used in the parallelization of a mixed-integer programming optimization solver based on decision diagrams. Our design supports native bulk operations, grows without bounds, and assumes at most one owner and one concurrent stealer, thereby eliminating the need for heavy synchronization. We provide an informal sketch that our queue is linearizable and lock-free under this restricted concurrency model. Benchmarks demonstrate that our implementation achieves constant-latency push performance, remaining stable even as batch size increases, in contrast to existing queues from C++ Taskflow whose latencies grow sharply with batch size. Pop operations perform comparably across all implementations, while our steal operation maintains nearly flat latency across different steal proportions. We also explore an optimized steal variant that reduces latency by up to 3x in practice. Finally, a pseudo workload based on large-graph exploration confirms that all implementations scale linearly. However, we argue that solver workloads with irregular node processing times would further amplify the advantages of our algorithm.
format Preprint
id arxiv_https___arxiv_org_abs_2603_05766
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle A Lock-Free Work-Stealing Algorithm for Bulk Operations
Kataru, Raja Sai Nandhan Yadav
Davarnia, Danial
Jannesari, Ali
Distributed, Parallel, and Cluster Computing
Computational Engineering, Finance, and Science
Optimization and Control
Work-stealing is a widely used technique for balancing irregular parallel workloads, and most modern runtime systems adopt lock-free work-stealing deques to reduce contention and improve scalability. However, existing algorithms are designed for general-purpose parallel runtimes and often incur overheads that are unnecessary in specialized settings. In this paper, we present a new lock-free work-stealing queue tailored for a master-worker framework used in the parallelization of a mixed-integer programming optimization solver based on decision diagrams. Our design supports native bulk operations, grows without bounds, and assumes at most one owner and one concurrent stealer, thereby eliminating the need for heavy synchronization. We provide an informal sketch that our queue is linearizable and lock-free under this restricted concurrency model. Benchmarks demonstrate that our implementation achieves constant-latency push performance, remaining stable even as batch size increases, in contrast to existing queues from C++ Taskflow whose latencies grow sharply with batch size. Pop operations perform comparably across all implementations, while our steal operation maintains nearly flat latency across different steal proportions. We also explore an optimized steal variant that reduces latency by up to 3x in practice. Finally, a pseudo workload based on large-graph exploration confirms that all implementations scale linearly. However, we argue that solver workloads with irregular node processing times would further amplify the advantages of our algorithm.
title A Lock-Free Work-Stealing Algorithm for Bulk Operations
topic Distributed, Parallel, and Cluster Computing
Computational Engineering, Finance, and Science
Optimization and Control
url https://arxiv.org/abs/2603.05766