<span class="var-sub_title">Advanced Event Sampling Support for PAPI</span> SC18 Proceedings

The International Conference for High Performance Computing, Networking, Storage, and Analysis

7th Workshop on Extreme-Scale Programming Tools (ESPT)


Advanced Event Sampling Support for PAPI

Authors: Forrest Smith (University of Maine)

Abstract: The PAPI performance library is a widely used tool for gathering performance data from running applications. Modern processors support advanced sampling interfaces, such as Intel's Precise Event Based Sampling (PEBS) and AMD's Instruction Based Sampling (IBS). The current PAPI sampling interface predates the existence of these interfaces and only provides simple instruction-pointer based samples.

We propose a new, improved, sampling interface that provides support for the extended sampling information available on modern hardware. We extend the PAPI interface to add a new PAPI_sample_init call that uses the Linux perf_event interface to access the extra sampled information. A pointer to these samples is returned to the user, who can either decode them on the fly, or write them to disk for later analysis.

By providing extended sampling information, this new PAPI interface allows advanced performance analysis and optimization that was previously not possible. This will enhance the ability to optimize software in modern extreme-scale programming environments.


Archive Materials


Back to 7th Workshop on Extreme-Scale Programming Tools (ESPT) Archive Listing

Back to Full Workshop Archive Listing