EECS Publication
Hierarchical QR Factorization Algorithms for Multi-Core Cluster Systems
Jack Dongarra, Mathieu Faverge, Thomas Herault, Julien Langou, Yves Robert
This paper describes a new QR factorization algorithm which is especially designed for massively parallel platforms combining parallel distributed multi-core nodes. These platforms represent the present and the foreseeable future of high-performance computing. Our new QR factorization algorithm falls in the category of the tile algorithms which naturally enables good data locality for the sequential kernels executed by the cores (high sequential performance), low number of messages in a parallel distributed setting (small latency term), and fine granularity (high parallelism). Each tile algorithm is uniquely characterized by its sequence of reduction trees. In the context of a cluster of multicores, in order to minimize the number of inter-processor communications (aka, 'communication-avoiding'), it is natural to consider hierarchical trees composed of an 'inter-cluster' tree which acts on top of 'intra-cluster' trees. At the intra-cluster level, we propose a hierarchical tree made of three levels: (0) 'TS level' for cache-friendliness, (1) 'low level' for decoupled highly parallel inter-node reductions, (2) 'coupling level' to efficiently resolve interactions between local reductions and global reductions. Our hierarchical algorithm and its implementation are flexible and modular, and can accommodate several kernel types, different distribution layouts, and a variety of reduction trees at all levels, both inter-cluster and intra-cluster. Numerical experiments on a cluster of multi-core nodes (i) confirm that each of the four levels of our hierarchical tree contributes to build up performance and (ii) build insights on how these levels influence performance and interact within each other. Our implementation of the new algorithm with the DAGUE scheduling tool significantly outperforms currently available QR factorization softwares for all matrix shapes, thereby bringing a new advance in numerical linear algebra for petascale and exascale platforms.
Published 2011-10-10 04:00:00 as ut-cs-11-684 (ID:46)