From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Georg Gottleuber <gg@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] strange latency output (xenomai-2.4.5)
Date: Tue, 10 Feb 2009 17:29:48 +0000 [thread overview]
Message-ID: <4991B98C.8000301@domain.hid> (raw)
In-Reply-To: <E1LWwFb-000754-FT@mailer.emlix.com>
Georg Gottleuber wrote:
>
> Gilles Chanteperdrix schrieb:
>> Georg Gottleuber wrote:
>>> Hi,
>>>
>>> I recently port a ARM926EJ-S mach to Xenomai
>>> (like described in http://www.xenomai.org/index.php/I-pipe:ArmPorting).
>>>
>>> While testing with latency I got this output:
>>> # /usr/xenomai/bin/latency -p 1000 -h -s -H 500 -t 1
>>> == Sampling period: 1000 us
>>> == Test mode: in-kernel periodic task
>>> == All results in microseconds
>>> warming up...
>>> RTT| 00:00:01 (in-kernel periodic task, 1000 us period, priority 99)
>>> RTH|-----lat min|-----lat avg|-----lat max|-overrun|----lat best|---lat worst
>>> RTD| 78.992| 104.308| 124.131| 0| 78.992| 124.131
>>> ...
>>> RTD| 14.678| 68.413| 96.275| 0| 9.528| 155.321
>>> RTD| 84.046| 116.435| 175.192| 0| 9.528| 182.139
>>> ... ^^^^^^^ ^^^^^^^
>> I do not understand, what is wrong with these values ?
>
> It thought, if "lat max" of the current interval is bigger than "lat worst", this "lat
> max" updates the "lat worst". So I ask myself, out of which interval comes the updated 182
> value?
If your machine is highly loaded, like what you get with a ping -f, the
"display" thread, which is a non real-time one, may be delayed for more
than one second, in which case, it "misses", what is sent by the
"sampling" thread, but the sampling thread never looses the worst
latency itself, so that when the display thread finally manages to print
something, it will print the correct worst case latency.
--
Gilles.
next prev parent reply other threads:[~2009-02-10 17:29 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-10 16:49 [Xenomai-help] strange latency output (xenomai-2.4.5) Georg Gottleuber
2009-02-10 16:47 ` Gilles Chanteperdrix
2009-02-10 17:22 ` Georg Gottleuber
2009-02-10 17:21 ` Gilles Chanteperdrix
2009-02-10 17:29 ` Gilles Chanteperdrix [this message]
2009-02-10 17:46 ` Georg Gottleuber
2009-02-10 19:16 ` Gilles Chanteperdrix
2009-02-10 19:46 ` Georg Gottleuber
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=4991B98C.8000301@domain.hid \
--to=gilles.chanteperdrix@xenomai.org \
--cc=gg@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.