Skip to contentSkip to conversation

Real-Time Preemption, -RT-2.6.10-rc2-mm3-V0.7.32-6

PATCH [email protected] 2 participants 2 messages Dec 9, 2004

lore
Share & tools
lore
#0 lore raw
Quoted 11 lines · * [email protected] <[email protected]> wrote:
Quoted 9 lines
Quoted 3 lines

also, i'd like to take a look at latency traces, if you have them for this run.

I could if I had any. The _RT run had NO latency traces > 250 usec (the limit I had set for the test). The equivalent _PK run had 37 of those traces. I can rerun the test with a smaller limit to get some if it is really important. My build of -12 is almost done and we can see what kind of repeatability / results from the all_cpus trace shows.

Quoted 4 lines

/me is puzzled.

so all the CPU-loop delays within the -RT kernel are below 250 usecs? I guess i dont understand what this means then:

There were no cases where /proc/sys/kernel/preempt_max_latency went over 250 usec in the RT stress test that I did (for the same test, _PK had over 30 such traces).

Quoted 6 lines
| The max CPU latencies in RT are worse than PK as well. The values for
| RT range from 3.00 msec to 5.43 msec and on PK range from 1.45 msec to
| 2.24 msec.

these come from userspace timestamping? So where userspace detects a delay the kernel tracer doesnt measure any?

Yes. That is correct. Very puzzling to me too.

--Mark H Johnson
<mailto:[email protected]>

#1 lore raw
Quoted 9 lines · * [email protected] <[email protected]> wrote:
Quoted 7 lines
| The max CPU latencies in RT are worse than PK as well. The values for
| RT range from 3.00 msec to 5.43 msec and on PK range from 1.45 msec to
| 2.24 msec.

these come from userspace timestamping? So where userspace detects a delay the kernel tracer doesnt measure any?

Yes. That is correct. Very puzzling to me too.

well, i think this measurement issue needs resolving before jumping to any generic conclusions. Not a single trace is extremely suspect. The userspace timestamps are rdtsc based, or gettimeofday() based? In theory, as long as no trace is triggered, there should not be any huge overhead from tracing itself (when a trace is reported and saved then, if the trace is large, it can be quite expensive that the tracer wont report as a latency - but this isnt the case here).

Ingo