* Real-time Linux Installation Verification and Benchmark
@ 2008-01-25 13:22 Markus Mathes
2008-01-25 13:47 ` Luis Claudio R. Goncalves
0 siblings, 1 reply; 2+ messages in thread
From: Markus Mathes @ 2008-01-25 13:22 UTC (permalink / raw)
To: linux-rt-users
Hi, there!
I have installed the RT_PREEMPT patch v2.6.23.11-rt4 and now try to
verify my installation. Therefore I used cyclictest with clock_nanosleep
and clock_monotonic options for 5-50 threads. The results are shown below:
#Threads Minimum (microsec) Average (microsec) Maximum (microsec)
5 5 6 45
10 4 5 31
15 5 5 33
20 4 6 37
25 5 6 52
30 5 6 63
35 5 6 71
40 6 6 62
45 5 6 88
50 5 7 96
An Intel Pentium 4, 2.8GHz clock speed with 1GB main memory was used for
the benchmark.
Now my questions:
1. The maximum thread latency does not scale linear. Why?
2. RT is a synonym for determinism, but the maximum latency for each
number of threads fluctuate in each repetition of the benchmark.
Therefore I guess that no worst-case delay can be predicted, right?
3. Does RT-Linux support hard real-time at all? With the results shown
above, only soft real-time is supported (deadline 6us).
4. How can I verify - if at all - that my installation supports soft
real-time or better hard real-time?
Thanks for your help!
Markus
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Real-time Linux Installation Verification and Benchmark
2008-01-25 13:22 Real-time Linux Installation Verification and Benchmark Markus Mathes
@ 2008-01-25 13:47 ` Luis Claudio R. Goncalves
0 siblings, 0 replies; 2+ messages in thread
From: Luis Claudio R. Goncalves @ 2008-01-25 13:47 UTC (permalink / raw)
To: Markus Mathes; +Cc: linux-rt-users
On Fri, Jan 25, 2008 at 02:22:39PM +0100, Markus Mathes wrote:
> Hi, there!
>
> I have installed the RT_PREEMPT patch v2.6.23.11-rt4 and now try to verify
> my installation. Therefore I used cyclictest with clock_nanosleep and
> clock_monotonic options for 5-50 threads. The results are shown below:
>
> #Threads Minimum (microsec) Average (microsec) Maximum (microsec)
> 5 5 6 45
> 10 4 5 31
> 15 5 5 33
> 20 4 6 37
> 25 5 6 52
> 30 5 6 63
> 35 5 6 71
> 40 6 6 62
> 45 5 6 88
> 50 5 7 96
>
> An Intel Pentium 4, 2.8GHz clock speed with 1GB main memory was used for
> the benchmark.
>
> Now my questions:
> 1. The maximum thread latency does not scale linear. Why?
You haven't mentioned that, so I guess you didn't use higher rt priotities
in your tests. Did you?
If not, please try repeating your tests with priorities like 50, 80 and 96.
That should give you better results.
> 2. RT is a synonym for determinism, but the maximum latency for each number
> of threads fluctuate in each repetition of the benchmark. Therefore I guess
> that no worst-case delay can be predicted, right?
>
> 3. Does RT-Linux support hard real-time at all? With the results shown
> above, only soft real-time is supported (deadline 6us).
That depends on which definition of hard realtime are you using. I gave up
on this terminology since my Fault Tolerance classes, given the wide range
of meanings it gained on the press the last few years.
> 4. How can I verify - if at all - that my installation supports soft
> real-time or better hard real-time?
>
>
> Thanks for your help!
>
> Markus
Luis
--
[ Luis Claudio R. Goncalves Bass - Gospel - RT ]
[ Fingerprint: 4FDD B8C4 3C59 34BD 8BE9 2696 7203 D980 A448 C8F8 ]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-01-25 13:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-25 13:22 Real-time Linux Installation Verification and Benchmark Markus Mathes
2008-01-25 13:47 ` Luis Claudio R. Goncalves
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).