Skip to main content
QUICK REVIEW

[Paper Review] A Lock-Free Work-Stealing Algorithm for Bulk Operations

Raja Sai Nandhan Yadav Kataru, Danial Davarnia|arXiv (Cornell University)|Mar 5, 2026
Parallel Computing and Optimization TechniquesComputer Science0 citations
TL;DR

The paper introduces LF_Queue, a lock-free, unbounded, bulk-friendly work-stealing queue for a master-worker DD-BD solver, and shows constant-latency bulk pushes and scalable bulk steals without locks.

ABSTRACT

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.

Motivation & Objective

  • Motivate a specialized workload for parallel decision diagram-based mixed-integer optimization in a master-worker setting.
  • Design a lock-free queue that supports native bulk push/steal, unbounded growth, and at most two concurrent users (owner and a single stealer).
  • Provide a correctness sketch (linearizability and lock-free progress) and evaluate performance against existing Taskflow queues.
  • Demonstrate through benchmarks that bulk operations have constant or near-constant latency and that the approach scales with workload size.

Proposed method

  • Propose a deque implemented as a singly linked list with atomic size and head pointers and padding to avoid false sharing.
  • Provide API operations: push (bulk), pop (owner), steal (bulk from tail) with specific memory-order semantics (relaxed, acquire-release).
  • Steal computes a cut point to steal a proportion of nodes from the tail, with consistency checks to abort on rapid draining.
  • Argue linearizability by identifying the steal cut as the linearization point and showing owner-only rewrites of internal links.
  • Offer an optimization that skips a full traversal when the owner did not update the queue during steal, reducing steal latency.
  • Evaluate against two Taskflow queues (Unbounded and Bounded) for push/steal latency and perform a pseudo-DAG workload to assess scalability.

Experimental results

Research questions

  • RQ1Does the LF_Queue design provide lock-free progress with a single stealer in a master-worker setting?
  • RQ2Can bulk push and bulk steal remain low-latency and scalable as batch sizes increase?
  • RQ3How does the LF_Queue performance compare to existing Taskflow queues under bulk operations and varying steal proportions?
  • RQ4Does the approach scale on realistic parallel workloads such as DAG exploration with irregular node processing times?

Key findings

  • LF_Queue achieves near-constant latency for bulk push operations across batch sizes (1–1024 nodes) and outperforms Taskflow queues with increasing batch size.
  • Steal latency with LF_Queue remains nearly flat across steal proportions, while Taskflow queues show linear-like growth as stealing increases.
  • An optimized steal variant can reduce latency by up to 3x in common cases where the owner does not update during steal.
  • In DAG-based pseudo-workloads, the solution demonstrates near log-linear scalability with thread count, indicating good parallel efficiency.
  • The approach supports unbounded growth without resizing and maintains linearizability under the restricted concurrency model (owner + single stealer).
  • Benchmarks show constant-latency pushes and stable steals, while pop operations remain comparable across implementations.

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.