Tasks Unlimited: Lightweight Task Offloading Exploiting MPI Wait Times for Parallel Adaptive Mesh Refinement

09/13/2019
by   Philipp Samfass, et al.
0

Balancing dynamically adaptive mesh refinement (AMR) codes is inherently difficult, since codes have to balance both computational workload and memory footprint over meshes that can change any time, while modern supercomputers and their interconnects start to exhibit fluctuating performance. We propose a novel lightweight scheme for MPI+X which complements traditional balancing. It is a reactive diffusion approach which uses online measurements of MPI idle time to migrate tasks from overloaded to underemployed ranks. Tasks are deployed to ranks which otherwise would wait, processed with high priority, and made available to the overloaded ranks again. They are temporarily migrated. Our approach hijacks idle time to do meaningful work and is totally non-blocking, asynchronous and distributed without a global data view. Tests with a seismic simulation code running an explicit high order ADER-DG scheme (developed in the ExaHyPE engine, www.exahype.org) uncover the method's potential. We found speed-ups of up to 2-3 for ill-balanced scenarios without logical modifications of the code base.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
06/19/2018

Enclave Tasking for Discontinuous Galerkin Methods on Dynamically Adaptive Meshes

High-order Discontinuous Galerkin (DG) methods promise to be an excellen...
research
12/22/2021

Callback-based Completion Notification using MPI Continuations

Asynchronous programming models (APM) are gaining more and more traction...
research
08/24/2023

Experience with Distributed Memory Delaunay-based Image-to-Mesh Conversion Implementation

This paper presents some of our findings on the scalability of parallel ...
research
10/22/2017

Lightweight MPI Communicators with Applications to Perfectly Balanced Schizophrenic Quicksort

MPI uses the concept of communicators to connect groups of processes. It...
research
01/29/2020

Interplay between diffusion anisotropy and mesh skewness in Hybrid High-Order schemes

We explore the effects of mesh skewness on the accuracy of standard Hybr...
research
07/01/2018

Framework for the hybrid parallelisation of simulation codes

Writing efficient hybrid parallel code is tedious, error-prone, and requ...
research
08/03/2020

Hardware locality-aware partitioning and dynamic load-balancing of unstructured meshes for large-scale scientific applications

We present an open-source topology-aware hierarchical unstructured mesh ...

Please sign up or login with your details

Forgot password? Click here to reset