{"title":"A hardware scheduler for complex real-time systems","authors":"S. Sáez, J. Vila, A. Crespo, A. Garcı́a","doi":"10.1109/ISIE.1999.801754","DOIUrl":null,"url":null,"abstract":"The problem of jointly scheduling both hard deadline periodic tasks and soft aperiodic tasks has been the subject of considerable research in real-time systems. One of the most widely accepted solutions for this problem are slack stealing algorithms. However, these algorithms are rather impractical, since they all imply a considerable scheduler overhead. This paper faces the overhead problem by introducing a complete hardware architecture that implements slack stealing in hardware using an optimal algorithm that has been completely redesigned to perform efficiently in hardware. The proposed solution is a circuit that behaves as a kind of sophisticated interrupt controller that takes the task workload and the interrupts as inputs, and provides an output to inform the CPU which is the highest priority task. From the point of view of hardware design, the algorithm involves two main problems: first, to select the highest priority task at every moment and, second, to locate a set of slack gaps in a real-time computation. Locating slack gaps in a real-time computation is a problem that requires to \"look forward in time\" into the forecast schedule of a given workload. This paper presents a novel architecture that shows how to solve this problem in an efficient way using an event-driven simulation. A timing analysis of the proposed design is also presented.","PeriodicalId":227402,"journal":{"name":"ISIE '99. Proceedings of the IEEE International Symposium on Industrial Electronics (Cat. No.99TH8465)","volume":null,"pages":null},"PeriodicalIF":0.0000,"publicationDate":"1999-07-12","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"30","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"ISIE '99. Proceedings of the IEEE International Symposium on Industrial Electronics (Cat. No.99TH8465)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ISIE.1999.801754","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 30
Abstract
The problem of jointly scheduling both hard deadline periodic tasks and soft aperiodic tasks has been the subject of considerable research in real-time systems. One of the most widely accepted solutions for this problem are slack stealing algorithms. However, these algorithms are rather impractical, since they all imply a considerable scheduler overhead. This paper faces the overhead problem by introducing a complete hardware architecture that implements slack stealing in hardware using an optimal algorithm that has been completely redesigned to perform efficiently in hardware. The proposed solution is a circuit that behaves as a kind of sophisticated interrupt controller that takes the task workload and the interrupts as inputs, and provides an output to inform the CPU which is the highest priority task. From the point of view of hardware design, the algorithm involves two main problems: first, to select the highest priority task at every moment and, second, to locate a set of slack gaps in a real-time computation. Locating slack gaps in a real-time computation is a problem that requires to "look forward in time" into the forecast schedule of a given workload. This paper presents a novel architecture that shows how to solve this problem in an efficient way using an event-driven simulation. A timing analysis of the proposed design is also presented.