Partitioned scheduling issue on Raspberry Pi 2

Ebenezer ebbys89 at gmail.com
Fri Oct 25 13:29:06 UTC 2019


Hello everyone

I am facing some issues while using partitioned scheduling on
RaspberryPi2. I want to run one scheduler instance on each core (ie. 4
Scheduler instances in total).  I can configure and run
PRIORITY_AFFINITY_SMP, PRIORITY_SMP and SIMPLE_SMP scheduler
algorithms into partitions/clusters without any problem. When I tried
to configure EDF_SMP scheduler algorithm in the same manner, the 3rd
instance of the scheduler is not getting assigned to Core 2. But the
other 3 instances of EDF_SMP schedulers are getting assigned to proper
cores.

I used rtems_scheduler_get_processor_set to verify scheduler
assignments and i get the following CPUSET values

Scheduler 1 CPUSET:      0001
Scheduler 2 CPUSET:      0010
Scheduler 3 CPUSET:      100010001000111101000
Scheduler 4 CPUSET:      1000

I am using RTEMS 5 SMP. Is there a way to solve this issue?

Thanks in advance
Ebenezer


More information about the users mailing list