Dynamic memory-aware task-tree scheduling

Guillaume Aupy 1 Clément Brasseur 1, 2 Loris Marchal 2
2 ROMA - Optimisation des ressources : modèles, algorithmes et ordonnancement
Inria Grenoble - Rhône-Alpes, LIP - Laboratoire de l'Informatique du Parallélisme
Abstract : Factorizing sparse matrices using direct multifrontal methods generates directed tree-shaped task graphs, where edges represent data dependency between tasks. This paper revisits the execution of tree-shaped task graphs using multiple processors that share a bounded memory. A task can only be executed if all its input and output data can fit into the memory. The key difficulty is to manage the order of the task executions so that we can achieve high parallelism while staying below the memory bound. In particular, because input data of unprocessed tasks must be kept in memory, a bad scheduling strategy might compromise the termination of the algorithm. In the single processor case, solutions that are guaranteed to be below a memory bound are known. The multi-processor case (when one tries to minimize the total completion time) has been shown to be NP-complete. We present in this paper a novel heuristic solution that has a low complexity and is guaranteed to complete the tree within a given memory bound. We compare our algorithm to state of the art strategies, and observe that on both actual execution trees and synthetic trees, we always perform better than these solutions, with average speedups between 1.25 and 1.45 on actual assembly trees. Moreover, we show that the overhead of our algorithm is negligible even on deep trees (10^5), and would allow its runtime execution.
Type de document :
Rapport
[Research Report] RR-8966, INRIA Grenoble - Rhone-Alpes. 2016
Liste complète des métadonnées

Littérature citée [14 références]  Voir  Masquer  Télécharger

https://hal.inria.fr/hal-01390107
Contributeur : Equipe Roma <>
Soumis le : lundi 31 octobre 2016 - 16:28:00
Dernière modification le : mardi 11 décembre 2018 - 10:58:13

Fichier

rr-8966.pdf
Fichiers produits par l'(les) auteur(s)

Identifiants

  • HAL Id : hal-01390107, version 1

Collections

Citation

Guillaume Aupy, Clément Brasseur, Loris Marchal. Dynamic memory-aware task-tree scheduling. [Research Report] RR-8966, INRIA Grenoble - Rhone-Alpes. 2016. 〈hal-01390107〉

Partager

Métriques

Consultations de la notice

400

Téléchargements de fichiers

183