[Bug 1723] New: Scheduler simulator

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Fri Dec 3 15:00:03 UTC 2010


           Summary: Scheduler simulator
           Product: RTEMS
           Version: HEAD
          Platform: All
        OS/Version: RTEMS
            Status: NEW
          Severity: enhancement
          Priority: P3
         Component: misc
        AssignedTo: joel.sherrill at oarcorp.com
        ReportedBy: jennifer.averett at oarcorp.com

Created an attachment (id=1088)
 --> (https://www.rtems.org/bugzilla/attachment.cgi?id=1088)
SchedSim -- builds outside of tree

As part of the slowly proceeding SMP work and Gedare's pluggable scheduler, we
have developed a "Scheduler Simulator" for RTEMS.  It uses a LOT of score 
directory, some of rtems, along with pieces from other directories.  It
includes a "fake port" which prints messages on context switch.  It is just
enough to make RTEMS It uses a derivation of the RTEMS shell to provide a
simple language to write scripts in.  These scripts mimic various user
operations and trigger tasks blocking, switching, changing priority, clock
ticks, etc.

The goal of this is similar to that of LinSched
(http://www.cs.unc.edu/~jmc/linsched/).  Since we now have pluggable
schedulers, it is a tool which can be used to develop and debug new scheduler
algorithms.  This is important as we move to SMP and need at least one
SMP-aware scheduling algorithm.  Gedare has an Earliest Deadline First (EDF)
that needs to be updated and submitted.  We want to implement a simple, low
memory, priority scheduler for smaller systems. 

This version was developed OUTSIDE the main tree.  It uses hacked together
Makefiles.  The code itself is OK.  It assumes your RTEMS source tree is at
"$r".  After submitting this, we will work on getting it to compile under

But feedback and build advice is needed.

Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.

More information about the bugs mailing list