Efficient Methods for Multi-Dimensional Array Redistribution

  • Authors:
  • Ching-Hsien Hsu;Yeh-Ching Chung;Chyi-Ren Dow

  • Affiliations:
  • Department of Information Engineering, Feng Chia University, Taichung, Taiwan 407, ROC chhsu@pine.iecs.fcu.edu.tw;Department of Information Engineering, Feng Chia University, Taichung, Taiwan 407, ROC ychung@pine.iecs.fcu.edu.tw;Department of Information Engineering, Feng Chia University, Taichung, Taiwan 407, ROC

  • Venue:
  • The Journal of Supercomputing
  • Year:
  • 2000

Quantified Score

Hi-index 0.00

Visualization

Abstract

In many scientific applications, array redistribution is usually required to enhance data locality and reduce remote memory access on distributed memory multicomputers. Since the redistribution is performed at run-time, there is a performance tradeoff between the efficiency of the new data decomposition for a subsequent phase of an algorithm and the cost of redistributing data among processors. In this paper, we present efficient methods for multi-dimensional array redistribution. Based on the previous work, the basic-cycle calculation technique, we present a basic-block calculation (BBC) and a complete-dimension calculation (CDC) techniques. We also developed a theoretical model to analyze the computation costs of these two techniques. The theoretical model shows that the BBC method has smaller indexing costs and performs well for the redistribution with small array size. The CDC method has smaller packing/unpacking costs and performs well when array size is large. When implemented these two techniques on an IBM SP2 parallel machine along with the PITFALLS method and the Prylli's method, the experimental results show that the BBC method has the smallest execution time of these four algorithms when the array size is small. The CDC method has the smallest execution time of these four algorithms when the array size is large.