[Paper Review] Dynamic Load Balancing Strategies for Graph Applications on GPUs
This paper proposes three dynamic load balancing strategies—workload decomposition, node splitting, and hierarchical worklists—for graph applications on GPUs to address performance degradation caused by irregular workloads. By combining edge-based load balancing with node-based structure and adapting to dynamic work distribution, the methods reduce execution time by up to 75% on large graphs, outperforming static node- and edge-based approaches.
Acceleration of graph applications on GPUs has found large interest due to the ubiquitous use of graph processing in various domains. The inherent extit{irregularity} in graph applications leads to several challenges for parallelization. A key challenge, which we address in this paper, is that of load-imbalance. If the work-assignment to threads uses node-based graph partitioning, it can result in skewed task-distribution, leading to poor load-balance. In contrast, if the work-assignment uses edge-based graph partitioning, the load-balancing is better, but the memory requirement is relatively higher. This makes it unsuitable for large graphs. In this work, we propose three techniques for improved load-balancing of graph applications on GPUs. Each technique brings in unique advantages, and a user may have to employ a specific technique based on the requirement. Using Breadth First Search and Single Source Shortest Paths as our processing kernels, we illustrate the effectiveness of each of the proposed techniques in comparison to the existing node-based and edge-based mechanisms.
Motivation & Objective
- Address the performance bottleneck caused by load imbalance in GPU-accelerated graph applications due to irregular, skewed node degrees.
- Overcome the limitations of static node-based and edge-based task distribution, which suffer from poor load balance or high memory overhead.
- Develop dynamic, adaptive load balancing strategies that respond to changing workloads during graph algorithm execution.
- Evaluate strategies across diverse graph types and kernels (BFS, SSSP) to identify context-dependent optimal approaches.
- Enable efficient execution of large-scale graph workloads on GPUs with limited memory by minimizing memory footprint while maximizing load balance.
Proposed method
- Workload decomposition assigns edges from active nodes to threads, combining edge-level load balancing with node-level structure to reduce memory overhead.
- Node splitting dynamically decomposes high-degree nodes into multiple lower-degree virtual nodes to distribute work more evenly across threads.
- Hierarchical processing uses a main worklist and dynamically created sub-worklists to balance load across threads, adjusting thread count based on sub-worklist size.
- The strategies are integrated into the LoneStar-GPU framework and evaluated using BFS and SSSP kernels on real-world and synthetic graphs.
- A novel heuristic automatically determines the optimal number of virtual nodes in the node splitting strategy, avoiding manual tuning.
- All methods are designed to be compatible with CSR graph format, minimizing memory overhead compared to COO-based edge processing.
Experimental results
Research questions
- RQ1How does workload decomposition compare to traditional node- and edge-based task distribution in terms of load balance and performance on irregular graphs?
- RQ2To what extent can node splitting reduce load imbalance in graphs with high-degree nodes, and how does it compare to virtual node approaches?
- RQ3Can hierarchical worklist processing effectively manage load imbalance in large graphs where edge-based methods fail due to memory constraints?
- RQ4In which graph characteristics (e.g., diameter, degree distribution) do each of the proposed strategies outperform static load balancing methods?
- RQ5What is the performance impact of dynamic load balancing on compute-intensive graph kernels like SSSP compared to baseline implementations?
Key findings
- Edge-based processing achieved 10% better performance than the baseline for BFS and 60–80% better for SSSP, demonstrating its superiority in load-balanced workloads.
- For graphs with small diameters, workload decomposition outperformed other node-based strategies, achieving better load balance than standard node-based assignment.
- For graphs with large diameters, node splitting provided the best performance among node-based strategies, reducing load imbalance from high-degree nodes.
- The hierarchical processing method reduced execution time by 48–75% compared to the baseline on very large graphs where edge-based methods failed due to memory constraints.
- No single strategy universally outperformed all others; performance varied significantly by graph type and algorithm, indicating the need for context-aware selection.
- The proposed strategies significantly improved performance on SSSP, where baseline node-based methods suffered from severe load imbalance, with at least 20% improvement across all dynamic strategies.
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.