user space enhancements for linux perf
play

User-Space Enhancements for Linux Perf Shay Gal-On, Laksono - PowerPoint PPT Presentation

User-Space Enhancements for Linux Perf Shay Gal-On, Laksono Adhianto, Nathan Tallent, William Cohen, Rashawn Knapp, Emmanuel Oseret, Xingfu Wu, David Boehme Session Notes Perf: Command-line performance analysis tool for Linux Ofuen want


  1. User-Space Enhancements for Linux Perf Shay Gal-On, Laksono Adhianto, Nathan Tallent, William Cohen, Rashawn Knapp, Emmanuel Oseret, Xingfu Wu, David Boehme

  2. Session Notes • Perf: Command-line performance analysis tool for Linux • Ofuen want to focus on specifjc program region (as in PAPI, Caliper, VTune, etc.) but perf doesn’t do that • Stack traces possible but not user defjned regions in code • Sofuware events are possible: htups://developers.redhat.com/blog/2019/04/23/how-to-use-the-linux-perf-tool-to-count-sofu ware-events/ • htup://web.eece.maine.edu/~vweaver/projects/perf_events/ • Need to difgerentjate difgerent instances of a functjon etc. • SystemTap markers may be a way insert traceable points: htups://sourceware.org/systemtap/ • Oprofjle as alternatjve? Same info as perf • PEBS samples make context associatjon inherently diffjcult

  3. Wish List • Add start/stop markers to limit perf stat event collectjon to the region • Multjthreading? Diffjcult to propagate start/stop signals across threads • Main use case: Start/stop sampling for every thread / system-wide • Need to make sure multjple users don’t mess up start/stop handling • Betuer correlatjon of difgerent events (with difgerent counts) in perf report • perf metrics introduced in Linux 5.0 may help with some of that • Run perf stat + perf record together? • Report non-CPU info, for example process IO wait tjme • More events / tracepoints available without root requirement • Perf report: is organized by events, would be betuer to list all events in one table • Read perf.data and export into hatchet or other tools

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend