Hi all,
Pl find below my talk proposal for the upcoming meetup!
Title: Visually catching performance issues with perf and the FlameGraph
-or- Which call paths dominate at runtime: leveraging FlameGraph Visualization
Format: Lightning talk
Abstract:
Analyzing workloads is something all engineers end up doing at some
point or the other (or it’s
their job description!). An obvious reason is performance analysis:
it’s noticed that , say, the
workload’s CPU usage spikes at times, causing issues, even outages.
The need of the hour: observe, analyze and tease out the root cause of
said performance issue! Of course, that’s often easier said than done;
this kind of work can bog down even experienced
professionals...
On modern Linux, perf comes to the rescue! But (always a 'but' right),
the report(s) perf generates
can go into dozens (or more) pages. We need a visual tool (as well),
the FlameGraph (FG)!
(Time permitting, I can demo a wrapper script I use to generate FGs
and use the speedscope
web app to make it easy.)
Brief Agenda:
- Traditional monitoring tools and why they fall short of the mark
- Using perf to get to the exact code paths that are eating cpu
- Using FlameGraph's to visualize perf's report
- Using my wrapper over FGs to make it even easier, along with the
speedscope web app.
- Q&A
Brief Bio:
Kaiwan is a pretty much career-long Linux developer, trainer, author
and enthusiast. He started his Linux journey around 1997 and hasn’t
looked back. Along the way, he has helped via corporate training, both
in-country and internationally, and has (as of now) written five books
on Linux systems domain topics
(
https://amazon.com/author/kaiwanbillimoria).
Thanks and Regards,
Kaiwan.
https://kaiwantech.com
https://amazon.com/author/kaiwanbillimoria
"If you think training is expensive, try ignorance", Peter Drucker.
"Knowing is not enough; we must apply.Willing is not enough; we must
do"- JW Goethe