From: Philippe Gerum <rpm@xenomai.org>
To: Steven Seeger <steve@domain.hid>
Cc: "xenomai@xenomai.org" <xenomai@xenomai.org>
Subject: Re: [Xenomai-help] no-brainer realtime issue
Date: Fri, 17 Feb 2006 17:27:29 +0100 [thread overview]
Message-ID: <43F5F971.7050203@domain.hid> (raw)
In-Reply-To: <C01B3432.2453%steve@domain.hid>
Steven Seeger wrote:
>>Yous seem to be running in periodic timing mode, with a default slice of 125
>>us.
>>Which parameters are passed to rt_task_set_periodic() and
>>rt_task_wait_period() in
>>your sampling task?
>
>
> I am confused why this matters? You said the latency test shows my realtime
> does not work, so clearly the problem I have isn't specific to my code, but
> rather to my system, right?
>
The latency figures obtained are totally braindamage, so either something weird is
happening in 1) the real-time core, or 2) with the hw config selected, or 3) in
the application.
1) is always possible, but you might also consider that early timer shots beyond
two _milliseconds_ (-2293218 ns) would have been caught by a few other people on
the list; this has not been the case yet. So considering a massive breakage in the
real-time behaviour of that magnitude at this point of the investigation seems a
bit premature.
2) Geode brings its own set of issues. SMI is one of them. Something may also go
wrong when upgrading a kernel while reusing an old config file. Given your past
answers, I now take for granted that it is not the case, but asking first is better.
3) v2.1 has changed a lot of things wrt v2.0, including the way some key
configurations are made. Timing mode is one of those critical changes, and maybe
one of those changes has had a negative impact in some unexpected way. Looking at
the application to see what it requests to the real-time core and how it does it,
is the usual way to start digging the issue.
> Here is my call to rt_task_set_periodic:
>
> rt_task_set_periodic(&task, TM_NOW, rt_timer_ns2ticks(500000));
>
Ok, I think we might be dealing with a timing mode issue. Could you try disabling
CONFIG_XENO_OPT_TIMING_PERIODIC in your kernel config (Timing menu) and re-run the
latency test? TIA,
> I don't pass any parameters to rt_task_wait_period()
>
Yep, my mistake.
> Steven
>
>
--
Philippe.
next prev parent reply other threads:[~2006-02-17 16:27 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <43F4D077.10003@domain.hid>
2006-02-16 19:48 ` [Xenomai-help] no-brainer realtime issue Steven Seeger
2006-02-17 8:17 ` Philippe Gerum
2006-02-17 14:04 ` Steven Seeger
2006-02-17 14:28 ` Philippe Gerum
2006-02-17 14:37 ` Steven Seeger
2006-02-17 15:00 ` Steven Seeger
2006-02-17 15:59 ` Philippe Gerum
2006-02-17 16:05 ` Steven Seeger
2006-02-17 16:27 ` Philippe Gerum [this message]
2006-02-17 17:53 ` Steven Seeger
2006-02-17 18:29 ` Philippe Gerum
2006-02-17 18:37 ` Philippe Gerum
2006-02-21 13:50 ` Steven Seeger
2006-02-21 15:04 ` Steven Seeger
2006-02-18 13:05 ` Gilles Chanteperdrix
2006-02-16 16:21 Steven Seeger
2006-02-16 16:34 ` Philippe Gerum
2006-02-16 16:41 ` Jan Kiszka
2006-02-16 17:21 ` Philippe Gerum
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=43F5F971.7050203@domain.hid \
--to=rpm@xenomai.org \
--cc=steve@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.