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 ...

Get BPF Performance Tools now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.