They call me Brett turning neutrinos into bytes

Profiling memory and CPU usage

with Google PerfTools and Valgrind

· Brett Viren

A how-to talk on profiling the memory and CPU usage of Wire-Cell Toolkit jobs with Google PerfTools and Valgrind, motivated by DNNROI inference optimization. It shows how to run the profilers with LD_PRELOAD, generate and view call graphs with google-pprof, and use the Valgrind callgrind, massif and memcheck tools. It closes with pointers to GPU and kernel-level profiling tools.

Slides (PDF, 12 pages)

Group
wire-cell
Topic
profiling
Keywords
profiling, google-perftools, Valgrind, massif, callgrind, memory, cpu, dnnroi