From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: 马强 <ma.q@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] Xenomai stop working
Date: Fri, 09 Mar 2012 10:11:07 +0100 [thread overview]
Message-ID: <4F59C92B.5080705@domain.hid> (raw)
In-Reply-To: <000601ccfdba$c36b8650$4a4292f0$@q@domain.hid>
On 03/09/2012 07:06 AM, 马强 wrote:
> Hi Gilles,
>
> I have changed mxc_min_delay as follow
> mxc_min_delay = ((__ipipe_cpu_freq + 500000) / 1000000) ?: 1;
> ->
> mxc_min_delay = ((__ipipe_cpu_freq + 250000) / 500000) ?: 1;
> means make min delay form 1us to 2us, and it seems to work well. I need a longer test to check it out.
>
> Another issue about this change is whether 2us is long enough? In other words, Is 2us a threshold value that due to hardware or an assumed value that make the possibility smaller? if it is the later one, 2us and someone bigger seems not to be a perfect solution.
You can try mxc_min_delay = 0xff, since it is what linux does in the
latest release.
--
Gilles.
next prev parent reply other threads:[~2012-03-09 9:11 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-08 3:13 [Xenomai-help] Xenomai stop working ??
2012-03-08 9:14 ` Gilles Chanteperdrix
2012-03-09 6:06 ` 马强
2012-03-09 9:11 ` Gilles Chanteperdrix [this message]
2012-03-13 6:32 ` 马强
2012-03-13 7:10 ` Gilles Chanteperdrix
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=4F59C92B.5080705@domain.hid \
--to=gilles.chanteperdrix@xenomai.org \
--cc=ma.q@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.