How to verify RTEMS 4.11 SMP configuration

Joel Sherrill joel at rtems.org
Fri Jan 8 17:26:29 UTC 2016


On Fri, Jan 8, 2016 at 10:57 AM, Rice, Justin L. (GSFC-5820) <
justin.l.rice at nasa.gov> wrote:

> Hi all,
>
> Can anyone provide guidance on the best way to verify RTEMS 4.11 SMP
> configuration for the sparc GR712RC processor? There are some SMP demos in
> the testsuites directory. However, the README file specifies that as of
> June 2011, the tests are known to run only on
>
> + pcp4 BSP using qemu with 2-4 cores
> + leon3 BSP using grsim with 4 cores
>
> I also have tried to use application level services (such as
> rtems_get_processor_count), but the reports from these only seem to
> indicate a uniprocessor configuration.
>
> If you are starting with an uniprocessor tests, the default number of
configured
cores is going to be 1.

That README is clearly out of date.  And even more so on the master.

The SMP has been exercised on

+ arm/zynq - 2 cores
+ powerpc/qoriq - likely to 4 on 4.11, 24 on master with OpenMP
+ sparc/leon3 - 4
+ sparc/ngmp - 4

The x86 has an open ticket that the context switch algorithm needs the
handoff synchronization updated. It probably works ok up to 4 with
until you use affinity but it really needs updating. See
https://devel.rtems.org/ticket/2183

If someone has a quiet night or rainy weekend, fixin 2183 would be
a good way to pass time. <hint>


> Thanks in advance,
>
> Justin
> _______________________________________________
> users mailing list
> users at rtems.org
> http://lists.rtems.org/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20160108/27e466b2/attachment.html>


More information about the users mailing list