Enriching Enea OSE for Better Predictability Support
A real-time application is designed as a set of tasks with specific timing attributes and constraints. These tasks can be categorized as periodic, sporadic or aperiodic, based on the timing attributes that are specified for them which in turn define their runtime behaviors. To ensure correct executi...
Main Author: | |
---|---|
Format: | Others |
Language: | English |
Published: |
KTH, Skolan för informations- och kommunikationsteknik (ICT)
2011
|
Subjects: | |
Online Access: | http://urn.kb.se/resolve?urn=urn:nbn:se:kth:diva-38824 |
id |
ndltd-UPSALLA1-oai-DiVA.org-kth-38824 |
---|---|
record_format |
oai_dc |
spelling |
ndltd-UPSALLA1-oai-DiVA.org-kth-388242018-01-13T05:15:38ZEnriching Enea OSE for Better Predictability SupportengUl Mustafa, NaveedKTH, Skolan för informations- och kommunikationsteknik (ICT)2011SchedulingReal-Time SystemRTOSPeriodicSporadicAperiodicMonitoringWCETMIATDeadlineComputer EngineeringDatorteknikA real-time application is designed as a set of tasks with specific timing attributes and constraints. These tasks can be categorized as periodic, sporadic or aperiodic, based on the timing attributes that are specified for them which in turn define their runtime behaviors. To ensure correct execution and behavior of the task set at runtime, the scheduler of the underlying operating system should take into account the type of each task (i.e., periodic, sporadic, aperiodic). This is important so that the scheduler can schedule the task set in a predictable way and be able to allocate CPU time to each task appropriately in order for them to achieve their timing constraints. ENEA OSE is a real-time operating system with fixed priority preemptive scheduling policy which is used heavily in embedded systems, such as telecommunication systems developed by Ericsson. While OSE allows for specification of priority levels for tasks and schedules them accordingly, it can not distinguish between different types of tasks. This thesis work investigates mechanisms to build a scheduler on top of OSE, which can identify three types of real-time tasks and schedule them in a more predictable way. The scheduler can also monitor behavior of task set at run-time and invoke violation handlers if time constraints of a task are violated. The scheduler is implemented on OSE5.5 soft kernel. It identifies periodic, aperiodic and sporadic tasks. Sporadic and aperiodic tasks can be interrupt driven or program driven. The scheduler implements EDF and RMS as scheduling policy of periodic tasks. Sporadic and aperiodic tasks can be scheduled using polling server or background scheme. Schedules generated by the scheduler deviate from expected timing behavior due to scheduling overhead. Approaches to reduce deviation are suggested as future extension of thesis work. Usability of the scheduler can be increased by extending the scheduler to support other scheduling algorithm in addition to RMS and EDF. CHESSStudent thesisinfo:eu-repo/semantics/bachelorThesistexthttp://urn.kb.se/resolve?urn=urn:nbn:se:kth:diva-38824Trita-ICT-EX ; 194application/pdfinfo:eu-repo/semantics/openAccess |
collection |
NDLTD |
language |
English |
format |
Others
|
sources |
NDLTD |
topic |
Scheduling Real-Time System RTOS Periodic Sporadic Aperiodic Monitoring WCET MIAT Deadline Computer Engineering Datorteknik |
spellingShingle |
Scheduling Real-Time System RTOS Periodic Sporadic Aperiodic Monitoring WCET MIAT Deadline Computer Engineering Datorteknik Ul Mustafa, Naveed Enriching Enea OSE for Better Predictability Support |
description |
A real-time application is designed as a set of tasks with specific timing attributes and constraints. These tasks can be categorized as periodic, sporadic or aperiodic, based on the timing attributes that are specified for them which in turn define their runtime behaviors. To ensure correct execution and behavior of the task set at runtime, the scheduler of the underlying operating system should take into account the type of each task (i.e., periodic, sporadic, aperiodic). This is important so that the scheduler can schedule the task set in a predictable way and be able to allocate CPU time to each task appropriately in order for them to achieve their timing constraints. ENEA OSE is a real-time operating system with fixed priority preemptive scheduling policy which is used heavily in embedded systems, such as telecommunication systems developed by Ericsson. While OSE allows for specification of priority levels for tasks and schedules them accordingly, it can not distinguish between different types of tasks. This thesis work investigates mechanisms to build a scheduler on top of OSE, which can identify three types of real-time tasks and schedule them in a more predictable way. The scheduler can also monitor behavior of task set at run-time and invoke violation handlers if time constraints of a task are violated. The scheduler is implemented on OSE5.5 soft kernel. It identifies periodic, aperiodic and sporadic tasks. Sporadic and aperiodic tasks can be interrupt driven or program driven. The scheduler implements EDF and RMS as scheduling policy of periodic tasks. Sporadic and aperiodic tasks can be scheduled using polling server or background scheme. Schedules generated by the scheduler deviate from expected timing behavior due to scheduling overhead. Approaches to reduce deviation are suggested as future extension of thesis work. Usability of the scheduler can be increased by extending the scheduler to support other scheduling algorithm in addition to RMS and EDF. === CHESS |
author |
Ul Mustafa, Naveed |
author_facet |
Ul Mustafa, Naveed |
author_sort |
Ul Mustafa, Naveed |
title |
Enriching Enea OSE for Better Predictability Support |
title_short |
Enriching Enea OSE for Better Predictability Support |
title_full |
Enriching Enea OSE for Better Predictability Support |
title_fullStr |
Enriching Enea OSE for Better Predictability Support |
title_full_unstemmed |
Enriching Enea OSE for Better Predictability Support |
title_sort |
enriching enea ose for better predictability support |
publisher |
KTH, Skolan för informations- och kommunikationsteknik (ICT) |
publishDate |
2011 |
url |
http://urn.kb.se/resolve?urn=urn:nbn:se:kth:diva-38824 |
work_keys_str_mv |
AT ulmustafanaveed enrichingeneaoseforbetterpredictabilitysupport |
_version_ |
1718608424141324288 |