All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] Some Input needed about latency and cyclictest results
@ 2007-01-29 12:19 Syed Amer Gilani
  2007-01-29 14:19 ` Jan Kiszka
  0 siblings, 1 reply; 2+ messages in thread
From: Syed Amer Gilani @ 2007-01-29 12:19 UTC (permalink / raw)
  To: xenomai-help

I am currently in the process of writing a report about how well the
realtime results are with xenomai for a project. For this i am of
course using latency and cyclictest. But the results are somewhat odd.
With Load from dd and external ping -f, latency returns results i am
expecting: http://systec.de/dump/latency-load.png
But without Load there is a odd "hole" from 3us to 5us:
http://systec.de/dump/latency-noload.png
Can this somehow be explained?
cyclictest also has this hole: http://systec.de/dump/cyclictest.png
But i am not sure if i completely understand what cyclictest does. Is
it the same as latency just for the posix skin?

Thanks, Amer


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Xenomai-help] Some Input needed about latency and cyclictest results
  2007-01-29 12:19 [Xenomai-help] Some Input needed about latency and cyclictest results Syed Amer Gilani
@ 2007-01-29 14:19 ` Jan Kiszka
  0 siblings, 0 replies; 2+ messages in thread
From: Jan Kiszka @ 2007-01-29 14:19 UTC (permalink / raw)
  To: Syed Amer Gilani; +Cc: xenomai-help

[-- Attachment #1: Type: text/plain, Size: 1410 bytes --]

Syed Amer Gilani wrote:
> I am currently in the process of writing a report about how well the
> realtime results are with xenomai for a project. For this i am of
> course using latency and cyclictest. But the results are somewhat odd.
> With Load from dd and external ping -f, latency returns results i am
> expecting: http://systec.de/dump/latency-load.png
> But without Load there is a odd "hole" from 3us to 5us:
> http://systec.de/dump/latency-noload.png
> Can this somehow be explained?

Maybe a cache granularity effect: either the caches are hot and can
serve most requests of the benchmark directly so that you get latencies
<3 us, or parts of them have been overwritten, and it takes typically >5
us to replace the required content.

> cyclictest also has this hole: http://systec.de/dump/cyclictest.png
> But i am not sure if i completely understand what cyclictest does. Is
> it the same as latency just for the posix skin?

Yes and no. latency can benchmark timed user space, kernel space, and
IRQ handler scenarios, but only for one event per program instance.
cyclictest can also run multiple events (tasks), but only in user space.
latency is using native+rtdm skin, cyclictest the posix skin. So the
best comparison between both tools is running a single task in user
space at the same interval with each of them (and let them run roughly
the same time...).

Jan


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-01-29 14:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-29 12:19 [Xenomai-help] Some Input needed about latency and cyclictest results Syed Amer Gilani
2007-01-29 14: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.