* [Xenomai-help] Testsuite latency
@ 2006-10-20 10:24 Frits de Klark
2006-10-20 12:05 ` Wolfgang Grandegger
2006-10-20 12:19 ` Jan Kiszka
0 siblings, 2 replies; 3+ messages in thread
From: Frits de Klark @ 2006-10-20 10:24 UTC (permalink / raw)
To: xenomai
[-- Attachment #1: Type: text/plain, Size: 1333 bytes --]
Hello everyone,
as sort of a newbie to Xenomai (and realtime Linux in general) I'm the
moment running the (unmodified) latency test included in the testsuite in
different situations:
Situation A: Running as little daemons as possible in the background. The
chart I produced from the testdata, after running it for about 15 minutes,
without doing anything else on the machine, shows very stable results, that
is: there a no visible peaks downwards. Iin the case of MAX for example, the
value is most of the time between 2.7 and 2.9, occasionly going straight up
in the air, but NEVER below 2.7.
WORST is 5.33, BEST is 0.40.
Situation B: Running 1 'unneccesary' daemon, mysqld, but performing no
database operations whatsoever. The chart I produced from this testdata (it
also ran for 15 minutes) is completely different and the line representing
MAX is going up and down all the time, it looks VERY unsteady.
In this case WORST is 16.52 and BEST is 1.11.
How is this possible? I'm ofcourse aware that Linux is constantly heeding
the mysql daemon, but I can't imagine this produces suc relatively large
differences between testresults. I'm sure there is a perfectly sane
explanation for it, but I need a little help to understand things like this.
The platform I'm testing on is an x86.
Thanks in advance!
Best regards,
Frits
[-- Attachment #2: Type: text/html, Size: 1417 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Xenomai-help] Testsuite latency
2006-10-20 10:24 [Xenomai-help] Testsuite latency Frits de Klark
@ 2006-10-20 12:05 ` Wolfgang Grandegger
2006-10-20 12:19 ` Jan Kiszka
1 sibling, 0 replies; 3+ messages in thread
From: Wolfgang Grandegger @ 2006-10-20 12:05 UTC (permalink / raw)
To: Frits de Klark; +Cc: xenomai
Frits de Klark wrote:
> Hello everyone,
>
> as sort of a newbie to Xenomai (and realtime Linux in general) I'm the
> moment running the (unmodified) latency test included in the testsuite
> in different situations:
>
> Situation A: Running as little daemons as possible in the background.
> The chart I produced from the testdata, after running it for about 15
> minutes, without doing anything else on the machine, shows very stable
> results, that is: there a no visible peaks downwards. Iin the case of
> MAX for example, the value is most of the time between 2.7 and 2.9,
> occasionly going straight up in the air, but NEVER below 2.7.
> WORST is 5.33, BEST is 0.40.
>
> Situation B: Running 1 'unneccesary' daemon, mysqld, but performing no
> database operations whatsoever. The chart I produced from this testdata
> (it also ran for 15 minutes) is completely different and the line
> representing MAX is going up and down all the time, it looks VERY unsteady.
> In this case WORST is 16.52 and BEST is 1.11.
>
> How is this possible? I'm ofcourse aware that Linux is constantly
> heeding the mysql daemon, but I can't imagine this produces suc
> relatively large differences between testresults. I'm sure there is a
> perfectly sane explanation for it, but I need a little help to
> understand things like this.
> The platform I'm testing on is an x86.
On medium to high end CPUs, most of the latency is caused by hardware
(cache refills, TLB misses, bus congestions, etc.). Without load, your
RT code will remain in the cache for a long time resulting in short
latencies. With load, the cache will be used by low-priority Linux tasks
and must be regained for RT activity. Therefore the only useful figure
is the worst case latency under load.
Wolfgang.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Xenomai-help] Testsuite latency
2006-10-20 10:24 [Xenomai-help] Testsuite latency Frits de Klark
2006-10-20 12:05 ` Wolfgang Grandegger
@ 2006-10-20 12:19 ` Jan Kiszka
1 sibling, 0 replies; 3+ messages in thread
From: Jan Kiszka @ 2006-10-20 12:19 UTC (permalink / raw)
To: Frits de Klark; +Cc: xenomai
[-- Attachment #1: Type: text/plain, Size: 1133 bytes --]
Frits de Klark wrote:
> Hello everyone,
>
> as sort of a newbie to Xenomai (and realtime Linux in general) I'm the
> moment running the (unmodified) latency test included in the testsuite in
> different situations:
>
> Situation A: Running as little daemons as possible in the background. The
> chart I produced from the testdata, after running it for about 15 minutes,
> without doing anything else on the machine, shows very stable results, that
> is: there a no visible peaks downwards. Iin the case of MAX for example,
> the
> value is most of the time between 2.7 and 2.9, occasionly going straight up
> in the air, but NEVER below 2.7.
> WORST is 5.33, BEST is 0.40.
>
> Situation B: Running 1 'unneccesary' daemon, mysqld, but performing no
> database operations whatsoever. The chart I produced from this testdata (it
> also ran for 15 minutes) is completely different and the line representing
> MAX is going up and down all the time, it looks VERY unsteady.
> In this case WORST is 16.52 and BEST is 1.11.
Check xenomai/TROUBLESHOOTING for appropriate load to test for the worst
case.
Jan
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-10-20 12:19 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-20 10:24 [Xenomai-help] Testsuite latency Frits de Klark
2006-10-20 12:05 ` Wolfgang Grandegger
2006-10-20 12:19 ` Jan Kiszka
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.