Lune

RTSS2024Top-tier venue

Per-Bank Bandwidth Regulation of Shared Last-Level Cache for Real-Time Systems

Connor Sullivan, Alex Manley, Mohammad Alian, Heechul Yun

Abstract

Modern commercial-off-the-shelf (COTS) multicore processors have advanced memory hierarchies that enhance memory-level parallelism (MLP), which is crucial for high performance. To support high MLP, shared last-level caches (LLCs) are divided into multiple banks, allowing parallel access. However, uneven distribution of cache requests from the cores, especially when requests from multiple cores are concentrated on a single bank, can result in significant contention affecting all cores that access the cache. Such cache bank contention can even be maliciously induced-known as cache bank-aware denial-of-service (DoS) attacks-in order to jeopardize the system’s timing predictability. In this paper, we propose a per-bank bandwidth regulation approach for multi-banked shared LLC based multicore realtime systems. By regulating bandwidth on a per-bank basis, the approach aims to prevent unnecessary throttling of cache accesses to non-contended banks, thus improving overall performance (throughput) without compromising isolation benefits of throttling. We implement our approach on a RISC-V system-on-chip (SoC) platform using FireSim and evaluate extensively using both synthetic and real-world workloads. Our evaluation results show that the proposed per-bank regulation approach effectively protects real-time tasks from co-running cache bank-aware DoS attacks, and offers up to a 3.66×3.66 \times performance improvement for the throttled benign best-effort tasks compared to prior bank-oblivious bandwidth throttling approaches.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

Builds onCited byLeft to right by year; the more cited, the higher.

Builds on3

  1. E-WarP: A System-wide Framework for Memory Bandwidth Profiling and ManagementParul Sohal, Rohan Tabish, Ulrich Drepper, Renato MancusoRTSS 2020 · 34 citations
  2. Making Powerful Enemies on NVIDIA GPUsTyler Yandrofski, Jingyuan Chen, Nathan Otterness, James H. Anderson et al.RTSS 2022 · 15 citations
  3. PolyRhythm: Adaptive Tuning of a Multi-Channel Attack Template for Timing InterferenceAo Li, Marion Sudvarg, Han Liu, Zhiyuan Yu et al.RTSS 2022 · 12 citations

Related papers

  1. FaSe: fast selective flushing to mitigate contention-based cache timing attacksTuo Li, Sri ParameswaranDAC 2022 · 3 citations
  2. Predictable sharing of last-level cache partitions for multi-core safety-critical systemsZhuanhao Wu, Hiren D. PatelDAC 2022 · 6 citations
  3. HybCache: Hybrid Side-Channel-Resilient Caches for Trusted Execution EnvironmentsGhada Dessouky, Tommaso Frassetto, Ahmad-Reza SadeghiUSENIX Security 2020
  4. Co-Located Parallel Scheduling of Threads to Optimize Cache SharingCorey Tessler, Venkata Prashant Modekurthy, Nathan Fisher, Abusayeed Saifullah et al.RTSS 2023 · 5 citations
  5. Precise and scalable shared cache contention analysis for WCET estimationWei Zhang, Mingsong Lv, Wanli Chang, Lei JuDAC 2022 · 12 citations
Dusk over the sea between two cliffs drawn in fine vertical lines