From: "Gregory Haskins" <ghaskins@novell.com>
To: "Jaswinder Singh" <jaswinderlinuxrt@gmail.com>,
"Sven-Thorsten Dietrich" <sven@thebigcorporation.com>
Cc: <linux-rt-users@vger.kernel.org>, <gerritbinnenmars@wanadoo.nl>
Subject: Re: How to use latency trace
Date: Tue, 13 Nov 2007 09:09:28 -0500 [thread overview]
Message-ID: <473969C8.BA47.005A.0@novell.com> (raw)
In-Reply-To: <1985e0f60711130522k4ac274d1o42d63abc2c92b83d@mail.gmail.com>
>>> On Tue, Nov 13, 2007 at 8:22 AM, in message
<1985e0f60711130522k4ac274d1o42d63abc2c92b83d@mail.gmail.com>, "Jaswinder
Singh" <jaswinderlinuxrt@gmail.com> wrote:
> hello Sven,
>
>
> On Nov 7, 2007 2:43 AM, Sven-Thorsten Dietrich
> <sven@thebigcorporation.com> wrote:
>> >
>> > you can request for interval for 1000 so it should come 1000 all the
>> > time, but it is not.
>>
>> Its should come CLOSE to 1000. What errors have you seen?
>>
>
> My errors are min and avg are not equal to ZERO.
> And I will be more happy If max is also ZERO :)
Jaswinder,
As we recently discussed on IRC, this is not an error per se, but a status report of your OS/HW combo. You will never see zero in cyclictest because the resolution off cyclictest/hrt is higher than the jitter specification of your chosen platform.
There is not an RT system in the world that has zero jitter to my knowledge. Rather, each OS/HW combo will have some arbitrary jitter specification. It is then up to the application designer to pick the platform where the specified jitter is lower than the apps tolerances. Some dedicated hardware and/or RTOS's might spec out in picoseconds or nanoseconds. Others might in microseconds, milliseconds, etc.
In the case of linux-rt on a modern x86 PC, this spec is generally in the range of 10us-100us. For instance, an application that needs hard-realtime latencies with no more than 500us jitter, it would probably work great on linux-rt/x86. Conversely, if you require no more than 500ns jitter, you need to look elsewhere.
So if you are seeing latency spikes> 100us, they should probably be investigated (using latency-trace) as potential bugs in -rt. However, numbers below that range are probably normal for your system. We are, of course, always looking to improve these numbers...but as of right now 10us-100us is state of the art.
I hope this helps.
-Greg
prev parent reply other threads:[~2007-11-13 14:13 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-01 22:53 How to use latency trace Gerrit Binnenmars
2007-11-02 11:53 ` Jaswinder Singh
2007-11-06 21:13 ` Sven-Thorsten Dietrich
2007-11-13 13:22 ` Jaswinder Singh
2007-11-13 14:09 ` Gregory Haskins [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=473969C8.BA47.005A.0@novell.com \
--to=ghaskins@novell.com \
--cc=gerritbinnenmars@wanadoo.nl \
--cc=jaswinderlinuxrt@gmail.com \
--cc=linux-rt-users@vger.kernel.org \
--cc=sven@thebigcorporation.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).