Flattening on the fly: Efficient handling of MPI derived datatypes

59Citations
Citations of this article
10Readers
Mendeley users who have this article in their library.
Get full text

Abstract

The Message Passing Interface (MPI) incorporates a mechanism for describing structured, non-contiguous memory layouts for use as communication buffers in MPI communication functions. The rationale behind the derived datatype mechanism is to alleviate the user from tedious packing and unpacking of non-consecutive data into contiguous communication buffers. Furthermore, the mechanism makes it possible to improve performance by saving on internal buffering. Apparently, current MPI implementations entail considerable performance penalties when working with derived datatypes. We describe a new method called attening on the y for the efficient handling of derived datatypes in MPI. The method aims at exploiting regularities in the memory layout de- scribed by the datatype as far as possible. In addition it considerably reduces the overhead for parsing the datatype. Flattening on the y has been implemented and evaluated on an NEC SX-4 vector supercomputer. On the SX-4 attening on the y performs significantly better than previous methods, resulting in performance comparable to what the user can in the best case achieve by packing and unpacking data manually. Also on a PC cluster the method gives worthwhile improvements in cases that are not handled well by the conventional implementation.

Cite

CITATION STYLE

APA

Träff, J. L., Hempel, R., Ritzdorf, H., & Zimmermann, F. (1999). Flattening on the fly: Efficient handling of MPI derived datatypes. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 1697, pp. 109–116). Springer Verlag. https://doi.org/10.1007/3-540-48158-3_14

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free