From: adam li <yi.li@domain.hid>
To: Jan Kiszka <jan.kiszka@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] question about the latency test running on Blackfin
Date: Wed, 12 Apr 2006 20:28:16 +0800 [thread overview]
Message-ID: <1144844898.7808.34.camel@domain.hid> (raw)
In-Reply-To: <443CB06C.2080202@domain.hid>
Thanks for the suggestions.
I am using Blackfin 533 on the STAMP board. The core frequency is 398
MHz.These data are got when there is not special workload, only uClinux
running.
I tried to run "latency" test in Mode 0 (user space task) for 60 sec,
with the "calibrator" as work load, this time the worst case schedule
latency becomes 82 us.
As you mentioned:
">Yes, Xenomai is a hard-RT system. But this doesn't depend on a
specific
> worst-case latency number, rather on the fact that a hardware-dependent
> upper limit can be provided that is independent of the (here:) Linux load"
Can I understand like this: Given the hardware and the workload, the
upper limit (worst case latency) is "determinative", regardless of what
is happening in Linux?
But still another confusion, as we can see from the test result, given
the hardware and the workload, each time running the "latency" test case
will result in an average latency and a worst case value, but how can we
"make sure" that using such hardware and such workload, the worst case
latency is "sure" to bellow certain upper limit? In other words, is it
possible that in some case, the worst case latency may go beyond the
observed upper limit? Or can I say that, there is such possibility, but
the probability is rare (statistically).
Thanks,
-Li Yi
On Wed, 2006-04-12 at 09:46 +0200, Jan Kiszka wrote:
> Li Yi wrote:
> > Hi Philippe,
> >
> > According to your answers, I updated the document on Xenomai on
> > Blackfin: (http://docs.blackfin.uclinux.org/doku.php?id=adeos) with the
> > test result of different modes, setting XENO_OPT_TIMING_SCHEDLAT = 1.
> > But I still have some question about the test result, hoping for your
> > help:
> >
> > When running this test in mode 0, the worst case latency is 65 us, (HSD|
> > max| 65 - 66 | 1). This result is get when there is no workload. Can I
> > say this system is "Hard Real-time" because most of the latency samples
> > are in a limited range?
>
> Soft RT: the more samples remain under the required limit the higher is
> the quality of the system
>
> Hard RT: ALL samples must be below the limit
>
> So, for hard RT, those 65 us is the interesting number. How did you
> create the system load? Typical tests contain some cache benchmarking
> tool (I prefer calibrator: http://www.cwi.nl/~manegold/Calibrator) +
> network load (e.g. ping -f) + hard disk or other persistent storage
> access (e.g. dd if=<your-disk> of=/dev/null).
>
> How much MHz does your board have, and to what can it be compared when
> looking at other architectures. 65 us looks quite (too?) good for
> low-end, but maybe the blackfin isn't actually low-end.
>
> >
> > That is, from the test result:
> > HSS| min| 59| 31.746| 0.632
> > HSS| avg| 599965| 33.365| 2.151
> > HSS| max| 59| 53.339| 2.739
> >
> > Can I make the conclusion that the schedule latency is "determinative" and the system is "hard real-time"? If not,
> > what is the expected test result? Xenomai is able to provide hard real-time, right?
>
> Yes, Xenomai is a hard-RT system. But this doesn't depend on a specific
> worst-case latency number, rather on the fact that a hardware-dependent
> upper limit can be provided that is independent of the (here:) Linux load.
>
> Jan
>
next prev parent reply other threads:[~2006-04-12 12:28 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-04 8:32 [Xenomai-help] Questions porting existing rtai-24.1.12 app toxenomai Fillod Stephane
2006-04-04 14:24 ` [Xenomai-help] Questions porting existing rtai-24.1.12 app to xenomai (PART II) Randy Smith
2006-04-04 14:15 ` Philippe Gerum
2006-04-04 15:32 ` Randy Smith
2006-04-04 16:21 ` Philippe Gerum
2006-04-05 15:02 ` Randy Smith
2006-04-05 16:45 ` Philippe Gerum
2006-04-05 20:54 ` Randy Smith
2006-04-05 22:02 ` Philippe Gerum
2006-04-12 16:11 ` Randy Smith
2006-04-06 3:38 ` [Xenomai-help] question about the latency test running on Blackfin adam li
2006-04-06 7:05 ` Philippe Gerum
2006-04-07 12:27 ` adam li
2006-04-07 12:37 ` Philippe Gerum
2006-04-12 2:42 ` Li Yi
2006-04-12 7:46 ` Jan Kiszka
2006-04-12 12:28 ` adam li [this message]
2006-04-12 17:38 ` 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=1144844898.7808.34.camel@domain.hid \
--to=yi.li@domain.hid \
--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.