Skip to main content
QUICK REVIEW

[Paper Review] Mixed-criticality Scheduling with Dynamic Redistribution of Shared Cache

Muhammad Ali Awan, Konstantinos Bletsas|arXiv (Cornell University)|Apr 28, 2017
Real-Time Systems SchedulingComputer Science4 references10 citations
TL;DR

This paper proposes a dynamic cache redistribution mechanism in mixed-criticality multicore systems that reallocates cache resources from low-criticality to high-criticality tasks at mode transition, improving schedulability through cache-aware scheduling. By integrating dynamic cache reassignment into Vestal's mixed-criticality model with partitioned EDF and deadline scaling, the approach achieves up to 30.59% relative improvement in weighted schedulability compared to static allocation, especially under high cache sensitivity or limited resources.

ABSTRACT

The design of mixed-criticality systems often involvespainful tradeoffs between safety guarantees and performance.However, the use of more detailed architectural modelsin the design and analysis of scheduling arrangements for mixedcriticalitysystems can provide greater confidence in the analysis,but also opportunities for better performance. Motivated by thisview, we propose an extension of Vestal 19s model for mixedcriticalitymulticore systems that (i) accounts for the per-taskpartitioning of the last-level cache and (ii) supports the dynamicreassignment, for better schedulability, of cache portions initiallyreserved for lower-criticality tasks to the higher-criticalitytasks, when the system switches to high-criticality mode. Tothis model, we apply partitioned EDF scheduling with Ekbergand Yi 19s deadline-scaling technique. Our schedulability analysisand scalefactor calculation is cognisant of the cache resourcesassigned to each task, by using WCET estimates that take intoaccount these resources. It is hence able to leverage the dynamicreconfiguration of the cache partitioning, at mode change, forbetter performance, in terms of provable schedulability. We alsopropose heuristics for partitioning the cache in low- and highcriticalitymode, that promote schedulability. Our experimentswith synthetic task sets, indicate tangible improvements inschedulability compared to a baseline cache-aware arrangementwhere there is no redistribution of cache resources from low- tohigh-criticality tasks in the event of a mode change.

Motivation & Objective

  • To address the trade-off between safety guarantees and performance in mixed-criticality real-time systems by incorporating detailed architectural models.
  • To improve schedulability of high-criticality tasks by dynamically reallocating shared last-level cache resources from low-criticality tasks during mode transitions.
  • To develop a schedulability analysis that accounts for dynamic cache partitioning and its impact on worst-case execution time (WCET) estimates.
  • To evaluate the performance gains of dynamic cache redistribution compared to static cache allocation in synthetic task sets.
  • To propose efficient heuristics for cache partitioning in both low- and high-criticality modes that enhance schedulability.

Proposed method

  • Extends Vestal’s mixed-criticality model to include per-task cache partitioning and dynamic redistribution of last-level cache at mode switch.
  • Applies partitioned EDF scheduling with Ekberg and Yi’s deadline-scaling technique to ensure schedulability under dynamic cache reconfiguration.
  • Uses WCET estimates that are dependent on assigned cache resources, enabling accurate analysis of task execution times in both low- and high-criticality modes.
  • Employs an ILP-based optimization for initial cache allocation in low-criticality mode, with a heuristic to minimize L-mode utilization.
  • Introduces a dynamic redistribution strategy that reclaims cache pages from low-criticality tasks and assigns them to high-criticality tasks upon entering high-criticality mode.
  • Proposes a new schedulability test (Manberg) that accounts for dynamic cache reassignment, outperforming static allocation benchmarks.

Experimental results

Research questions

  • RQ1Can dynamic redistribution of shared last-level cache improve the schedulability of high-criticality tasks in mixed-criticality systems?
  • RQ2How does cache-aware schedulability analysis with dynamic resource reassignment compare to static cache allocation in terms of provable schedulability?
  • RQ3What is the impact of task WCET sensitivity to cache allocation on the performance gains of dynamic redistribution?
  • RQ4How effective are heuristic-based cache partitioning strategies in low- and high-criticality modes for maximizing schedulability?
  • RQ5To what extent does dynamic cache reallocation reduce the pessimism in WCET estimates and improve system utilization?

Key findings

  • The proposed dynamic cache redistribution approach (Manberg) achieves up to 30.59% relative improvement in weighted schedulability compared to the V-Ekb baseline, which assumes no dynamic redistribution.
  • The absolute improvement in weighted schedulability ranges from 1.36% to 3.64% across different experimental configurations, with the highest gains observed when WCETs are highly sensitive to cache allocation.
  • When the ratio of high- to low-criticality WCETs ($C_i^H / C_i^L$) is high, the relative improvement increases to up to 27.13%, indicating greater benefit in hard-to-accommodate mode transitions.
  • The heuristic that minimizes L-mode utilization performs nearly as well as the optimal ILP solution, with N-Ekb and V-Ekb curves nearly coinciding, validating the effectiveness of the heuristic.
  • The improvement is most significant under resource scarcity and high cache sensitivity, with relative gains of up to 30.59% in such conditions.
  • Even in cases with high task set utilization, the dynamic approach maintains strong performance, with the Manberg test often closer to the optimal ILP curve than to the V-Ekb baseline.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.