Multiphase complete exchange: a theoretical analysis
- 1 January 1996
- journal article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Computers
- Vol. 45 (2) , 220-229
- https://doi.org/10.1109/12.485374
Abstract
-Complete Exchange requires each of N processors to send a unique message to each of the remaining N驴 1 processors. For a circuit switched hypercube with N = 2d processors, the Direct and Standard algorithms for Complete Exchange are time optimal for very large and very small message sizes, respectively. For intermediate sizes, a hybrid Multiphase algorithm is better. This carries out Direct exchanges on a set of subcubes whose dimensions are a partition of the integer d. The best such algorithm for a given message size m could hitherto only be found by enumerating all partitions of d.The Multiphase algorithm is analyzed assuming a high performance communication network. It is proved that only algorithms corresponding to equipartitions of d (partitions in which the maximum and minimum elements differ by at most one) can possibly be optimal. The run times of these algorithms plotted against m form a hull of optimality. It is proved that, although there is an exponential number of partitions, 1) the number of faces on this hull is $\Theta \left( {\sqrt d} \right)$, 2) the hull can be found in $\Theta \left( {\sqrt d} \right)$ time, and 3) once it has been found, the optimal algorithm for any given m can be found in 驴(log d) time.These results provide a very fast technique for minimizing communication overhead in many important applications, such as matrix transpose, fast Fourier transform, and alternating directions implicit (ADI).
Keywords
This publication has 9 references indexed in Scilit:
- Concurrent Bidirectional Communication On The Intel iPSC/860 And iPSC/2Published by Institute of Electrical and Electronics Engineers (IEEE) ,2005
- Efficient All-to-All Communication Patterns in Hypercube and Mesh TopologiesPublished by Institute of Electrical and Electronics Engineers (IEEE) ,2005
- Complete exchange on a circuit switched meshPublished by Institute of Electrical and Electronics Engineers (IEEE) ,2003
- Efficient communication primitives on hypercubesConcurrency: Practice and Experience, 1992
- Hypercube clock synchronizationConcurrency: Practice and Experience, 1992
- Algorithms for Matrix Transposition on Boolean N-Cube Configured Ensemble ArchitecturesSIAM Journal on Matrix Analysis and Applications, 1988
- Topics from the Theory of NumbersPublished by Springer Nature ,1984
- A general formulation of alternating direction methodsNumerische Mathematik, 1964
- The Numerical Solution of Parabolic and Elliptic Differential EquationsJournal of the Society for Industrial and Applied Mathematics, 1955