From: Jan Kiszka <jan.kiszka@domain.hid>
To: Gregory CLEMENT <gclement00@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-core] RTAI and Xenomai latency in kernel mode on AT91SAM9261-EK
Date: Tue, 09 Oct 2007 20:15:19 +0200 [thread overview]
Message-ID: <470BC537.8010200@domain.hid> (raw)
In-Reply-To: <305035a40710091019n77e1a453gd0d349dc1eebc15d@domain.hid>
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?
> 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
...
> ---|------------|------------|------------|--------|-------------------------
> RTS| 3.480| 11.779| 99.163| 0| 14:23:01/14:23:01
>
> It was run under calibrator load during more than 14 hours.
>
> Now RTAI:
>
> Oneshot timer with 500µs period, LATENCY =6000ns and SETUPTIME 1500
> duration : 17h
>
> 1970/01/1 22:34:51
> RTH| lat min| ovl min| lat avg| lat max| ovl max| overruns
> RTD| 3221| 2577| 4997| 26095| 53801| 0
> RTD| 3221| 2577| 5163| 25451| 53801| 0
> RTD| 3221| 2577| 5159| 25128| 53801| 0
> RTD| 3221| 2577| 4799| 23518| 53801| 0
> RTD| 3221| 2577| 4828| 25128| 53801| 0
> RTD| 3221| 2577| 5089| 23518| 53801| 0
> RTD| 3221| 2577| 4580| 23840| 53801| 0
> RTD| 3221| 2577| 4924| 25128| 53801| 0
> RTD| 3221| 2577| 4740| 24806| 53801| 0
> RTD| 3221| 2577| 4251| 25128| 53801| 0
Again, what would simplify the discussion enormously is a function
back-trace of the measured maximum latencies, just like "latency -f"
generates. The numbers will become worse, for sure, but we would gain a
very good overview about what is executed and what delayed which kernel.
If you see a chance to perform such a test and you need some hints on
the tracer setup (or did you use it before?), please let us know!
Jan
--
Siemens AG, Corporate Technology, CT SE 2
Corporate Competence Center Embedded Linux
next prev parent reply other threads:[~2007-10-09 18:15 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 [this message]
[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 ` [Xenomai-core] " Gilles Chanteperdrix
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=470BC537.8010200@domain.hid \
--to=jan.kiszka@domain.hid \
--cc=gclement00@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.