[Exploring Dynamic Load Balancing Algorithms] {Exploring Dynamic Load Balancing Algorithms for Block-Structured Mesh-and-Particle Simulations in AMReX}

📅 2025-05-21
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
This work addresses the challenge of dynamic load balancing for block-structured grid–particle coupled simulations within the AMReX framework on heterogeneous supercomputing systems. To tackle hardware-aware partitioning inefficiencies, we propose two topology-aware algorithms: (1) a hybrid partitioning scheme integrating the knapsack optimization with space-filling curves (SFCs), and (2) an SFC-based refinement inspired by painter’s partitioning. Compared to AMReX’s default percentage-based load balancing, our methods significantly improve balance quality—particularly under low-weight-variance scenarios. Rigorous evaluation via knapsack optimization, topology-aware domain decomposition, and brute-force enumeration benchmarks demonstrates superior partitioning quality and runtime efficiency across most test cases, with pronounced advantages when particle weight distributions are uniform. The proposed approaches establish a scalable, high-performance paradigm for dynamic load balancing in large-scale, multi-physics HPC simulations.

Technology Category

Application Category

📝 Abstract
Load balancing is critical for successful large-scale high-performance computing (HPC) simulations. With modern supercomputers increasing in complexity and variability, dynamic load balancing is becoming more critical to use computational resources efficiently. In this study, performed during a summer collaboration at Lawrence Berkeley National Laboratory, we investigate various standard dynamic load-balancing algorithms. This includes the time evaluation of a brute-force solve for application in algorithmic evaluation, as well as quality and time evaluations of the Knapsack algorithm, an SFC algorithm, and two novel algorithms: a painter's partition-based SFC algorithm and a combination Knapsack+SFC methodology-based on hardware topology. The results suggest Knapsack and painter's partition-based algorithms should be among the first algorithms evaluated by HPC codes for cases with limited weight deviation and will perform at least slightly better than AMReX's percentage-tracking partitioning strategy across most simulations, although effects diminish as weight variety increases.
Problem

Research questions and friction points this paper is trying to address.

Exploring dynamic load balancing for AMReX simulations
Evaluating Knapsack and SFC algorithms for HPC efficiency
Comparing novel partition-based methods for load balancing
Innovation

Methods, ideas, or system contributions that make the work stand out.

Evaluates Knapsack algorithm for load balancing
Introduces painter's partition-based SFC algorithm
Proposes combined Knapsack and SFC methodology
🔎 Similar Papers
No similar papers found.