Finding sources of Latency via Tracing
summary
Shows how to find actual latency sources using RTLA for OS noise, timer‑lat and HW noise measurements, and how trace captures revealed a 409 µs hyperthreading-induced spike. Demonstrates using trace-cmd to record IRQ/timer/sched events, breaking on >500 µs to find module load causing 4.9 ms delays, and creating synthetic events (SQL hist) to compute wake‑up and block latencies and capture snapshots of new maxima.
AI-written summary · about
chapters (14)
- 0:00Introduction and selfie story
- 1:03RTLA tool overview
- 3:54OS noise analysis with RTLA
- 7:04Timer latency with RTLA
- 9:56Hardware noise detection
- 11:21Trace-cmd introduction
- 12:46Application tracing demo
- 15:56NoHZ full for latency
- 18:24Debugging interrupts in NoHZ
- 21:12Synthetic events for latency
- 23:45SQL interface in trace-cmd
- 25:28Creating wake-up latency tracer
- 29:00Trace cleanup and snapshots
- 31:46Q&A and resources
