A Benchmark for MPI Derived Datatypes
We present an extension of the SKaMPI benchmark for MPI implementations to cover the derived datatype mechanism of MPI. All MPI constructors for derived datatypes are covered by the benchmark, and varied along different dimensions. This is controlled bya set of predened patterns which can be instantiated bypa rameters given bythe user in a configurationsle. We classifythe patterns intofixed types, dynamic types, nested types, and special types. We show results from the SKaMPI ping-pong measurement with the fixed and special types on three platforms: CrayT3E/900, IBM RS 6000SP, NEC SX-5. The machines show quite some difference in handling datatypes, with typically a significant penaltyfor nested types for the Cray (up to a factor of 16) and the IBM (up to a factor of 8), whereas the NEC treats these types very uniformly (overhead of between 2 and 4). Such results illustrate the need for a systematic datatype benchmark to help the MPI programmer select the most efficient data representation for a particular machine.
Unable to display preview. Download preview PDF.
- D. Bailey, E. Barszcz, J. Barton, D. Browning, and R. Carter. The NAS parallel benchmarks. Technical Report RNR-94-007, RNR, 1994.Google Scholar
- W. Gropp, S. Huss-Lederman, A. Lumsdaine, E. Lusk, B. Nitzberg, W. Saphir, and M. Snir. MPI-The Complete Reference, volume 2, The MPI Extensions. MIT Press, 1998.Google Scholar
- Rolf Hempel. Basic message passing benchmarks, methodology and pitfalls, September 1999. Presented at the SPEC Workshop, slides available at http://www.hlrs.de/mpi/b_eff/hempel_wuppertal.ppt
- Parkbench Committee. Public International Benchmarks for Parallel Computers. Scientific Programming, 3(2):101–146, 1994. Report 1.Google Scholar
- R. Reussner, P. Sanders, L. Prechelt, and M. Müller. SKaMPI: A detailed, accurate MPI benchmark. In Recent Advances in Parallel Virtual Machine and Message Passing Interface. 5th European PVM/MPI Users’ Group Meeting, volume 1497 of Lecture Notes in Computer Science, pages 52–59, 1998.CrossRefGoogle Scholar
- M. Snir, S. Otto, S. Huss-Lederman, D. Walker, and J. Dongarra. MPI-The Complete Reference, volume 1, The MPI Core. MIT Press, second edition, 1998.Google Scholar
- J. L. Träff, R. Hempel, H. Ritzdorf, and F. Zimmermann. Flattening on the fly: efficient handling of MPI derived datatypes. In Recent Advances in Parallel Virtual Machine and Message Passing Interface. 6th European PVM/MPI Users’ Group Meeting, volume 1697 of Lecture Notes in Computer Science, pages 109–116, 1999.CrossRefGoogle Scholar