All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: "子 小" <hapcobot@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] How to solve this high latency problem
Date: Wed, 17 Feb 2010 15:20:09 +0100	[thread overview]
Message-ID: <4B7BFB19.2070308@domain.hid> (raw)
In-Reply-To: <COL105-W19CEDDAC71AEB3BEEE7B54C3480@domain.hid>

子 小 wrote:
> Hi,
> 
> after I installed the xenomai-2.5.1 with kernel 2.6.32.7, I ran the
> latency test program at /usr/xenomai/share/xenomai/testsuite/latency
> 
> below is what I got. High latency (about 400 microseconds for max
> latency) is present.
> 
> Basically, in my configuration, I have disabled ACPI, APM, and CPU
> frequency scaling;

You should NOT disable ACPI. The only thing you should disable is
ACPI_PROCESSOR.

> enalbed "Enable periodic timing", "Enable FPU support", and "Enable
> NMI watchdog".

You probably do not need the periodic timer.

> 
> I know that SMI workaround is important here. So I also enabled
> "Enable SMI workaround". Regarding "Globally disable SMI", I tried
> many times and found that if I enabled it, my laptop cannot boot
> up... Thus I have to keep it disabled, while I did not enable any
> other SMI options below "Globally disable SMI" in the configuration
> menu.
> 
> Now I am stuck here, not able to find out the solution to the
> problem. Could you help on this?

See xenomai troubleshooting guide.

> 
> Another question I would like to ask: in the result of my latency
> test, what is the difference between "lat max" and "lat worst"?
> because the numbers shown there are different.

the max is the max during the last second, the worst is the max since
the latency program is running.


-- 
Gilles Chanteperdrix, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com


      reply	other threads:[~2010-02-17 14:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.63.1266404417.13819.xenomai@xenomai.org>
2010-02-17 11:27 ` [Xenomai-help] How to solve this high latency problem 子 小
2010-02-17 14:20   ` Gilles Chanteperdrix [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=4B7BFB19.2070308@domain.hid \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=hapcobot@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.