Tuning Task Granularity and Data Locality of Data Parallel GpH Programs

Hans-Wolfgang Loidl, Philip W. Trinder and Carsten Butz
Parallel Processing Letters, 11(4):471--486, December 2001.
Selected papers from HLPP'01 --- International Workshop on High-level Parallel Programming and Applications, Orleans, France, 26-27 March, 2001.

The performance of data parallel programs often hinges on two key coordination aspects: the computational costs of the parallel tasks relative to their management overhead - task granularity; and the communication costs induced by the distance between tasks and their data - data locality. In data parallel programs both granularity and locality can be improved by clustering, i.e. arranging for parallel tasks to operate on related sub-collections of data.

The GpH parallel functional language automatically manages most coordination aspects, but also allows some high-level control of coordination using evaluation strategies. We study the coordination behavior of two typical data parallel programs, and find that while they can be improved by introducing clustering evaluation strategies, further performance improvements can be achieved by restructuring the program.

We introduce a new generic Cluster class that allows clustering to be systematically introduced, and improved by program transformation. In contrast to many other parallel program transformation approaches, we transform realistic programs and report performance results on a 32-processor Beowulf cluster. The cluster class is highly-generic and extensible, amenable to reasoning, and avoids conflating computation and coordination aspects of the program.

@Article{LTB01,
  author = 	 {Loidl, H-W. and Trinder, P.W. and Butz, C.},
  title = 	 {{Tuning Task Granularity and Data Locality of Data Parallel GpH Programs}},
  journal = 	 {Parallel Processing Letters},
  volume =     11,
  number =     4,
  pages =      {471--486},
  year = 	 2001,
  note =	 {{Selected papers from HLPP'01 --- International Workshop on
High-level Parallel Programming and Applications, Orleans, France, 26-27 March, 2001}}
}

Available in: ps, ps.gz


GPH Papers | GPH