Predictable Resource Management in Multicore Real-Time Systems

77 concepts64 papers1 proposal

In the transition from single-core to multicore processors, the primary bottleneck for safety-critical systems has shifted from CPU scheduling to shared resource contention. As Luca Benini observes, while we can build massive many-core architectures, a "predictability gap" remains: the very features that improve average-case performance—like shared caches and interconnects—introduce non-deterministic delays that threaten the strict timing guarantees required for avionics, automotive, and industrial control.

The Mechanics of Temporal Coupling

In a multicore environment, tasks are no longer independent. They experience temporal coupling, where the execution time of a task on one core depends on the resource demands of tasks on other cores. Marco Caccamo and Marko Bertogna explain that this coupling occurs because multiple processing units compete for shared hardware like memory buses, last-level caches (LLC), and memory controllers.

This contention is not merely a matter of waiting in line. Javier Jalle et al. point out that shared memory interfaces often require extra stall cycles when switching between different cores' operations (e.g., switching from a read to a write). Furthermore, Gang Chen notes that shared L2 caches allow one core to evict data required by another, creating complex, non-linear timing anomalies. The result is a massive increase in Worst-Case Execution Time (WCET) estimates—sometimes by over twentyfold, according to Francisco J. Cazorla et al.—rendering traditional deterministic analysis insufficient.

Hardware-Enforced Isolation

To reclaim predictability, researchers have proposed moving from time-sharing to space-sharing of hardware resources. Javier Jalle et al. introduced Data Bus Slicing, which partitions a wide shared memory bus into narrower, private channels for each core. This eliminates inter-task channel contention entirely, providing "time-composable" access where a core's latency is independent of its neighbors.

For more complex System-on-Chips (SoCs), Thomas Benz et al. developed AXI-REALM, a hardware extension for industry-standard interconnects. It uses credit-based traffic regulation and burst splitting to prevent "noisy neighbor" interference, reducing worst-case memory latency from hundreds of cycles to fewer than eight. Similarly, Angelo Garofalo and Chi Zhang demonstrate that hardware-enforced partitioning in RISC-V SoCs allows high-throughput AI workloads to run alongside low-latency control tasks without missing deadlines.

Software and Scheduling Regulation

When hardware cannot be modified, software must intervene to regulate resource flow. Traditional regulators often rely on interrupts, which create their own overhead. To solve this, Alexander Zuepke et al. proposed MemPol, a polling-based mechanism that regulates per-core memory bandwidth at microsecond scales without interrupting the cores being managed.

Resource management also extends to the cache. Rather than allowing tasks to compete for the entire Last-Level Cache, Binqi Sun et al. argue for minimizing cache footprints. By using optimization heuristics to allocate only the necessary cache partitions to each task, the authors reduced total cache usage by nearly 40% while still meeting all hard deadlines. Jun Xiao et al. further refined this by clustering tasks based on their cache sensitivity, ensuring that tasks with similar resource needs are scheduled together to maximize efficiency.

Measuring and Modeling Contention

A significant hurdle in managing contention is the "black box" nature of modern processors. Asier Fernández de Lecea and Mohamed Hassan developed MCTrack, a hardware mechanism that directly tracks how many cycles one core delays another at the memory controller. This provides the empirical evidence needed for safety certification.

Beyond simple bus contention, Roger Pujol et al. highlight coherence-related contention. Even if tasks do not share data, the traffic generated by cache coherence protocols can introduce transitive delays that propagate through the system. Ashutosh Pradhan et al. also warn that partitioning local cluster caches is insufficient if a shared, unpartitioned system-level cache remains unregulated, as it can act as a hidden source of cross-cluster interference.

To handle these complexities, researchers are moving toward formal verification. Zonghua Gu and Abdeldjalil Boudjadar have demonstrated the use of Timed Automata and model-checking to prove schedulability. By transforming the timing analysis into a reachability problem, these methods can mathematically guarantee that a system will never reach an error state, even under heavy resource competition.

Key Foundational Work

Communicating Shared Resources: A Model for Distributed Real-Time Systems (1989) — contributed 2 concept elements to this direction.
History & citationVersion 2 · 2026-10-04

Current · Permanent link

  1. Version 2 (latest) · 2026-10-04 · 54 papers
  2. Version 1 · 2026-10-04 · 86 papers
Cite this direction

Latest version (a living page):

@misc{lacuna_shared_resource_contention_shared_resour_669d9134,
  title = {shared resource contention (shared resource interference)},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/shared-resource-contention-shared-resource-interference/rdr_669d9134a1924c2daca41d86218e0061},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-26},
}

This exact version (version 2, frozen text):

@misc{lacuna_shared_resource_contention_shared_resour_669d9134_v2,
  title = {shared resource contention (shared resource interference)},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/shared-resource-contention-shared-resource-interference/rdr_669d9134a1924c2daca41d86218e0061/v/2},
  note = {Version 2, frozen 2026-10-04. Accessed 2026-11-26},
}
About

These directions overlap with this one through shared papers.

See something wrong? Report a mistake