Abstract
This paper studies real-time scheduling of mixed-criticality systems where low-criticality tasks are still guaranteed some service in the high-criticality mode, with reduced execution budgets. First, we present a utilization-based schedulability test for such systems under EDF-VD scheduling. Second, we quantify the suboptimality of EDF-VD (with our test condition) in terms of speedup factors. In general, the speedup factor is a function with respect to the ratio between the amount of resource required by different types of tasks in different criticality modes, and reaches 4/3 in the worst case. Furthermore, we show that the proposed utilization-based schedulability test and speedup factor results apply to the elastic mixed-criticality model as well. Experiments show effectiveness of our proposed method and confirm the theoretical suboptimality results.
Introduction
In modern real-time embedded systems, such as automotive or aerospace platforms, tasks often possess varying levels of criticality. A flight control system is high-criticality (HI), while an entertainment system is low-criticality (LO). The classical mixed-criticality model ensures safety by immediately discarding all LO tasks when HI tasks overrun their expected budgets. However, this "all-or-nothing" approach is often unacceptable in practice. This paper addresses the Imprecise Mixed-Criticality (IMC) model, where LO tasks are degraded rather than discarded, receiving a reduced execution budget during high-criticality mode.
The IMC Model and EDF-VD Scheduling
The researchers focus on the Earliest Deadline First with Virtual Deadlines (EDF-VD) algorithm. EDF-VD manages mode switches by assigning HI tasks "virtual deadlines" that are earlier than their actual deadlines. This creates a time buffer that allows the system to accommodate the increased demand of HI tasks if a mode switch occurs.
As shown in the figure above, the IMC model allows the LO task ($\tau_1$) to continue executing even after the system switches to HI mode at $t=14$. This ensures a minimum level of service quality instead of a total failure of low-priority functions.
Theoretical Analysis and Speedup Factors
A key contribution of this work is a new utilization-based schedulability test that accounts for the continued execution of degraded LO tasks. To measure the algorithm's efficiency, the authors calculated the speedup factor—a metric representing how much faster a processor must be for EDF-VD to match the performance of an optimal clairvoyant scheduler.
Surprisingly, the authors proved that the maximum speedup factor for the IMC model remains 4/3 (approx. 1.33), identical to the bound for the simpler classical discard model. This indicates that providing degraded service guarantees does not inherently reduce the worst-case theoretical efficiency of the system.
Analysis of the speedup factor surface reveals that the relationship between utilization ratios and schedulability is non-monotonic. There is a specific "sweet spot" or peak in the surface where the system is most difficult to bound, which the authors identified to establish the 4/3 worst-case guarantee.
Experimental Results
The proposed test was validated using 10,000 randomly generated synthetic task sets. The experiments compared the EDF-VD approach against the state-of-the-art Adaptive Mixed Criticality (AMC) approach for fixed-priority scheduling.
Key findings include:
- Higher Acceptance Ratios: The proposed EDF-VD test outperformed AMC in most scenarios, particularly when system utilization was between 0.5 and 0.8.
- Theoretical Confirmation: Experimental data confirmed the 1.333 speedup factor peak when the degradation ratio $\lambda$ was set to zero (reverting to the classical model).
- Elastic Model Versatility: The mathematical framework proved equally effective for the "Elastic" model, where task periods are lengthened instead of budgets being reduced.
Conclusion
This research provides a robust mathematical foundation for scheduling mixed-criticality systems that require graceful degradation rather than total service interruption. By maintaining a 4/3 speedup factor while supporting imprecise computations, the proposed EDF-VD framework offers a practical and efficient solution for modern real-time systems. Future work will look toward extending these guarantees to multiprocessor environments and evaluating runtime overhead in real-world OS kernels.
Summary updated