Scheduling tree-shaped task graphs to minimize memory and makespan

Abstract : This paper investigates the execution of tree-shaped task graphs using multiple processors. Each edge of such a tree represents a large IO file. A task can only be executed if all input and output files fit into memory, and a file can only be removed from memory after it has been consumed. Such trees arise, for instance, in the multifrontal method of sparse matrix factorization. The maximum amount of memory needed depends on the execution order of the tasks. With one processor the objective of the tree traversal is to minimize the required memory. This problem was well studied and optimal polynomial algorithms were proposed. Here, we extend the problem by considering multiple processors, which is of obvious interest in the application area of matrix factorization. With the multiple processors comes the additional objective to minimize the time needed to traverse the tree, i.e., to minimize the makespan. Not surprisingly, this problem proves to be much harder than the sequential one. We study the computational complexity of this problem and provide an inapproximability result even for unit weight trees. Several heuristics are proposed, each with a different optimization focus, and they are analyzed in an extensive experimental evaluation using realistic trees.
Document type :
[Research Report] RR-8082, INRIA. 2012, pp.21
Contributor : Loris Marchal <>
Submitted on : Tuesday, October 9, 2012 - 3:53:47 PM
Last modification on : Tuesday, October 16, 2012 - 10:29:37 AM


Files produced by the author(s)


  • HAL Id : hal-00740105, version 1



Loris Marchal, Oliver Sinnen, Frédéric Vivien. Scheduling tree-shaped task graphs to minimize memory and makespan. [Research Report] RR-8082, INRIA. 2012, pp.21. <hal-00740105>




Record views


Document downloads