rtla timerlat: Debugging Real-time Linux Scheduling Latency
summary
rtla timerlat integrates a kernel tracer and a user-space front end to measure and decompose scheduling latency into IRQ vs thread split, execution/blocking/interference components, and produces an auto-analysis report that stops and collects traces on thresholds (example: stop-on-30µs). Demonstrations show an IRQ wakeup delayed ~31µs, an exit-from-idle case ~39µs, and NMIs around 9–10µs yielding a system minimum bound ≈40µs; it saves histograms and trace events for deeper inspection and works on PREEMPT_RT and vanilla kernels, including hardware-noise tracing.
AI-written summary · about
chapters (12)
- 0:00Introduction to RTLA
- 5:49Understanding Timerlat
- 8:30Using the CLI interfaces
- 10:54Auto-analysis features
- 12:52Analyzing latency sources
- 18:12Idle latency and C-states
- 20:01Thread latency and tuning
- 22:30Integration with tracing
- 25:47Advanced histogram analysis
- 30:12Future developments
- 34:09Hardware noise tools
- 36:58Conclusion and Q&A
related talks
52mUsing and Understanding the Real-Time Cyclictest Benchmark
37mReal-time Scheduling Fault Simulation
19mrtesbench: A Multi-core Benchmark Framework for Real-Time Embedded Systems
39mReal-Time Scheduling Fault Simulation
42mExercising the Linux scheduler with Yogini
39mRegression Testing Boot-time Performance in the Linux Kernel
33mCyclic Tests Unleashed: Large-Scale RT Analysis with Jitterdebugger
57mZephyr RTOS Debugging and Performance Analysis
