Naming of Fixed-Priority Scheduler (Now is Rate-Monotonic Scheduler)
Sebastian Huber
sebastian.huber at embedded-brains.de
Wed Oct 12 06:06:11 UTC 2016
On 11/10/16 20:46, Gedare Bloom wrote:
>> Furthermore, we can really integrate some well-known priority assignments
>> >and scheduling policy into the kernel to provide automatic priority
>> >assignment but also keep the flexibility of scheduler (like add one more
>> >parameter to enable/disable the flexibility). This kind of design can be
>> >found in LitmusRT as well.
>> >
> Yes, this could be done by introducing a new API for periodic tasks.
> But the priority assignment algorithms take into consideration all of
> the possible tasks in the system, which is not known at runtime in
> current RTEMS APIs. For example, if you use DM scheduling, there must
> be a way to determine how to map deadlines to priorities, which is not
> easily doable unless all the tasks' deadlines are known or the
> previously assigned priorities can be changed due to creation/start of
> a new task whose deadline does not fit in the available remaining
> priorities.
I think we should just implement the Linux API if possible
(SCHED_DEADLINE), e.g.
http://man7.org/linux/man-pages/man2/sched_getattr.2.html
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone : +49 89 189 47 41-16
Fax : +49 89 189 47 41-09
E-Mail : sebastian.huber at embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
More information about the users
mailing list