Scheduling Trees of Malleable Tasks for Sparse Linear Algebra
Résumé
Scientific workloads are often described by directed acyclic task graphs. This is in particular the case for multifrontal factorization of sparse matrices —the focus of this paper— whose task graph is struc-tured as a tree of parallel tasks. Prasanna and Musicus advocated using the concept of malleable tasks to model parallel tasks involved in matrix computations. In this powerful model each task is processed on a time-varying number of processors. Following Prasanna and Musicus, we consider malleable tasks whose speedup is p α , where p is the fractional share of processors on which a task executes, and α (0 < α ≤ 1) is a task-independent parameter. Firstly, we use actual experiments on mul-ticore platforms to motivate the relevance of this model for our application. Then, we study the optimal time-minimizing allocation proposed by Prasanna and Musicus using optimal control theory. We greatly simplify their proofs by resorting only to pure scheduling arguments. Building on the insight gained thanks to these new proofs, we extend the study to distributed (homogeneous or heterogeneous) multicore platforms. We prove the NP-completeness of the corresponding scheduling problem, and we then propose some approximation algorithms.
Origine | Fichiers produits par l'(les) auteur(s) |
---|
Loading...