Cargando…
Impact study of data locality on task-based applications through the Heteroprio scheduler
The task-based approach has emerged as a viable way to effectively use modern heterogeneous computing nodes. It allows the development of parallel applications with an abstraction of the hardware by delegating task distribution and load balancing to a dynamic scheduler. In this organization, the sch...
Autor principal: | |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
PeerJ Inc.
2019
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7924490/ https://www.ncbi.nlm.nih.gov/pubmed/33816843 http://dx.doi.org/10.7717/peerj-cs.190 |
_version_ | 1783659101450928128 |
---|---|
author | Bramas, Bérenger |
author_facet | Bramas, Bérenger |
author_sort | Bramas, Bérenger |
collection | PubMed |
description | The task-based approach has emerged as a viable way to effectively use modern heterogeneous computing nodes. It allows the development of parallel applications with an abstraction of the hardware by delegating task distribution and load balancing to a dynamic scheduler. In this organization, the scheduler is the most critical component that solves the DAG scheduling problem in order to select the right processing unit for the computation of each task. In this work, we extend our Heteroprio scheduler that was originally created to execute the fast multipole method on multi-GPUs nodes. We improve Heteroprio by taking into account data locality during task distribution. The main principle is to use different task-lists for the different memory nodes and to investigate how locality affinity between the tasks and the different memory nodes can be evaluated without looking at the tasks’ dependencies. We evaluate the benefit of our method on two linear algebra applications and a stencil code. We show that simple heuristics can provide significant performance improvement and cut by more than half the total memory transfer of an execution. |
format | Online Article Text |
id | pubmed-7924490 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2019 |
publisher | PeerJ Inc. |
record_format | MEDLINE/PubMed |
spelling | pubmed-79244902021-04-02 Impact study of data locality on task-based applications through the Heteroprio scheduler Bramas, Bérenger PeerJ Comput Sci Distributed and Parallel Computing The task-based approach has emerged as a viable way to effectively use modern heterogeneous computing nodes. It allows the development of parallel applications with an abstraction of the hardware by delegating task distribution and load balancing to a dynamic scheduler. In this organization, the scheduler is the most critical component that solves the DAG scheduling problem in order to select the right processing unit for the computation of each task. In this work, we extend our Heteroprio scheduler that was originally created to execute the fast multipole method on multi-GPUs nodes. We improve Heteroprio by taking into account data locality during task distribution. The main principle is to use different task-lists for the different memory nodes and to investigate how locality affinity between the tasks and the different memory nodes can be evaluated without looking at the tasks’ dependencies. We evaluate the benefit of our method on two linear algebra applications and a stencil code. We show that simple heuristics can provide significant performance improvement and cut by more than half the total memory transfer of an execution. PeerJ Inc. 2019-05-06 /pmc/articles/PMC7924490/ /pubmed/33816843 http://dx.doi.org/10.7717/peerj-cs.190 Text en © 2019 Bramas http://creativecommons.org/licenses/by/4.0/ This is an open access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/4.0/) , which permits unrestricted use, distribution, reproduction and adaptation in any medium and for any purpose provided that it is properly attributed. For attribution, the original author(s), title, publication source (PeerJ Computer Science) and either DOI or URL of the article must be cited. |
spellingShingle | Distributed and Parallel Computing Bramas, Bérenger Impact study of data locality on task-based applications through the Heteroprio scheduler |
title | Impact study of data locality on task-based applications through the Heteroprio scheduler |
title_full | Impact study of data locality on task-based applications through the Heteroprio scheduler |
title_fullStr | Impact study of data locality on task-based applications through the Heteroprio scheduler |
title_full_unstemmed | Impact study of data locality on task-based applications through the Heteroprio scheduler |
title_short | Impact study of data locality on task-based applications through the Heteroprio scheduler |
title_sort | impact study of data locality on task-based applications through the heteroprio scheduler |
topic | Distributed and Parallel Computing |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7924490/ https://www.ncbi.nlm.nih.gov/pubmed/33816843 http://dx.doi.org/10.7717/peerj-cs.190 |
work_keys_str_mv | AT bramasberenger impactstudyofdatalocalityontaskbasedapplicationsthroughtheheteroprioscheduler |