From: Philippe Gerum <rpm@xenomai.org>
To: Waldemar Valdas Bancewicz <waldemarbancewicz@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] gatekeeper/0
Date: Wed, 19 Jan 2011 12:31:11 +0100 [thread overview]
Message-ID: <1295436671.1857.129.camel@domain.hid> (raw)
In-Reply-To: <4D35F6C8.5020306@domain.hid>
On Tue, 2011-01-18 at 15:23 -0500, Waldemar Valdas Bancewicz wrote:
> Hi,
>
> I am getting an abnormally high cpu utilization (30 - 85%) for the
> gatekeeper/0 thread. I'm using Xenomai 2.4.10 with a Debian linux kernel
> 2.6.32. The problem appears after upgrading the kernel with newer debian
> patches. Any ideas?
That is an interesting question, but I'm unsure that you will get a
definite answer, at least because of the following reasons:
- we have absolutely no clue about what those "newer debian patches"
are, we track the mainline kernel only.
- we don't know what your application does, what were the CPU figures
before you changed your configuration, etc.
- you are running 2.4.10, which is seriously outdated, and you did not
tell anything about the I-pipe release you are running, albeit this is
likely crucial for your issue. Actually we don't even know what
architecture you are running.
Wild guess:
- your RT code is probably doing a massive number of mode switches to
secondary mode. You may want to check whether the value of the CSW
counter from /proc/xenomai/stat increases at the same pace depending on
the version you are testing.
- those patches somehow broke the host clock tick accounting code of the
I-pipe, and the gatekeeper is unduly charged with all Linux timer ticks
which happened while your system was running in primary mode, as soon as
it returns to secondary mode. In such a case, the longer the time spent
in primary mode, the higher the likeliness to have deferred Linux ticks
charged this way.
>
> Thanks.
>
> _______________________________________________
> Xenomai-help mailing list
> Xenomai-help@domain.hid
> https://mail.gna.org/listinfo/xenomai-help
--
Philippe.
next prev parent reply other threads:[~2011-01-19 11:31 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-18 20:23 [Xenomai-help] gatekeeper/0 Waldemar Valdas Bancewicz
2011-01-19 11:31 ` Philippe Gerum [this message]
[not found] <OF8AF478EE.52F5DF3F-ONC12575B5.004203DE-C12575B5.0042CC16@domain.hid>
2009-05-14 13:22 ` Gilles Chanteperdrix
-- strict thread matches above, loose matches on Subject: below --
2009-05-13 12:21 Gilles Chanteperdrix
[not found] <OF251AD21B.277C167E-ONC12575B4.003ABC22-C12575B4.003B2CCA@datacon.at>
2009-05-12 11:58 ` Gilles Chanteperdrix
2009-05-12 11:59 ` Gilles Chanteperdrix
[not found] <OF4972A89C.E992E0BC-ONC12575B4.002430E6-C12575B4.0029BFB6@domain.hid>
2009-05-12 10:05 ` Gilles Chanteperdrix
2009-05-12 12:14 ` Gilles Chanteperdrix
[not found] <OFCB7F621A.65B14ECB-ONC12575B3.0039F826-C12575B3.0039F8AC@datacon.at>
2009-05-11 12:20 ` Gilles Chanteperdrix
[not found] <OFBB398D5A.1ED06DE3-ONC12575B0.00262F81-C12575B0.0026A81A@datacon.at>
2009-05-08 15:01 ` Gilles Chanteperdrix
[not found] <OF2606C557.B1D5A7EE-ONC12575AF.00492678-C12575AF.0049CCCC@datacon.at>
2009-05-07 13:29 ` Gilles Chanteperdrix
[not found] <OFEAD5CF08.F6D90D65-ONC12575AF.0040F159-C12575AF.00433C0E@datacon.at>
2009-05-07 12:26 ` Gilles Chanteperdrix
[not found] <OF4D358DA8.8C7A5638-ONC12575AF.00332A73-C12575AF.003367B6@domain.hid>
2009-05-07 9:49 ` Gilles Chanteperdrix
[not found] <OF95BAAB6A.7BC234E8-ONC12575AF.003214DD-C12575AF.00321D02@domain.hid>
2009-05-07 9:08 ` Gilles Chanteperdrix
[not found] <OFAD630900.6B7052D5-ONC12575AF.003134DD-C12575AF.003171E4@domain.hid>
2009-05-07 9:02 ` Gilles Chanteperdrix
[not found] <OF4028FAA7.2097674F-ONC12575AF.002D7049-C12575AF.002D8EA7@domain.hid>
2009-05-07 8:44 ` Gilles Chanteperdrix
2009-05-07 8:54 ` henning.richter
2009-05-07 8:56 ` Gilles Chanteperdrix
[not found] <OF649EE419.F6596615-ONC12575AF.001F4A33-C12575AF.00268522@domain.hid>
2009-05-07 7:28 ` Gilles Chanteperdrix
2009-05-07 7:57 ` henning.richter
2009-05-07 8:07 ` Gilles Chanteperdrix
2009-05-05 13:12 henning.richter
2009-05-05 13:36 ` Gilles Chanteperdrix
2009-05-05 13:44 ` henning.richter
2009-05-05 13:47 ` Gilles Chanteperdrix
2009-05-06 7:21 ` henning.richter
2009-05-06 7:26 ` Gilles Chanteperdrix
2009-05-06 9:48 ` 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=1295436671.1857.129.camel@domain.hid \
--to=rpm@xenomai.org \
--cc=waldemarbancewicz@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.