Pattern-Independent Detection of Manual Collectives in MPI Programs
- Cite this paper as:
- Calotoiu A., Siebert C., Wolf F. (2012) Pattern-Independent Detection of Manual Collectives in MPI Programs. In: Kaklamanis C., Papatheodorou T., Spirakis P.G. (eds) Euro-Par 2012 Parallel Processing. Euro-Par 2012. Lecture Notes in Computer Science, vol 7484. Springer, Berlin, Heidelberg
In parallel applications, a significant amount of communication occurs in a collective fashion to perform, for example, broadcasts, reductions, or complete exchanges. Although the MPI standard defines many convenience functions for this purpose, which not only improve code readability and maintenance but are usually also highly efficient, many application programmers still create their own, manual implementations using point-to-point communication. We show how instances of such hand-crafted collectives can be automatically detected. Matching pre- and post-conditions of hashed message exchanges recorded in event traces, our method is independent of the specific communication pattern employed. We demonstrate that replacing detected broadcasts in the HPL benchmark can yield significant performance improvements.
KeywordsMPI collective operations performance optimization HPL
Unable to display preview. Download preview PDF.