Performance DebuggingTools
Performance DebuggingTools
Debugging/Profiling
Tools
George Markomanolis
20 May 2015
Outline
! Profiling – Cray tools
! Perftools-lite
! Apprentice 2
! Reveal
! Debugging
! Lgdb
Performance Analysis
! Profiling
! Sampling
! Lightweight
! Overhead depends on the sampling frequency
! Can lack resolution if there are small function calls
! Event Tracing
! Detailed information
! Captures every event
! Can capture communication events
! Drawbacks, overhead and large amounts of data
CrayPat overview
! Instrumentation
! Use pat_build to apply instrumentation to program binaries
! Data collection
! Via execution
! Analysis: Sampling/Tracing
! Use tools pat_report, Cray Apprentice2, Reveal
! Automatic Performance Analysis (APA) combines the two
approaches
! Loop profiling is a special flavor of event tracing
CrayPat – lite I
Overhead ! 0.58%!
! Many features from GDB but includes extensions for handling parallel
processes
! There are many tools that could help you understand the
insights of your application