All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai] cpu usage
@ 2012-07-27 13:04 Frederik Bayart
  2012-07-27 13:21 ` Gilles Chanteperdrix
  2012-07-27 13:35 ` Jan Kiszka
  0 siblings, 2 replies; 7+ messages in thread
From: Frederik Bayart @ 2012-07-27 13:04 UTC (permalink / raw)
  To: xenomai

I'm running Xenomai 2.6.0 on Linux 2.6.38

I have a dual core processor.
When I run a busywait loop on cpu 0 (see source in attachment), I
can't do anything anymore on the computer although cpu 1 is almost
entirely idle. I can't interrupt the busywait loop, login, type
something in a shell, ...
This is even the case if I run linux entirely on cpu 1 (by using
isolcpus=0 as kernel parameter)

How can this be explained ?

Is it possible to use cpu 0 at 100% for a xenomai tasks and cpu 1 for
normal linux tasks so that you can still work on the computer ?

Regards,

Frederik
-------------- next part --------------
A non-text attachment was scrubbed...
Name: busywaitd.c
Type: text/x-csrc
Size: 1349 bytes
Desc: not available
URL: <http://www.xenomai.org/pipermail/xenomai/attachments/20120727/41790162/attachment.c>

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-07-27 14:42 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-27 13:04 [Xenomai] cpu usage Frederik Bayart
2012-07-27 13:21 ` Gilles Chanteperdrix
2012-07-27 13:35 ` Jan Kiszka
2012-07-27 13:58   ` Frederik Bayart
2012-07-27 14:01     ` Gilles Chanteperdrix
2012-07-27 14:05       ` Gilles Chanteperdrix
2012-07-27 14:42         ` Gilles Chanteperdrix

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.