Elastic Scheduling for Harmonic Task Systems
Authors:
- 13 May 2024
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 334-347
Abstract
Elastic scheduling is a framework to reduce task utilizations (often by increasing periods) in response to system overload. This paper extends elastic scheduling to uniprocessor scheduling of implicit-deadline task sets for which periods must remain harmonic. We argue that for tasks with periods constrained to continuous intervals, the problem of selecting harmonic periods from those intervals is unlikely to have a polynomial time solution. However, we outline an approach that is pseudo-polynomial in the range of acceptable periods. We then show that the problem of elastic scheduling is NP-hard with harmonic constraints. Nonetheless, if a total order is imposed on task periods (a natural restriction in many applications with execution pipelines that synchronize input data sources), the problem can be reduced offline to a lookup table, enabling polynomial-time online adaptation if available CPU bandwidth changes. We implement the proposed algorithm in two real-world applications: the Fast Integrated Mobility Spectrometer (FIMS) and ORB-SLAM3. We demonstrate that elastic scheduling allows FIMS to adjust its execution to avoid missing deadlines on a SWaP-constrained computational platform, and that it improves ORB-SLAM3's localization results by as much as lO.4x when available CPU bandwidth changes dynamically during runtime.Keywords
Funding Information
- NSF (CPS-2229290,CNS-2141256,CNS-2038995,CNS-2238635)
This publication has 32 references indexed in Scilit:
- Linear-time admission control for elastic schedulingReal-Time Systems, 2021
- Optimal Harmonic Period Assignment With Constrained Number of Distinct Period ValuesIEEE Access, 2020
- Optimal harmonic period assignment: complexity results and approximation algorithmsReal-Time Systems, 2018
- A fast integrated mobility spectrometer for rapid measurement of sub-micrometer aerosol size distribution, Part I: Design and model evaluationJournal of Aerosol Science, 2017
- An Efficient Method for Assigning Harmonic Periods to Hard Real-Time Tasks with Period Ranges2015
- A Framework to Construct Customized Harmonic Periods for Real-Time Systems2014
- Harmonic semi-partitioned scheduling for fixed-priority real-time tasks on multi-core platform2012
- Task period selection to minimize hyperperiod2011
- Measuring the Performance of Schedulability TestsReal-Time Systems, 2005
- Elastic scheduling for flexible workload managementIEEE Transactions on Computers, 2002