On Optimal Tree Traversals for Sparse Matrix Factorization
Authors:
- Mathias JacquelinMJMathias Jacquelin
- Loris MarchalLMLoris Marchal
- Yves RobertYRYves Robert
- Bora UçarBUBora Uçar
- 1 May 2011
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 556-567
Abstract
We study the complexity of traversing tree-shaped workflows whose tasks require large I/O files. Such workflows typically arise in the multifrontal method of sparse matrix factorization. We target a classical two-level memory system, where the main memory is faster but smaller than the secondary memory. A task in the workflow can be processed if all its predecessors have been processed, and if its input and output files fit in the currently available main memory. The amount of available memory at a given time depends upon the ordering in which the tasks are executed. What is the minimum amount of main memory, over all post order schemes, or over all possible traversals, that is needed for an in-core execution? We establish several complexity results that answer these questions. We propose a new, polynomial time, exact algorithm which runs faster than a reference algorithm. Next, we address the setting where the required memory renders a pure in-core solution unfeasible. In this setting, we ask the following question: what is the minimum amount of I/O that must be performed between the main memory and the secondary memory? We show that this latter problem is NP-hard, and propose efficient heuristics. All algorithms and heuristics are thoroughly evaluated on assembly trees arising in the context of sparse matrix factorizations.Keywords
All Related Versions
This publication has 14 references indexed in Scilit:
- Hybrid scheduling for the parallel solution of linear systemsParallel Computing, 2006
- Benchmarking optimization software with performance profilesMathematical Programming, 2002
- A Fully Asynchronous Multifrontal Solver Using Distributed Dynamic SchedulingSIAM Journal on Matrix Analysis and Applications, 2001
- Geometric Mesh Partitioning: Implementation and ExperimentsSIAM Journal on Scientific Computing, 1998
- The Multifrontal Method for Sparse Matrix Solution: Theory and PracticeSIAM Review, 1992
- An Application of Generalized Tree Pebbling to Sparse Matrix FactorizationSIAM Journal on Algebraic Discrete Methods, 1987
- On the storage requirement in the out-of-core multifrontal method for sparse factorizationACM Transactions on Mathematical Software, 1986
- The Multifrontal Solution of Indefinite Sparse Symmetric LinearACM Transactions on Mathematical Software, 1983
- The Pebbling Problem is Complete in Polynomial SpaceSIAM Journal on Computing, 1980
- Complete register allocation problems1973