From: Wolfgang Grandegger <wg@domain.hid>
To: xenomai@xenomai.org
Subject: Re: [Xenomai-help] Strange results with latency test
Date: Thu, 09 Nov 2006 15:12:37 +0100 [thread overview]
Message-ID: <45533755.1000201@domain.hid> (raw)
In-Reply-To: <20061109133632.GA4205@domain.hid>
Matthias Fechner wrote:
> Hi,
>
> I tested today Xenomai on my AMD64 (32-bit mode) with the latency
> program from the testsuite and I got for lat min negative values.
>
> Can my computer predict the future? :)
Of course, the timer is programmed a bit in advance taking into account
some average latency, like code run time, HW latencies, etc. It is
system dependent.
> How can I interpret these values?
>
> 100 us
> == Test mode: periodic user-mode task
> == All results in microseconds
> warming up...
> RTT| 00:00:01 (periodic user-mode task, 100 us period, priority 99)
> RTH|-----lat min|-----lat avg|-----lat max|-overrun|----lat best|---lat worst
> RTD| -1.337| -0.958| 0.970| 0| -1.337| 0.970
> RTD| -1.290| -0.907| 1.959| 0| -1.337| 1.959
> ...
> RTD| -1.406| -0.923| 1.884| 0| -1.468| 4.358
> ---|------------|------------|------------|--------|-------------------------
> RTS| -1.468| -0.922| 4.358| 0| 00:00:34/00:00:34
Add the value listed by 'cat /proc/xenomai/latency` to the above figures
or set the latency to "1 ns" with 'echo "1" > /proc/xenomai/latency'.
Wolfgang.
prev parent reply other threads:[~2006-11-09 14:12 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-09 13:36 [Xenomai-help] Strange results with latency test Matthias Fechner
2006-11-09 14:04 ` Gilles Chanteperdrix
2006-11-09 18:36 ` Matthias Fechner
2006-11-09 14:12 ` Wolfgang Grandegger [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=45533755.1000201@domain.hid \
--to=wg@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.