All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@domain.hid>
To: Syed Amer Gilani <amg@domain.hid>
Cc: xenomai-help <xenomai@xenomai.org>
Subject: Re: [Xenomai-help] Some Input needed about latency and cyclictest results
Date: Mon, 29 Jan 2007 15:19:30 +0100	[thread overview]
Message-ID: <45BE0272.5050401@domain.hid> (raw)
In-Reply-To: <ac3922a00701290419q529f609h61c1c910711dbc5e@domain.hid>

[-- 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 --]

      reply	other threads:[~2007-01-29 14:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=45BE0272.5050401@domain.hid \
    --to=jan.kiszka@domain.hid \
    --cc=amg@domain.hid \
    --cc=xenomai@xenomai.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.