[rtems commit] score: Make EDF the default SMP scheduler

Sebastian Huber sebh at rtems.org
Mon Jul 10 07:39:58 UTC 2017


Module:    rtems
Branch:    master
Commit:    21389c061390cc04ea1d9882904daebfa86ee008
Changeset: http://git.rtems.org/rtems/commit/?id=21389c061390cc04ea1d9882904daebfa86ee008

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Thu Jul  6 15:59:43 2017 +0200

score: Make EDF the default SMP scheduler

The EDF SMP scheduler supports simple thread processor affinities
(see #3059) with a small run-time overhead. The current default SMP
scheduler lacks support for thread processor affinities at all. The EDF
SMP scheduler offers a good feature set for most applications. So, use
it by default. Run-time libraries like libgomp, MTAPI, work stealing
schedulers, language interpreters (e.g. Erlang virtual machine),
maintainence of per-processor data (e.g. Universal Memory Allocator
(UMA)), etc. use a one-to-one thread processor affinity for example.

Update #3063.

---

 cpukit/sapi/include/confdefs.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/cpukit/sapi/include/confdefs.h b/cpukit/sapi/include/confdefs.h
index d01c927..50e04b2 100755
--- a/cpukit/sapi/include/confdefs.h
+++ b/cpukit/sapi/include/confdefs.h
@@ -811,9 +811,9 @@ extern rtems_initialization_tasks_table Initialization_tasks[];
   #if defined(RTEMS_SMP) && CONFIGURE_MAXIMUM_PROCESSORS > 1
     /**
      * If no scheduler is specified in an SMP configuration, the
-     * priority scheduler is default.
+     * EDF scheduler is default.
      */
-    #define CONFIGURE_SCHEDULER_PRIORITY_SMP
+    #define CONFIGURE_SCHEDULER_EDF_SMP
   #else
     /**
      * If no scheduler is specified in a uniprocessor configuration, the



More information about the vc mailing list