Chapter 14. Kernel

The kernel is the heart of the system; it is also a complex body of software. The Linux kernel employs many different strategies for improving CPU scheduling, memory placement, disk I/O performance, and TCP performance. As with any software, sometimes things go wrong. Previous chapters instrumented the kernel to help understand application behavior. This chapter uses kernel instrumentation to understand kernel software, and will be of use for kernel troubleshooting and to aid in kernel development.

Learning Objectives:

  • Continue off-CPU analysis by tracing wakeups

  • Identify kernel memory consumers

  • Analyze kernel mutex lock contention

  • Show activity of work queue events

If you are working on a particular subsystem, you should ...

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.