Re: Measuring scheduling latency for RT threads

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux