From: Philippe Gerum <rpm@xenomai.org>
To: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] testing interrupt latency
Date: Thu, 03 Aug 2006 20:18:34 +0200 [thread overview]
Message-ID: <1154629114.5010.161.camel@domain.hid> (raw)
In-Reply-To: <17618.14793.304543.952079@domain.hid>
On Thu, 2006-08-03 at 20:00 +0200, Gilles Chanteperdrix wrote:
> Bart Jonkers wrote:
> > Hey,
> >
> > I have written a small module to test the interrupt response time of
> > Xenomai to compare it with the time of Linux.
> >
> > I generate an interrupt on a GPIO pin and toggles another GPIO pin in
> > the interrupt service routine. (code below)
> > The time between the generated interrupt and the value change on the
> > GPIO pin is taken as interrupt response time.
> >
> > Everything works well, but I notice a strange behavior.
> > I thought that the interrupt response time of xenomai should be (as good
> > as) constant all the time. But I see that this is not the case.
> >
> > Did I do something wrong in my code or did I made a wrong assumption?
>
> What should be guaranteed by Xenomai is that the response time is
> bounded, not that it is constant. Of course, we make all we can to make
> the bound as small as possible, but each hardware has its
> limits.
>
Indeed. Not to speak of the basic issue all real-time Linux
infrastructures (native or not) have to deal with, compared to purely
standalone RTOSes: the hardware is shared by GPOS services which do not
give a damn of our efforts to keep the latencies close to the hardware
limits. See TLB flushes, significant cache trashing, power saving
tricks, funky processor modes and friends. This is the price to pay for
having real-time and general purpose services integrated on a single and
commoditized hardware and software platform.
--
Philippe.
next prev parent reply other threads:[~2006-08-03 18:18 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-03 14:30 [Xenomai-help] testing interrupt latency Bart Jonkers
2006-08-03 18:00 ` Gilles Chanteperdrix
2006-08-03 18:18 ` Philippe Gerum [this message]
2006-08-04 6:26 ` Jan Kiszka
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=1154629114.5010.161.camel@domain.hid \
--to=rpm@xenomai.org \
--cc=gilles.chanteperdrix@xenomai.org \
--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.