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
_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help