Toward Practical Weakly Hard Real-Time Systems: A Job-Class-Level Scheduling Approach
- 9 February 2021
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Internet of Things Journal
- Vol. 8 (8) , 6692-6708
Abstract
Recent applications of the Internet of Things and cyber-physical systems require the integration of many sensing and control tasks into resource-constrained embedded devices. Such tasks can often tolerate a bounded number of timing violations. The concept of weakly hard real-time systems can effectively improve resource efficiency without sacrificing system safety. However, the existing studies have limitations on their practical use due to the restrictions imposed on the task timing behavior, high analysis complexity, and the lack of multicore support. In this article, we propose a new job-class-level fixed-priority preemptive scheduler and its schedulability analysis framework for weakly hard real-time tasks. Our proposed scheduler employs the meet-oriented classification of jobs of a task in order to reduce the worst-case temporal interference imposed on other tasks. Under this approach, each job is associated with a “job-class” that is determined by the number of deadlines previously met (with a bounded number of consecutively missed deadlines). This approach allows decomposing the complex weakly hard schedulability problem into two subproblems that are easier to solve: 1) analyzing the response time of a job with each job-class, which can be done by an extension of the existing task-level analysis and 2) finding possible job-class patterns, which can be modeled as a simple reachability tree. We also present a semipartitioned task allocation method for multicore platforms, which enhances the schedulability of weakly hard tasks under the proposed scheduling framework. Experimental results indicate that our scheduler outperforms the prior work in terms of task schedulability and analysis time complexity. We have also implemented a prototype of a job-class-level scheduler in the Linux kernel running on Raspberry Pi with acceptably small-runtime overhead.Keywords
Funding Information
- Office of Naval Research (N00014-19-1-2496)
This publication has 40 references indexed in Scilit:
- Improved Deadline Miss Models for Real-Time Systems Using Typical Worst-Case Analysis2015
- Providing Real-Time Applications With Graceful Degradation of QoS and Fault Tolerance According to$(m, k)$-Firm ModelIEEE Transactions on Industrial Informatics, 2006
- Measuring the Performance of Schedulability TestsReal-Time Systems, 2005
- Weakly hard real-time systemsIEEE Transactions on Computers, 2001
- Overload management in real-time control applications using (m, k)-firm guaranteeIEEE Transactions on Parallel and Distributed Systems, 1999
- Allocating fixed-priority periodic tasks on multiprocessor systemsReal-Time Systems, 1995
- A dynamic priority assignment technique for streams with (m, k)-firm deadlinesIEEE Transactions on Computers, 1995
- Finding Response Times in a Real-Time SystemThe Computer Journal, 1986
- On a Real-Time Scheduling ProblemOperations Research, 1978
- Scheduling Algorithms for Multiprogramming in a Hard-Real-Time EnvironmentJournal of the ACM, 1973