Skip to main content
U.S. Department of Energy
Office of Scientific and Technical Information

PAPI software-defined events for in-depth performance analysis

Journal Article · · International Journal of High Performance Computing Applications
 [1];  [1];  [2];  [3]
  1. University of Tennessee, Knoxville, TN, USA
  2. University of Tennessee, Knoxville, TN, USA, Karlsruhe Institute of Technology, Karlsruhe, Germany
  3. University of Tennessee, Knoxville, TN, USA, Oak Ridge National Laboratory, Oak Ridge, TN, USA, University of Manchester, Manchester, UK

The methodology and standardization layer provided by the Performance Application Programming Interface (PAPI) has played a vital role in application profiling for almost two decades. It has enabled sophisticated performance analysis tool designers and performance-conscious scientists to gain insights into their applications by simply instrumenting their code using a handful of PAPI functions that “just work” across different hardware components. In the past, PAPI development had focused primarily on hardware-specific performance metrics. However, the rapidly increasing complexity of software infrastructure poses new measurement and analysis challenges for the developers of large-scale applications. In particular, acquiring information regarding the behavior of libraries and runtimes—used by scientific applications—requires low-level binary instrumentation, or APIs specific to each library and runtime. No uniform API for monitoring events that originate from inside the software stack has emerged. In this article, we present our efforts to extend PAPI’s role so that it becomes the de facto standard for exposing performance-critical events, which we refer to as software-defined events (SDEs), from different software layers. Upgrading PAPI with SDEs enables monitoring of both types of performance events—hardware- and software-related events—in a uniform way, through the same consistent PAPI. The goal of this article is threefold. First, we motivate the need for SDEs and describe our design decisions regarding the functionality we offer through PAPI’s new SDE interface. Second, we illustrate how SDEs can be utilized by different software packages, specifically, by showcasing their use in the numerical linear algebra library MAGMA-Sparse, the tensor algebra library TAMM that is part of the NWChem suite, and the compiler-based performance analysis tool Byfl. Third, we provide a performance analysis of the overhead that results from monitoring SDEs and discuss the trade-offs between overhead and functionality.

Sponsoring Organization:
USDOE
OSTI ID:
1515085
Journal Information:
International Journal of High Performance Computing Applications, Journal Name: International Journal of High Performance Computing Applications Journal Issue: 6 Vol. 33; ISSN 1094-3420
Publisher:
SAGE PublicationsCopyright Statement
Country of Publication:
United States
Language:
English

References (6)

NWChem: A comprehensive and scalable open-source solution for large scale molecular simulations journal September 2010
Preconditioned Krylov solvers on GPUs journal October 2017
The university of Florida sparse matrix collection journal November 2011
Scalable implementations of accurate excited-state coupled cluster theories: application of high-level methods to porphyrin-based systems
  • Kowalski, Karol; Krishnamoorthy, Sriram; Olson, Ryan M.
  • Proceedings of 2011 International Conference for High Performance Computing, Networking, Storage and Analysis on - SC '11 https://doi.org/10.1145/2063384.2063481
conference January 2011
The Tau Parallel Performance System journal May 2006
Exploring the MPI tool information interface: features and capabilities journal April 2015

Similar Records

Performance Application Programming Interface
Software · Mon Oct 31 05:00:00 UTC 2005 · OSTI ID:1230840

Investigating an API for resilient exascale computing.
Technical Report · Wed May 01 04:00:00 UTC 2013 · OSTI ID:1096503

Enhancing the Performance of Assisted Execution Runtime Systems through Hardware/Software Techniques
Conference · Fri Jun 01 04:00:00 UTC 2012 · OSTI ID:1113613

Related Subjects