← AI intuition & LLM systems

GPU performance: account for every wait

Start at a request timeline, descend to kernels only when the evidence points there, and return to end-to-end latency after every change.

Reason before profiling

Count operations and bytes. Predict whether memory, compute, dispatch, or communication will dominate.

Inspect a timeline

Identify gaps, long kernels, copies, and collectives. Choose one measurable bottleneck.

Study the mechanisms

Follow data through a tiled matrix multiply, fused softmax, and tiled attention. Learn why fewer memory trips can matter more than fewer arithmetic operations.

Show the evidence

Re-run the same workload and quality check. Record when the optimization stops helping.