PERF tutorial: Finding execution hot spots | Sand, software and sound
This article is the first of a three part series on the PERF (linux-tools) performance measurement and profiling system. Part 1 demonstrates how to use PERF to
This article is the first of a three part series on the PERF (linux-tools) performance measurement and profiling system. Part 1 demonstrates how to use PERF to identify and analyze the hottest execution spots in a program. It covers the basic PERF commands, options and software performance events. Part 2 introduces hardware performance events and demonstrates how to measure hardware events across an entire application. It defines and discusses several useful rates and ratios for performance assessment and analysis. Part 3 uses hardware performance event sampling to identify and analyze program
related reading
- PERF tutorial: Finding execution hot spots - Sand, software and soundsandsoftwaresound.net
- PERF tutorial: Counting hardware performance events - Sand, software and soundSand, software and soundsandsoftwaresound.net
- Analyzing performance with perf annotatedeveloper.ibm.com
- All my favorite tracing tools: eBPF, QEMU, Perfetto, new ones I built and more - Tristan Humethume.ca
- perf-config(1) - Linux manual pageman7.org
- Making Deep Learning go Brrrr From First Principleshorace.io
- abseil / Performance Hintsabseil.io
- Intro - Putting the "You" in CPUcpu.land
- Profiling Go programs with pprofjvns.ca
- Inside NVIDIA GPUs: Anatomy of high performance matmul kernels - Aleksa Gordićaleksagordic.com
- How to easily measure Floating Point Operations Per Second (FLOPS) | B. Nikolic Software and Computing Blogbnikolic.co.uk
- What Every Programmer Should Know About Memorypeople.freebsd.org