smp support
bin.wang at qkmtech.com
bin.wang at qkmtech.com
Fri Dec 29 08:55:53 UTC 2017
thanks
but i still confused about the smp configuration and the mutiprocessor configuration .
for example. for zynq ,they has two arm core. if i use the mutiprocessor configuration , Is rtems use the two cores in amp mode ? is the rtems manage the two cores? if rtems manages two cores,i think it is in smp mode because i think the concept of smp mode is the one system can manage muticores which are same cpu architecture。this is conflictive for my point of view
i think amp mode is rtems run in one core, another core is bare-metal or linux. but the mutiprocessor configuration let me confused, it said as follows
"The RTEMS multiprocessor execution model is multiple instruction streams with multiple data
streams (MIMD). This execution model has each of the processors executing code independent
of the other processors. Because of this parallelism, the application designer can more easily
guarantee deterministic behavior."
is it means one rtems system instance run in one core ,and another rtems system instance run in another core? and they can excute code independent? sorry, i think maybe i have some concept confused
if just one rtems run in two core , how to put code into different core to run ? how to realize the parrallelism?
another question:
if i use the smp configuration macro define,am i still need to do the mutiprocessor configuration macro define for confdef.h ?
bin.wang at qkmtech.com
From: Chris Johns
Date: 2017-12-29 14:21
To: bin.wang at qkmtech.com; Users
Subject: Re: smp support
On 29/12/17 12:16 pm, bin.wang at qkmtech.com wrote:
> thanks a lot .
>
> i have another question , if i use the smp, can i use the interrupt of rtems?
> which i want to interrupt period of hard real time of 125us.
>
Yes you can.
> i do not know the difference of the bare-metal interrupt and the rtems interrupt
> . is the rtems interrupt have performance loss of the hard real-time?
The interrupt overhead will have the same overhead each time and its
deterministic behaviour will depend on the other interrupts in your system and
their priority. The performance will depend on what you need to do in the interrupt.
>
> what the schedule method of smp use? is it can affect the interrupt performance?
>
That depends on your application.
Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20171229/a181c7ed/attachment-0002.html>
More information about the users
mailing list