Universitat Politècnica de Catalunya
Exploiting synergies between message-passing and task-based programming models
Abstract
dc:description.abstract(English) Modern supercomputing systems feature thousands of computing nodes that already provide hundreds of cores. Parallelizing scientific and engineering applications to leverage all these resources has become a significant challenge for the HPC community. Any application that aims to perform well at scale must efficiently orchestrate and exploit both inter- and intra-node parallelism. Multiple programming models exist to exploit each of these parallelism classes. MPI and OpenMP are de facto standards for distributed- and shared-memory parallelism, respectively. MPI is a message-passing interface based on processes with separate virtual address spaces, while OpenMP defines thread-based and task-based interfaces for shared-memory parallelization. Applications can combine both types of programming models to take advantage of their particular benefits in a technique called hybrid parallel programming. Combining task-based and message-passing programming models is a promising hybrid approach that can provide a high-performance data-flow model without damaging the programmability of applications. An application can be represented as a set of directed acyclic graphs (DAGs) with one independent graph per process. Vertices represent tasks comprising computations and communications, edges represent the data dependencies among tasks, and the tasks from distinct processes (i.e., different DAGs) can communicate through message passing. This way, the intra- and inter-node parallelism is smoothly orchestrated through the task graphs. Moreover, this data-flow approach has other benefits: fine synchronizations through data dependencies and inter-process messages, the natural overlap and intertwining of application phases (e.g., computation and communication), and an automatic load balancing within each process. However, the current standards (e.g., MPI and OpenMP) prevent tasks from issuing communications efficiently, as severe performance and programmability issues must be tackled. This thesis designs and implements software solutions that allow task-based applications to efficiently incorporate communications inside their task graphs. We solve the well-known interoperability issues between task-based and message-passing programming models through two task-aware libraries. The two new libraries provide full support to application tasks that issue communications through task-aware communication operations, which can feature blocking or non-blocking semantics. The TAMPI library supports two-sided MPI communications (e.g., send/receive and collectives), and the TAGASPI library supports the one-sided communications (also known as RMA) provided by the GASPI interface. Furthermore, our task-aware mechanisms are generic enough to incorporate any other blocking or non-blocking interface (e.g., for GPU offloading) with task-based models. Our hybrid data-flow approach, which combines tasking and message passing, provides performance, scalability, and programmability for task-based applications on highly parallel systems. We demonstrate these benefits by porting several benchmarks and applications and comparing our approach with other state-of-the-art techniques.
Degree
thesis:*- Grantor dc:publisher
- Universitat Politècnica de Catalunya
- Year dc:date.issued
- 2024
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Sala Penadés, Kevin
- Contributors dc:contributor
-
- Universitat Politècnica de Catalunya. Departament d'Arquitectura de Computadors
Subjects
dc:subject × 9Rights
dc:rights.accesslevel- Statement dc:rights.accesslevel
-
- info:eu-repo/semantics/openAccess
- Language dc:language.iso
- eng
Identifiers
dc:identifier.*- Identifier URI
- http://hdl.handle.net/10803/696580