PERF tutorial: Counting hardware performance events | Sand, software and sound
This article is part 2 of a three part series on the PERF (linux-tools) performance measurement and profiling system. In part 1, I demonstrate how to use PERF
This article is part 2 of a three part series on the PERF (linux-tools) performance measurement and profiling system. In part 1 , I demonstrate how to use PERF to identify and analyze the hottest execution spots in a program. Part 1 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. Part 3 uses hardware performance event sampling to identify and analyze program hot-spots. Each article builds on the usage and background information presented in the pr
Explore this link on the map →related reading
- PERF tutorial: Finding execution hot spots - Sand, software and soundSand, software and soundsandsoftwaresound.net
- abseil / Performance Hintsabseil.io
- How to easily measure Floating Point Operations Per Second (FLOPS) | B. Nikolic Software and Computing Blogbnikolic.co.uk
- All my favorite tracing tools: eBPF, QEMU, Perfetto, new ones I built and more - Tristan Humethume.ca
- abseil / Performance Hintsabseil.io
- Algorithms for Modern Hardware - Algorithmicaen.algorithmica.org
- Infographics: Operation Costs in CPU Clock Cycles - 6IT6it.dev
- How to Optimize a CUDA Matmul Kernel for cuBLAS-like Performance: a Worklogsiboehm.com
- Analyzing performance with perf annotatedeveloper.ibm.com
- perf-config(1) - Linux manual pageman7.org
- Memory location matters for performancepythonspeed.com
- Memory Access Pattern and Performance: the Example of Matrix Multiplication - Johnny's Software Labjohnysswlab.com