DocumentCode
3353026
Title
Applying MPI derived datatypes to the NAS benchmarks: A case study
Author
Qingda Lu ; Jiesheng Wu ; Panda, D. ; Sadayappan, P.
Author_Institution
The Ohio State University
fYear
2004
fDate
18-18 Aug. 2004
Firstpage
538
Lastpage
545
Abstract
MPI derived datatypes are a powerful method to define arbitrary collections of non-contiguous data in memory and to enable non-contiguous data communication in a single MPI function call. In this paper, we employ MPI datatypes in four NAS benchmarks (MG, LU, BT, and SP) to transfer non-contiguous data. Comprehensive performance evaluation was carried out on two clusters: an Itanium-2 Myrinet cluster and a Xeon InfiniBand cluster. Performance results show that using datatypes can achieve performance comparable to manual packing/unpacking in the original benchmarks, though the MPI implementations that were studied also perform internal packing and unpacking on noncontiguous datatype communication. In some cases, better performance can be achieved because of the reduced costs to transfer non-contiguous data. This is because some optimizations in the MPI packing/unpacking implementations can be easily overlooked in manual packing and unpacking by users. Our case study demonstrates that MPI datatypes simplify the implementation of non-contiguous communication and lead to application code with portable performance. We expect that with further improvement of datatype processing and datatype communication such as [10, 24], datatypes can outperform the conventional methods of noncontiguous data communication. Our modified NAS benchmarks can be used to evaluate datatype processing and datatype communication in MPI implementations.
Keywords
Computer aided software engineering; Costs; Data communication; Finite element methods; Information science; Message passing; Parallel programming; Power system management; Power system modeling; Transport protocols;
fLanguage
English
Publisher
ieee
Conference_Titel
Parallel Processing Workshops, 2004. ICPP 2004 Workshops. Proceedings. 2004 International Conference on
Conference_Location
Montreal, QC, Canada
ISSN
1530-2016
Print_ISBN
0-7695-2198-3
Type
conf
DOI
10.1109/ICPPW.2004.1328066
Filename
1328066
Link To Document