← Books Explained

// BOOK COMPANION

Systems Performance — chapter notes.

Original companion notes for Brendan Gregg, Systems Performance: Enterprise and the Cloud, 2nd edition. Every chapter is rewritten in plain, easy language with a one-minute summary, diagrams, real examples, gotchas, FAQs, takeaways — and a command cheatsheet at the end of every lesson you can copy straight to a terminal.

These notes are not copied from the book. They are independent learning material organized around the book's chapter topics, aimed at engineers who debug real systems.


CHAPTERS

chapter 1

Introduction live

What systems performance is, why it is hard, latency as the key metric, observability vs experiment, and the mental model for the whole book.

companion notes· + cheatsheet
chapter 2

Methodologies live

USE method, workload characterization, drill-down analysis, latency analysis, and the anti-methods to never use.

companion notes· + cheatsheet
chapter 3

Operating Systems live

Kernel, syscalls, schedulers, virtual memory, and the OS internals you must know to read the metrics.

companion notes· + cheatsheet
chapter 4

Observability Tools live

Counters, tracing, profiling, /proc, the tool types, and how to pick the right one.

companion notes· + cheatsheet
chapter 5

Applications live

Thread pools, locks, on-CPU vs off-CPU analysis, and profiling apps for performance.

companion notes· + cheatsheet
chapter 6

CPUs live

Run queues, utilization, IPC, caches, flame graphs, and finding what burns CPU.

companion notes· + cheatsheet
chapter 7

Memory live

Virtual vs resident memory, paging, swapping, OOM, NUMA, and leak hunting.

companion notes· + cheatsheet
chapter 8

File Systems live

Page cache, VFS, read/write paths, latency, and why file system metrics beat disk metrics.

companion notes· + cheatsheet
chapter 9

Disks live

IOPS, throughput, latency, queueing, saturation, and reading iostat correctly.

companion notes· + cheatsheet
chapter 10

Network live

TCP, retransmits, buffers, latency, and tracing the network stack end to end.

companion notes· + cheatsheet
chapter 11

Cloud Computing live

Tenants, noisy neighbors, limits, hypervisors vs containers, and cloud-specific analysis.

companion notes· + cheatsheet
chapter 12

Benchmarking live

Active benchmarking, the sins of benchmarking, and producing numbers you can trust.

companion notes· + cheatsheet
chapter 13

perf live

The Linux profiler: record, report, stat, events, and building flame graphs.

companion notes· + cheatsheet
chapter 14

Ftrace live

The built-in kernel tracer: function tracing, tracepoints, and the front-end tools.

companion notes· + cheatsheet
chapter 15

BPF live

BCC, bpftrace, and writing your own programmable, low-overhead production tracers.

companion notes· + cheatsheet
chapter 16

Case Study live

A real performance investigation start to finish — applying every method from the book.

companion notes· + cheatsheet