CPSLab Cyber-Physical Systems Lab, Boston University

Publications Memory & Shared-Resource Management

MCTI: Mixed-Criticality Task-based Isolation

Denis Hoornaert, Golsana Ghaemi, Andrea Bastoni, Renato Mancuso, Marco Caccamo, Giulio Corradi

Real-Time Systems, June 2024

Read the PDF Publisher page (DOI) Code and artifacts Cite

Fig. 2: Layered architecture of MCTI.

Abstract

The ever-increasing demand for high performance in the time-critical, low-power embedded domain drives the adoption of powerful but unpredictable, heterogeneous Systems-on-Chip. On these platforms, the main source of unpredictability—the shared memory subsystem—has been widely studied, and several approaches to mitigate undesired effects have been proposed over the years. Among them, performance-counter-based regulation methods have proved particularly successful. Unfortunately, such regulation methods require precise knowledge of each task’s memory consumption and cannot be extended to isolate mixed-criticality tasks running on the same core as the regulation budget is shared. Moreover, the desirable combination of these methodologies with well-known time-isolation techniques—such as server-based reservations—is still an uncharted territory and lacks a precise characterization of possible benefits and limitations. Recognizing the importance of such consolidation for designing predictable real-time systems, we introduce MCTI (Mixed-Criticality Task-based Isolation) as a first initial step in this direction. MCTI is a hardware/software co-design architecture that aims to improve both CPU and memory isolations among tasks with different criticalities even when they share the same CPU. In order to ascertain the correct behavior and distill the benefits of MCTI, we implemented and tested the proposed prototype architecture on a widely available off-the-shelf platform. The evaluation of our prototype shows that (1) MCTI helps shield critical tasks from concurrent non-critical tasks sharing the same memory budget, with only a limited increase in response time being observed, and (2) critical tasks running under memory stress exhibit an average response time close to that achieved when running without memory stress.

Code and hardware artifacts

Cite this paper

@article{MCTI_RTSJ24,
  title     = {{MCTI: Mixed-Criticality Task-based Isolation}},
  author    = {Hoornaert, Denis and Ghaemi, Golsana and Bastoni, Andrea and Mancuso, Renato and Caccamo, Marco and Corradi, Giulio},
  journal   = {Real-Time Systems},
  year      = 2024,
  month     = jun,
  publisher = {Springer Nature},
  doi       = {10.1007/s11241-024-09425-5},
  url       = {https://doi.org/10.1007/s11241-024-09425-5}
}

Download .bib