TutorialsReal-Time Linux with PREEMPT_RT — Part 1: Understanding Latency and Measuring It with cyclictest
Learn to measure PREEMPT_RT latency on Linux with cyclictest: what real-time means, how to run the test correctly, and how to read…
A multi-part series, in reading order. Start with Part 1.
← All series · 5 parts, in reading order
TutorialsLearn to measure PREEMPT_RT latency on Linux with cyclictest: what real-time means, how to run the test correctly, and how to read…
TutorialsBuild a PREEMPT_RT kernel from mainline 6.12 source, boot it, and re-run cyclictest to compare real-time latency against a standard kernel baseline.
TutorialsSet SCHED_FIFO priorities with chrt and configure CPU isolation with isolcpus and nohz_full so a real-time task runs with minimal interference.
TutorialsRT-safe user-space code for PREEMPT_RT: lock memory with mlockall, create SCHED_FIFO threads correctly, and use PTHREAD_PRIO_INHERIT mutexes.
TutorialsA high latency number tells you a problem exists, not where it comes from. This final part of the series covers tracing…
The best of our kernel and embedded Linux writing, a few emails a month. No spam.
// 1,200+ embedded engineers already read it
We email occasionally and never share your address.