Proportional and sporadic scheduling in real-time operating systems

868 visningar
uppladdat: 2008-01-01
Inactive member

Inactive member

Nedanstående innehåll är skapat av Mimers Brunns besökare. Kommentera arbete
Real-time systems consist of two different tasks, periodic and aperiodic (sporadic) tasks. Each of these tasks can have a hard or a soft deadline. When a system, containing both non real-time tasks, and real-time tasks, is faced with an overload situation scheduling its tasks is absolutely critical in order to guarantee the correctness of the system. That is, keeping the hard deadlines and also to guarantee good average response time for the soft deadline tasks. One problem that these kinds of systems face under overload is that normal tasks that do not have a real-time priority can suffer from starvation. Two of the possible solutions that can cure this problem are covered by this master thesis. One solution is to have a proportional scheduler, which is a scheduler that can assign a percentage of available CPU time to a task. The other solution is to have a Sporadic Server (SS) scheduler scheduling the tasks of the system. A SS scheduler works by handing out a budget to tasks, this budget represent the minimum guaranteed CPU time that this task have available. This budget will also be replenished within a period from where it was consumed. Under user-space a proportional scheduler, named: SCHED_PROPORTIONAL (SP), have been developed and implemented. It works by letting each task reserve a percentage of the available CPU time. By doing this to all the tasks that are in danger of starving, the problem of starvation is solved. In kernel-space an implementation of the POSIX SCHED_SPORADIC (PSS) has been done. PSS is a sporadic server scheduling algorithm that hands out a budget to tasks, the budget represent the longest time that a task is allowed to have access to the CPU at a certain priority level. The part of this budget that is consumed is replenished within a specified time period from the time that is was consumed in the manner that the algorithm describes. The implementations have been done both in the OpenSUSE Linux and the OpenSolaris operating systems. Performance test have been done in user-space regarding scheduling overhead and introduced thread latency. In kernel-space only functions test have been made since the performance is viewed as good enough in kernel-space and the correctness of the implementation is more important to test. In user-space the test results indicate that a user-space scheduler can provide low overhead and good latency as long as the task using the SP-scheduler does not allocate more than 50% of the CPU time. If in which case the latency will increas...

...läs fortsättningen genom att logga in dig.

Medlemskap krävs

För att komma åt allt innehåll på Mimers Brunn måste du vara medlem och inloggad.
Kontot skapar du endast via facebook.

Källor för arbetet

Saknas

Kommentera arbetet: Proportional and sporadic scheduling in real-time operating systems

 
Tack för din kommentar! Ladda om sidan för att se den. ×
Det verkar som att du glömde skriva något ×
Du måste vara inloggad för att kunna kommentera. ×
Något verkar ha gått fel med din kommentar, försök igen! ×

Kommentarer på arbetet

Inga kommentarer än :(

Liknande arbeten

Källhänvisning

Inactive member [2008-01-01]   Proportional and sporadic scheduling in real-time operating systems
Mimers Brunn [Online]. https://mimersbrunn.se/article?id=19140 [2024-04-28]

Rapportera det här arbetet

Är det något du ogillar med arbetet? Rapportera
Vad är problemet?



Mimers Brunns personal granskar flaggade arbeten kontinuerligt för att upptäcka om något strider mot riktlinjerna för webbplatsen. Arbeten som inte följer riktlinjerna tas bort och upprepade överträdelser kan leda till att användarens konto avslutas.
Din rapportering har mottagits, tack så mycket. ×
Du måste vara inloggad för att kunna rapportera arbeten. ×
Något verkar ha gått fel med din rapportering, försök igen. ×
Det verkar som om du har glömt något att specificera ×
Du har redan rapporterat det här arbetet. Vi gör vårt bästa för att så snabbt som möjligt granska arbetet. ×