Load Balancing in Strongly Inhomogeneous Simulations -- a Vlasiator Case Study

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Kotipalo, Leo, Battarbee, Markus, Pfau-Kempf, Yann, Tarvus, Vertti, Palmroth, Minna
Format: Preprint
Publié: 2025
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866916761741295616
author Kotipalo, Leo
Battarbee, Markus
Pfau-Kempf, Yann
Tarvus, Vertti
Palmroth, Minna
author_facet Kotipalo, Leo
Battarbee, Markus
Pfau-Kempf, Yann
Tarvus, Vertti
Palmroth, Minna
contents Parallelization is a necessity for large-scale simulations due to the amount of data processed. In this article we investigate different load balancing methods using Vlasiator, a global magnetospheric simulation as our case study. The theoretical basis for load balancing is the (hyper)graph partitioning problem, modeling simulation units as vertices and their data dependencies as edges. As it is an NP-hard problem, heuristics are necessary for dynamic runtime balancing. We consider first hypergraph partitioning via an algorithm called parallel hypergraph partitioner (PHG); this is done by partitioning a simplified grid and then attempting to optimize the solution on the finer grid. The second and third are the geometric methods of recursive coordinate bisection (RCB) and recursive inertial bisection (RIB). Finally we consider the method of Hilbert space filling curves (HSFC). The algorithm projects simulation cells along a Hilbert curve and makes cuts along the curve. This works well due to the excellent locality of Hilbert curves, and can be optimized further by choice of curve. We introduce and investigate six three-dimensional Hilbert curves in total. Our findings on runs of two different scales indicate the HSFC method provides optimal load balance, followed by RIB and PHG methods and finally by RCB. Of the Hilbert curves evaluated, the Beta curve outperformed the most commonly used curve by a few percent.
format Preprint
id arxiv_https___arxiv_org_abs_2505_20908
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Load Balancing in Strongly Inhomogeneous Simulations -- a Vlasiator Case Study
Kotipalo, Leo
Battarbee, Markus
Pfau-Kempf, Yann
Tarvus, Vertti
Palmroth, Minna
Distributed, Parallel, and Cluster Computing
Parallelization is a necessity for large-scale simulations due to the amount of data processed. In this article we investigate different load balancing methods using Vlasiator, a global magnetospheric simulation as our case study. The theoretical basis for load balancing is the (hyper)graph partitioning problem, modeling simulation units as vertices and their data dependencies as edges. As it is an NP-hard problem, heuristics are necessary for dynamic runtime balancing. We consider first hypergraph partitioning via an algorithm called parallel hypergraph partitioner (PHG); this is done by partitioning a simplified grid and then attempting to optimize the solution on the finer grid. The second and third are the geometric methods of recursive coordinate bisection (RCB) and recursive inertial bisection (RIB). Finally we consider the method of Hilbert space filling curves (HSFC). The algorithm projects simulation cells along a Hilbert curve and makes cuts along the curve. This works well due to the excellent locality of Hilbert curves, and can be optimized further by choice of curve. We introduce and investigate six three-dimensional Hilbert curves in total. Our findings on runs of two different scales indicate the HSFC method provides optimal load balance, followed by RIB and PHG methods and finally by RCB. Of the Hilbert curves evaluated, the Beta curve outperformed the most commonly used curve by a few percent.
title Load Balancing in Strongly Inhomogeneous Simulations -- a Vlasiator Case Study
topic Distributed, Parallel, and Cluster Computing
url https://arxiv.org/abs/2505.20908