runaway latency detection

From: T. Smith
Date: Sat Aug 20 2016 - 13:04:00 EST


Trying to isolate PREEMPT_RT (full preemption) runaway latency conditions seen when using the cyclictest on the 4.1.8 SMP PREEMPT_RT kernel. Seen average latency of 3uS, but runaway or outlier max latency seems indeterminate. Noted 72uS with one run of the cyclictest for example. Is this a known issue, the cause understood, and is there a patch for this?

The goal is to isolate causes of indeterminism when using the PREEMPT_RT kernel configuration with full preemption and to characterize latency and jitter using ftrace, any recommendations?