• DocumentCode
    3205803
  • Title

    Reconciling Sampling and Direct Instrumentation for Unintrusive Call-Path Profiling of MPI Programs

  • Author

    Szebenyi, Zoltán ; Gamblin, Todd ; Schulz, Martin ; de Supinski, Bronis R. ; Wolf, Felix ; Wylie, Brian J N

  • Author_Institution
    Julich Supercomput. Centre, Forschungszentrum Julich, Julich, Germany
  • fYear
    2011
  • fDate
    16-20 May 2011
  • Firstpage
    640
  • Lastpage
    651
  • Abstract
    We can profile the performance behavior of parallel programs at the level of individual call paths through sampling or direct instrumentation. While we can easily control measurement dilation by adjusting the sampling frequency, the statistical nature of sampling and the difficulty of accessing the parameters of sampled events make it unsuitable for obtaining certain communication metrics, such as the size of message payloads. Alternatively, direct instrumentation, which is preferable for capturing message-passing events, can excessively dilate measurements, particularly for C++ programs, which often have many short but frequently called class member functions. Thus, we combine these techniques in a unified framework that exploits the strengths of each approach while avoiding their weaknesses: We use direct instrumentation to intercept MPI routines while we record the execution of the remaining code through low-overhead sampling. One of the main technical hurdles mastered was the inexpensive and portable determination of call-path information during the invocation of MPI routines. We show that the overhead of our implementation is sufficiently low to support substantial performance improvement of a C++ fluid-dynamics code.
  • Keywords
    C++ language; application program interfaces; computational fluid dynamics; mechanical engineering computing; message passing; parallel programming; sampling methods; C++ fluid-dynamics code; C++ program; MPI program; MPI routines; direct instrumentation; measurement dilation; message passing interface; parallel program; sampling; unintrusive call-path profiling; Histograms; Instruments; Libraries; Optimization; Runtime; Time measurement;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Parallel & Distributed Processing Symposium (IPDPS), 2011 IEEE International
  • Conference_Location
    Anchorage, AK
  • ISSN
    1530-2075
  • Print_ISBN
    978-1-61284-372-8
  • Electronic_ISBN
    1530-2075
  • Type

    conf

  • DOI
    10.1109/IPDPS.2011.67
  • Filename
    6012876