This presentation was recorded at YOW! 2022. #GOTOcon #YOW https://yowcon.com Brendan Gregg - Fellow at Intel Corporation @BrendanGregg RESOURCES https://x.com/brendangregg https://aus.social/@brendangregg https://www.linkedin.com/in/brendangregg https://github.com/brendangregg https://www.brendangregg.com https://www.brendangregg.com/blog/index.html ABSTRACT Flame graphs are a visualization that helps developers easily find performance bottlenecks to cut computing costs and improve end-user experience. They can be used to answer many questions, including how software is consuming resources, especially CPUs, and how that consumption has changed since the last software version. Flame graphs are now a standard for CPU profiling and have been adopted in many programming languages and observability products, and are the basis for multiple startups. They were defined in "The Flame Graph" in the Communications of the ACM, by their creator, Brendan Gregg. This talk covers the origins of flame graphs, how you can create them using open source software, and how to interpret them. In practice, flame graphs don’t always work completely due to problems walking stack traces, resolving symbols, and other issues; this talk explains the problems and shows you the latest techniques for fixing them. Flame graphs are a tool for a bigger mission: To understand the performance of everything, all software and hardware. Advanced types of flame graphs that help further this goal will be explained, including differential, off-CPU, memory, disk, and network events. Many of these advanced flame graph types require newer kernel technologies to make practical, especially extended BPF (eBPF), and will see adoption in the years ahead. [...] TIMECODES 00:00 Intro 01:33 My dream 02:03 Flame graphs 02:20 Agenda 02:38 Take aways 03:07 Implementations 08:08 CPU profiling 22:52 Demo 24:22 CPU profiling continued 35:00 Stacks & symbols 41:20 Advanced flame graphs 47:00 Take aways 47:12 Links & references 47:32 Q&A Download slides and read the full abstract here: https://yowcon.com/sydney-2022/sessions/2394 RECOMMENDED BOOKS Brendan Gregg • Systems Performance • https://amzn.to/3SGCbM3 Brendan Gregg • BPF Performance Tools • https://amzn.to/3Dl8H0K Brendan Gregg • Systems Performance • https://amzn.to/3TAl9At Brendan Gregg & Jim Mauro • DTrace • https://amzn.to/3gPvJFm https://twitter.com/GOTOcon https://www.linkedin.com/company/goto- https://www.facebook.com/GOTOConferences #eBF #extendedBPF #FlameGraphs #CPU #CPUProfiling #BrendanGregg #Visualization Looking for a unique learning experience? Attend the next GOTO conference near you! Get your ticket at https://gotopia.tech Sign up for updates and specials at https://gotopia.tech/newsletter SUBSCRIBE TO OUR CHANNEL - new videos posted almost daily. https://www.youtube.com/user/GotoConferences/?sub_confirmation=1
Get notified about new features and conference additions.