lkml.org 
[lkml]   [2004]   [Oct]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch] Real-Time Preemption, -RT-2.6.9-mm1-V0
Ingo Molnar wrote:
> * K.R. Foley <kr@cybsft.com> wrote:
>
>
>>Running amlat [...]
>
>
> btw., to get good 'realfeel' results i had to apply the attached patch.
> Especially when running realfeel over the network it can easily happen
> that it's delayed for some time and gets out of sync with the RTC. So
> after a new maximum latency has triggered the code now waits 10 periods
> to wait for the timings to recover.
>
> this does not hurt the latency measurements in any way - latencies that
> occur after these 10 ticks (~5 msecs) are over are still fully measured
> and reported.
>
> amlat produces weird output for me, continuously increasing latency
> values:
>
> latency = 2967939 milliseconds
> latency = 2967950 milliseconds
> sigint
> max jitter = 0 microseconds
>
> maybe some /dev/rtc API detail changed? Or is this the normal output?
>
> Ingo
>
Well to produce useful results, amlat requires Andrew's rtc-debug patch
that modifies the rtc driver as well as traps so that timings are kept
when the isr gets run and when the rtc device is read to track
scheduling latencies. Also if this patch was applied the value being
read by amlat from the rtc device would be the last interrupt time
instead of the interrupt info that rtc normally produces. So the latency
values being spit out are bogus, but it's good enough to exercise the rtc.

I use the rtc-debug and amlat to generate histograms of latencies which
is what I was trying to do when I found the rtc problem the first time.
I believe that rtc-debug/amlat is much more accurate for generating
histograms of latencies than realfeel is because the instrumentation is
in the kernel rather than a userspace program.

kr

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:07    [W:0.404 / U:1.752 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site