From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Eric Eric <ericrebates@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] gatekeeper using 90% CPU...
Date: Tue, 17 Jan 2012 02:21:43 +0100 [thread overview]
Message-ID: <4F14CD27.2020701@domain.hid> (raw)
In-Reply-To: <CAMak2D-C8E3GVhymyOUEF6hztdgnXnczNzEMNoO9sHqemxL9Zg@domain.hid>
On 01/17/2012 02:14 AM, Eric Eric wrote:
> (snip)
> /proc/xenomai/stat shows about double the number of mode switches for my
> benchmark versus in-kernel periodic task. While this may not be optimal,
> it doesn't seem like it should bring gatekeeper from 1% CPU to 90% CPU
> usage. My system is a beagleboard XM running Xenomai 2.6.0 with the TI
> 2.6.37 kernel with beagle board patches applied.
>
> As always, thanks for any assistance.
Show us the source. Also note that spinning in primary mode more than
10ms is a bad idea, as the linux kernel will then try to catch up with
the lost ticks. gatekeeper activity is normally the sign of mode
switches. As for the mode switches detection, check
examples/native/sigdebug.c.
--
Gilles.
prev parent reply other threads:[~2012-01-17 1:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-17 1:14 [Xenomai-help] gatekeeper using 90% CPU Eric Eric
2012-01-17 1:21 ` 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=4F14CD27.2020701@domain.hid \
--to=gilles.chanteperdrix@xenomai.org \
--cc=ericrebates@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.