Treffer: Combining one-sided communications with task-based programming models

Title:
Combining one-sided communications with task-based programming models
Contributors:
Universitat Politècnica de Catalunya. Doctorat en Arquitectura de Computadors, Barcelona Supercomputing Center
Publisher Information:
Institute of Electrical and Electronics Engineers (IEEE)
Publication Year:
2021
Collection:
Universitat Politècnica de Catalunya, BarcelonaTech: UPCommons - Global access to UPC knowledge
Document Type:
Konferenz conference object
File Description:
14 p.; application/pdf
Language:
English
Relation:
https://ieeexplore.ieee.org/abstract/document/9556092; info:eu-repo/grantAgreement/AGAUR/2017 SGR 1414; info:eu-repo/grantAgreement/EC/H2020/823767/EU/PRACE 6th Implementation Phase Project/PRACE-6IP; http://hdl.handle.net/2117/354166
DOI:
10.1109/Cluster48925.2021.00024
Rights:
Open Access
Accession Number:
edsbas.2DAF81ED
Database:
BASE

Weitere Informationen

Hybrid programming combining task-based and message-passing models is an increasingly popular technique to exploit multi-core clusters. The Task-Aware MPI (TAMPI) library integrates both models enabling the safe overlap of computation and communication tasks using two-sided MPI communications. Two-sided primitives combine data transfers with implicit synchronizations, but one-sided models usually offer more efficient data transfers decoupling synchronizations. MPI offers four distinct one-sided synchronization modes, while GASPI is a PGAS API providing one-sided operations with remote notifications for fine inter-process synchronizations.In this paper, we study the challenges of integrating MPI and GASPI one-sided operations with the OpenMP and OmpSs-2 tasking models. We propose and implement several extensions to the GASPI and OmpSs-2 programming models, which are leveraged by a new library called Task-Aware GASPI (TAGASPI). The TAGASPI library allows the efficient and safe use of one-sided operations with remote notifications inside tasks. Both TAGASPI and TAMPI transparently manage communications issued by tasks and allow these to overlap with computation tasks naturally, following a data-flow model. These libraries are complementary and can be mixed in the same application.Our experience porting several mini-apps to this hybrid model shows that TAGASPI helps leverage one-sided communications with similar complexity to pure and hybrid two-sided MPI approaches. We show that our hybrid one-sided approach outperforms the pure MPI strategies, but it also surpasses the TAMPI’s performance when stressing communication phases, e.g., increasing the communication parallelism and reducing the communication tasks’ sizes. ; This work has been supported by the European Union H2020 Programme through the LoSync PRACE6IP project (agreement No. INFRAEDI-823767); the Spanish Ministry of Economy through the Severo Ochoa Center of Excellence Program (SEV-2015-0493); the Spanish Ministry of Science and Innovation ...