On 19.11.2014 13:43, "Jürgen Lanner" wrote: > My first goal is to find out about the worst case latency: > Is there a way I can find out how long (worst case) a RT thread > being ready to run is just waiting to be dispatched? ftrace, trace-cmd, kernelshark The latency for the highest prio runnable task is available right away with the wakeup tracer. For other tasks you can trace the scheduling functions and interpret the results using a script (or look at them graphically using kernelshark). Note that the function tracing is not free and will skew the results a bit, but should be good enough to identify the offenders. -- Stano -- To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html