From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Jan Kiszka <jan.kiszka@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-core] RTAI and Xenomai latency in kernel mode on AT91SAM9261-EK
Date: Tue, 9 Oct 2007 21:56:14 +0200 [thread overview]
Message-ID: <18187.56542.319792.74121@domain.hid> (raw)
In-Reply-To: <470BC537.8010200@domain.hid>
Jan Kiszka wrote:
> Gregory CLEMENT wrote:
> > Here, they are the last latency we get on AT91SAM9261-EK. As just now
> > I haven't the board at home, I send the last result we stored. The
> > prority of dbgu should be set to 6 instead of 7, but I can't assure
> > it, for Xenomai.
>
> Hmm, hardware interrupt priorities must not impact the worst-case
> latency if I-pipe acks and mask them appropriately (the worst case is
> when multiple interrupts happen in a row, not at the same time). But
> this statement is not based on knowledge about potential pitfalls of
> this arch. Are there specialities that require this tweaking?
During the port to AT91RM9200, I observed that under ping flood, the
ethernet driver interrupt was delaying the timer interrupt for unbounded
period of times, this because it had a higher priority. Changing the
interrupt priorities solved the issue. That said, I understand what you
mean, the interrupt should be masked when acked and should no longer
bother us until the I-pipe gives control to Linux to handle it.
>
> > first Xenomai:
> >
> > #insmod /lib/modules/2.6.20.13/kernel/drivers/xenomai/testing/xeno_timerbench.ko
> > #cd /usr/xenomai/bin/
>
> Which versions were you using for both tests? Do you still have the
> involved .configs?
>
> > #./latency -t 2 -p 150 -h -H 500
Why not -p 500 ? Since RTAI was tested with a 500 us period, the same
period should be use for Xenomai. I do not think this will change
anything, but who knows.
--
Gilles Chanteperdrix.
prev parent reply other threads:[~2007-10-09 19:56 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-09 17:19 [Xenomai-core] RTAI and Xenomai latency in kernel mode on AT91SAM9261-EK Gregory CLEMENT
2007-10-09 18:15 ` Jan Kiszka
[not found] ` <305035a40710091207j4038c62s5fb81903ce843910@domain.hid>
2007-10-09 19:07 ` [Xenomai-core] Fwd: " Gregory CLEMENT
2007-10-09 19:45 ` Jan Kiszka
2007-10-09 21:58 ` Gilles Chanteperdrix
2007-10-10 6:12 ` Jan Kiszka
2007-10-10 8:45 ` Philippe Gerum
2007-10-10 8:54 ` Gilles Chanteperdrix
2007-10-10 9:28 ` Philippe Gerum
2007-10-10 9:36 ` Gilles Chanteperdrix
2007-10-10 9:54 ` Philippe Gerum
2007-10-09 20:02 ` Jan Kiszka
2007-10-09 19:56 ` Gilles Chanteperdrix [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=18187.56542.319792.74121@domain.hid \
--to=gilles.chanteperdrix@xenomai.org \
--cc=jan.kiszka@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.