[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RTEMS on multi-core/multi-processor
- Date: Mon, 9 Jun 2008 09:57:58 -0500
- From: joel.sherrill at OARcorp.com (Joel Sherrill)
- Subject: RTEMS on multi-core/multi-processor
Thomas Doerfler wrote:
> AFAIK currently RTEMS has no awareness of multicore processors. If you
> have multiple execution units in your system, you might run a separate
> instance of RTEMS on each of these cores, and couple them through
> "global" OS objects like semaphores, message queues etc. Then your
> configuration is similar to a system of multiple, loosely coupled
> processor systems.
Right. But you can use essentially the same image on
every CPU if you want. If there is a way to see which
CPU you are on, then you can use the CPU id number
to determine which tasks to run by default on each node.
I have also seen systems which use some mechanism
to turn tasks off on one node and on another. If your
intertask communications mechanism is configured
as global, then the tasks effectively migrated. Remember
the underlying comm/sync objects did not though.
So in the simplest sense you have absolute control
over which tasks are on which node because you
manually placed them there.
> Tobias Schoofs schrieb:
>> Dear colleagues,
>> how does RTEMS behave on multi-core/multi-processor hardware? I know
>> that tasks are statically bound to cores during compilation; but what is
>> the policy of this binding? Is there a way to influence the decision?
>> Thanks a lot,
>> rtems-users mailing list
>> rtems-users at rtems.com
> embedded brains GmbH
> Thomas Doerfler Obere Lagerstr. 30
> D-82178 Puchheim Germany
> Tel. : +49-89-18 90 80 79-2
> Fax : +49-89-18 90 80 79-9
> email: Thomas.Doerfler at embedded-brains.de
> PGP public key available on request
> Diese Nachricht ist keine gesch?ftliche Mitteilung im Sinne des EHUG.
> rtems-users mailing list
> rtems-users at rtems.com
Joel Sherrill, Ph.D. Director of Research & Development
joel.sherrill at OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985