Chapter 6. CPUs
CPUs execute all software and are a common starting point for performance analysis. If you find a workload to be limited by the CPUs (“CPU bound”), you can investigate further by using CPU and processor-centric tools. There are countless sampling profilers and metrics available to help you understand CPU usage. Nonetheless (if perhaps surprisingly), there are still a number of areas where BPF tracing can help even further with CPU analysis.
Learning Objectives:
Understand CPU modes, the behavior of the CPU scheduler, and CPU caches
Understand areas for CPU scheduler, usage, and hardware analysis with BPF
Learn a strategy for successful analysis of CPU performance
Solve issues of short-lived processes consuming CPU resources ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access