Improving parallel executions by increasing task granularity in task-based runtime systems using acyclic DAG clustering
Author(s) -
Bérenger Bramas,
Alain Ketterlin
Publication year - 2020
Publication title -
peerj computer science
Language(s) - English
Resource type - Journals
SCImago Journal Rank - 0.806
H-Index - 24
ISSN - 2376-5992
DOI - 10.7717/peerj-cs.247
Subject(s) - computer science , heuristics , directed acyclic graph , granularity , parallel computing , overhead (engineering) , cluster analysis , execution time , task (project management) , scheduling (production processes) , graph , aggregate (composite) , set (abstract data type) , distributed computing , theoretical computer science , algorithm , mathematical optimization , programming language , artificial intelligence , materials science , mathematics , management , economics , composite material , operating system
The task-based approach is a parallelization paradigm in which an algorithm is transformed into a direct acyclic graph of tasks: the vertices are computational elements extracted from the original algorithm and the edges are dependencies between those. During the execution, the management of the dependencies adds an overhead that can become significant when the computational cost of the tasks is low. A possibility to reduce the makespan is to aggregate the tasks to make them heavier, while having fewer of them, with the objective of mitigating the importance of the overhead. In this paper, we study an existing clustering/partitioning strategy to speed up the parallel execution of a task-based application. We provide two additional heuristics to this algorithm and perform an in-depth study on a large graph set. In addition, we propose a new model to estimate the execution duration and use it to choose the proper granularity. We show that this strategy allows speeding up a real numerical application by a factor of 7 on a multi-core system.
Accelerating Research
Robert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom
Address
John Eccles HouseRobert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom