All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] task management, multi-thread, multi-core
@ 2010-07-07  9:56 Everett Wang
  2010-07-07 10:21 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 7+ messages in thread
From: Everett Wang @ 2010-07-07  9:56 UTC (permalink / raw)
  To: xenomai

Hi All,

I am working on a navigation program that has two realtime tasks. One
is a high priority one executed in a higher frequency. Another task
runs about 1/10th of the first one, but requires substantially more
CPU computations. I am using an atom board which has dual threads
capability. I am worried that the second task can block the execution
of the first one until it finishs all the calculations. Can this
happen in a dual thread and/or dual core CPU? If yes, should I break
the task two into small chunks and let the task one to send a trigger
to
execute one chunk at a time? I know it is not xenomai specific
question and I have tried to read manual or other documents trying to
figure
it out.

I have read that tasks require more resources than threads in Linux.
The inter-threads communication is also more efficient than that of
tasks. Are these also true for xenomai realtime OS? Should I create
threads instead of tasks?


Any suggestions are welcome. Thanks for reading. :-)

Everett


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

end of thread, other threads:[~2010-07-07 14:28 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-07  9:56 [Xenomai-help] task management, multi-thread, multi-core Everett Wang
2010-07-07 10:21 ` Gilles Chanteperdrix
2010-07-07 10:49   ` Everett Wang
2010-07-07 11:24     ` Gilles Chanteperdrix
2010-07-07 12:44       ` Everett Wang
2010-07-07 12:51         ` Gilles Chanteperdrix
2010-07-07 14:28           ` Everett Wang

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.