[Paper Review] Distributed Work Stealing for Constraint Solving
This paper proposes a distributed work stealing framework for constraint satisfaction problem (CSP) solving that enables dynamic load balancing across parallel workers. By combining local work stealing within teams and inter-team cooperation for workload redistribution, the approach reduces idle time and improves scalability, demonstrating significant performance gains on diverse CSP benchmarks compared to static partitioning.
With the dissemination of affordable parallel and distributed hardware, parallel and distributed constraint solving has lately been the focus of some attention. To effectually apply the power of distributed computational systems, there must be an effective sharing of the work involved in the search for a solution to a Constraint Satisfaction Problem (CSP) between all the participating agents, and it must happen dynamically, since it is hard to predict the effort associated with the exploration of some part of the search space. We describe and provide an initial experimental assessment of an implementation of a work stealing-based approach to distributed CSP solving.
Motivation & Objective
- To address the challenge of dynamic load imbalance in distributed constraint solving, where static work partitioning leads to idle workers and wasted effort.
- To design a transparent, scalable framework that enables effective sharing of search work across distributed agents without requiring global coordination.
- To evaluate the effectiveness of a two-level work stealing strategy—local within teams and cooperative between distant teams—for improving performance in parallel CSP solving.
- To explore how work stealing can be integrated into a constraint solver while preserving the declarative simplicity of constraint programming.
- To assess the scalability and performance of the approach on real-world CSP instances, particularly under varying work distribution and communication overheads.
Proposed method
- The system organizes workers into teams, each with a controller managing local work pools and coordinating with other teams.
- Each worker maintains a current search space and a pool of idle search spaces, using a domain consistency-based constraint solver for exploration.
- Local work stealing occurs within teams when a worker exhausts its local work pool, allowing idle workers to steal sub-search spaces from busy peers.
- For inter-team load balancing, a cooperative protocol redistributes remaining work when teams detect imbalance, using a manager-like coordination mechanism.
- The approach uses a partitioning strategy that divides the search space into disjoint sub-search spaces based on variable domain constraints, ensuring completeness and avoiding redundancy.
- The implementation leverages POSIX threads and MPI for inter-process communication, with future work aiming to explore alternative concurrency models.
Experimental results
Research questions
- RQ1How can work stealing be effectively applied to distributed constraint solving to minimize idle time and improve load balancing?
- RQ2What is the performance impact of combining local work stealing with inter-team cooperation in a distributed CSP solver?
- RQ3How does the proposed scheme compare to static partitioning strategies in terms of scalability and solution time across diverse CSP instances?
- RQ4To what extent does the work stealing mechanism reduce communication overhead while maintaining search efficiency?
- RQ5Can the framework be extended to support optimization constraints and scale efficiently across large-scale distributed systems?
Key findings
- The proposed work stealing approach significantly reduces idle time in distributed CSP solving by enabling dynamic load balancing across teams.
- Performance improvements were observed on various CSP benchmarks, particularly in cases where initial work distribution was unbalanced.
- The two-level strategy—local stealing within teams and inter-team cooperation—proved effective in maintaining high utilization and reducing overall solution time.
- The system demonstrated scalability, with performance gains increasing as the number of workers and problem complexity grew.
- The approach outperformed static partitioning strategies, especially in scenarios with unpredictable search space effort distribution.
- The results suggest that work stealing guided by search progress and heuristic information can lead to more efficient exploration of the search space.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.