Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.5555/648136.746461guideproceedingsArticle/Chapter ViewAbstractPublication PagesConference Proceedingsacm-pubtype
Article

Flattening on the Fly: Efficient Handling of MPI Derived Datatypes

Published: 26 September 1999 Publication History

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 flattening on the fly for the efficient handling of derived datatypes in MPI. The method aims at exploiting regularities in the memory layout described by the datatype as far as possible. In addition it considerably reduces the overhead for parsing the datatype. Flattening on the fly has been implemented and evaluated on an NEC SX-4 vector supercomputer. On the SX-4 flattening on the fly 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.

References

[1]
M. Baum, M. Gołebiewski, R. Hempel, and J. L. Träff. Dual-device MPI implementation for PC clusters with SMP nodes. In Third MPI Developer's and User's Conference (MPIDC'99), pages 53-60, 1999.
[2]
W. Gropp, E. Lusk, N. Doss, and A. Skjellum. A high-performance, portable imlementation of the MPI message passing interface standard. Parallel Computing, 22(6):789-828, Sept. 1996.
[3]
W. D. Gropp, E. Lusk, and D. Swider. Improving the performance of MPI derived datatypes. In Third MPI Developer's and User's Conference (MPIDC'99), pages 25-30, 1999.
[4]
R. Hempel, H. Ritzdorf, and F. Zimmermann. Implementation of MPI on NEC's SX-4 multi-node architecture. Future Generation Computer Systems, 1999. To appear.
[5]
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.
[6]
R. Thakur, W. Gropp, and E. Lusk. A case for using MPI's derived datatypes to improve I/O performance. In Proceedings of SC98: High Performance Networking and Computing. ACM/IEEE Press, 1998.

Cited By

View all
  • (2018)MPI Derived DatatypesProceedings of the 25th European MPI Users' Group Meeting10.1145/3236367.3236378(1-10)Online publication date: 23-Sep-2018
  • (2016)Get out of the way!Proceedings of the 1st Joint International Workshop on Parallel Data Storage & Data Intensive Scalable Computing Systems10.5555/3019046.3019053(37-42)Online publication date: 13-Nov-2016
  • (2016)On the Expected and Observed Communication Performance with MPI Derived DatatypesProceedings of the 23rd European MPI Users' Group Meeting10.1145/2966884.2966905(108-120)Online publication date: 25-Sep-2016
  • Show More Cited By

Recommendations

Comments

Information & Contributors

Information

Published In

cover image Guide Proceedings
Proceedings of the 6th European PVM/MPI Users' Group Meeting on Recent Advances in Parallel Virtual Machine and Message Passing Interface
September 1999
530 pages

Publisher

Springer-Verlag

Berlin, Heidelberg

Publication History

Published: 26 September 1999

Qualifiers

  • Article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)0
  • Downloads (Last 6 weeks)0
Reflects downloads up to 09 Nov 2024

Other Metrics

Citations

Cited By

View all
  • (2018)MPI Derived DatatypesProceedings of the 25th European MPI Users' Group Meeting10.1145/3236367.3236378(1-10)Online publication date: 23-Sep-2018
  • (2016)Get out of the way!Proceedings of the 1st Joint International Workshop on Parallel Data Storage & Data Intensive Scalable Computing Systems10.5555/3019046.3019053(37-42)Online publication date: 13-Nov-2016
  • (2016)On the Expected and Observed Communication Performance with MPI Derived DatatypesProceedings of the 23rd European MPI Users' Group Meeting10.1145/2966884.2966905(108-120)Online publication date: 25-Sep-2016
  • (2016)A Library for Advanced Datatype ProgrammingProceedings of the 23rd European MPI Users' Group Meeting10.1145/2966884.2966904(98-107)Online publication date: 25-Sep-2016
  • (2014)Optimal MPI Datatype Normalization for Vector and Index-block TypesProceedings of the 21st European MPI Users' Group Meeting10.1145/2642769.2642771(33-38)Online publication date: 9-Sep-2014
  • (2013)MPI datatype processing using runtime compilationProceedings of the 20th European MPI Users' Group Meeting10.1145/2488551.2488552(19-24)Online publication date: 15-Sep-2013
  • (2012)Micro-applications for communication data access patterns and MPI datatypesProceedings of the 19th European conference on Recent Advances in the Message Passing Interface10.1007/978-3-642-33518-1_17(121-131)Online publication date: 23-Sep-2012
  • (2012)MPI 3 and beyondProceedings of the 19th European conference on Recent Advances in the Message Passing Interface10.1007/978-3-642-33518-1_1(1-9)Online publication date: 23-Sep-2012
  • (2010)Parallel zero-copy algorithms for fast Fourier transform and conjugate gradient using MPI datatypesProceedings of the 17th European MPI users' group meeting conference on Recent advances in the message passing interface10.5555/1894122.1894140(132-141)Online publication date: 12-Sep-2010
  • (2010)MPI datatype marshallingProceedings of the 17th European MPI users' group meeting conference on Recent advances in the message passing interface10.5555/1894122.1894133(82-91)Online publication date: 12-Sep-2010
  • Show More Cited By

View Options

View options

Get Access

Login options

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media