<html dir="ltr"><head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style title="owaParaStyle"><!--P {
MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
--></style>
</head>
<body ocsi="x">
<div dir="ltr">We submitted PR: 1723 which will add a schedular simulator into rtems.
</div>
<div dir="ltr">Any comments or <font face="times new roman">advice would be appreciated at this point. A description</font></div>
<div dir="ltr"><font face="times new roman">of the PR follows:</font></div>
<div dir="ltr"><font face="times new roman"></font> </div>
<div dir="ltr">SchedSim -- builds outside of tree<br>
<br>
As part of the slowly proceeding SMP work and Gedare's pluggable scheduler, we<br>
have developed a "Scheduler Simulator" for RTEMS. It uses a LOT of score <br>
directory, some of rtems, along with pieces from other directories. It<br>
includes a "fake port" which prints messages on context switch. It is just<br>
enough to make RTEMS It uses a derivation of the RTEMS shell to provide a<br>
simple language to write scripts in. These scripts mimic various user<br>
operations and trigger tasks blocking, switching, changing priority, clock<br>
ticks, etc.<br>
<br>
The goal of this is similar to that of LinSched<br>
(<a href="http://www.cs.unc.edu/~jmc/linsched/">http://www.cs.unc.edu/~jmc/linsched/</a>). Since we now have pluggable<br>
schedulers, it is a tool which can be used to develop and debug new scheduler<br>
algorithms. This is important as we move to SMP and need at least one<br>
SMP-aware scheduling algorithm. Gedare has an Earliest Deadline First (EDF)<br>
that needs to be updated and submitted. We want to implement a simple, low<br>
memory, priority scheduler for smaller systems. <br>
<br>
This version was developed OUTSIDE the main tree. It uses hacked together<br>
Makefiles. The code itself is OK. It assumes your RTEMS source tree is at<br>
"$r". After submitting this, we will work on getting it to compile under<br>
rtems/tools/schedsim. <br>
<br>
But feedback and build advice is needed.
<hr>
</div>
</body>
</html>