From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Stefan Schaal <sschaal@domain.hid>
Cc: xenomai@xenomai.org, Peter Pastor <pastor@domain.hid>
Subject: Re: [Xenomai-help] bring down the system
Date: Wed, 04 Nov 2009 11:50:42 +0100 [thread overview]
Message-ID: <4AF15C82.8050804@domain.hid> (raw)
In-Reply-To: <C790DE41-A093-46C5-9F44-D3F0EA839CF5@domain.hid>
Stefan Schaal wrote:
> Sorry, I attached the wrong C-program in the previous posting ....
> here is the corrected version:
>
> Hi,
>
> attached is a little C program that spawns off a task which runs a
> heavy tiny math job. Despite my 8 processor machine, taking this one
> task to 99% CPU load slows down the entire computer, often such that
> there is no return except for a forced restart.
>
> I run the xenomai-head git, updated on Oct. 29 the last time, on a
> i386 ubuntu system with kernel 2.6.29.5.
>
> Does anybody know what is going wrong here, i.e., am I not permitted
> to take my CPUs to the max load?
No, you can not do that. When a Xenomai task runs, Linux does not, and
for your system to work correctly, Linux should run from time to time,
so, the typical Xenomai setup is a periodic task which wakes up, does
some job, and goes back to sleep, leaving some time for linux to run.
--
Gilles
prev parent reply other threads:[~2009-11-04 10:50 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-04 1:18 [Xenomai-help] bring down the system Stefan Schaal
2009-11-04 6:35 ` Stefan Schaal
2009-11-04 6:52 ` Wolfgang Denk
2009-11-04 7:11 ` Stefan Schaal
2009-11-04 7:21 ` Jonas Buchli
2009-11-04 7:26 ` Wolfgang Denk
2009-11-04 7:37 ` Jonas Buchli
2009-11-04 10:50 ` 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=4AF15C82.8050804@domain.hid \
--to=gilles.chanteperdrix@xenomai.org \
--cc=pastor@domain.hid \
--cc=sschaal@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.