• Home
  • Search
  • Analysis of Shared Cache Interference in Multi-Core Systems using Event-Arrival Curves
  • Open Access IconOpen Access
  • Cite Icon6
  • https://doi.org/10.1145/3575757.3593643Copy DOI Icon

Analysis of Shared Cache Interference in Multi-Core Systems using Event-Arrival Curves

  • Jun 7, 2023
  • Thilo L Fischer +1 more
Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

Caches are used to bridge the gap between main memory and the significantly faster processor cores. In multi-core architectures, the last-level cache is often shared between cores. However, sharing a cache causes inter-core interference to emerge. Concurrently running tasks will experience additional cache misses as the competing tasks issue interfering accesses and trigger the eviction of data contained in the shared cache. Thus, to compute a task’s worst-case execution time (WCET), a safe bound on the effects of inter-core cache interference has to be determined. In this paper, we propose a novel analysis approach for shared caches using the least recently used (LRU) replacement policy. The presented analysis leverages timing information to produce tight bounds on the worst-case interference. We describe how inter-core cache interference may be expressed as a function of time using event-arrival curves. Thus, by determining the maximal duration between subsequent accesses to a cache block, it is possible to bound the inter-core interference. This enables us to classify accesses as cache hits or potential misses. We implemented the analysis in a WCET analyzer and evaluated its performance for multi-core systems containing 2, 4, and 8 cores using shared caches from 4 KB to 32 KB. The analysis achieves significant improvements compared to a standard interference analysis with WCET reductions of up to 60%. The average WCET reduction is 9% for dual-core, 15% for quad-core, and 11% for octa-core systems. The analysis runtime overhead ranges from a factor of 4 × to 7 × compared to the baseline analysis.

Similar Papers
  • Research Article

An Interference Matrix Based Approach to Bounding Worst-Case Inter-Thread Cache Interferences and WCET for Multi-Core Processors

  • Jun 30, 2011
  • Journal of Computing Science and Engineering
  • Jun Yan +1
  • Research Article
  • Citations5

Interactive WCET Prediction with Warning for Timeout Risk

  • Feb 27, 2017
  • International Journal of Pattern Recognition and Artificial Intelligence
  • Fanqi Meng +2
  • Research Article
  • Citations124

Worst-case execution-time analysis for embedded real-time systems

  • Aug 01, 2003
  • International Journal on Software Tools for Technology Transfer
  • Jakob Engblom +4
  • Conference Article
  • Citations2

PV-aware Replacement Policy for Two-level Shared Cache

  • Dec 01, 2022
  • Bindu Agarwalla +2
  • PDF
  • Research Article
  • Citations2

A generic framework to integrate data caches in the WCET analysis of real-time systems

  • Nov 01, 2021
  • Journal of Systems Architecture
  • Juan Segarra +2
  • Conference Article
  • Citations39

A Survey of WCET Analysis of Real-Time Operating Systems

  • Jan 01, 2009
  • Mingsong Lv +5
  • Conference Article
  • Citations6

A Real-Time Application with Fully Predictable Task Timing

  • May 01, 2020
  • Michael Platzer +1
  • Research Article
  • Citations16

Fast, Interactive Worst-Case Execution Time Analysis With Back-Annotation

  • Apr 19, 2012
  • IEEE Transactions on Industrial Informatics
  • Trevor Harmon +5
  • Research Article
  • Citations3

Reflecting RTOS Model During WCET Timing Analysis: MSP430/Freertos Case Study

  • Jan 01, 2012
  • Acta Electrotechnica et Informatica
  • Josef Strnadel +1
  • Conference Article
  • Citations3

Forming Virtual Traces for WCET Analysis and Reduction

  • Aug 01, 2008
  • Jack Whitham +1
  • Conference Article
  • Citations7

Superblock-Based Source Code Optimizations for WCET Reduction

  • Jun 01, 2010
  • Paul Lokuciejewski +2
  • Book Chapter
  • Citations9

Parallelism Analysis: Precise WCET Values for Complex Multi-Core Systems

  • Jan 01, 2015
  • Timon Kelter +1
  • Research Article
  • Citations31

Fast and exact analysis for LRU caches

  • Jan 02, 2019
  • Proceedings of the ACM on Programming Languages
  • Valentin Touzeau +3
  • Research Article
  • Citations21

Transforming flow information during code optimization for timing analysis

  • Apr 09, 2010
  • Real-Time Systems
  • Raimund Kirner +2
  • Conference Article
  • Citations75

Timing Analysis of a Protected Operating System Kernel

  • Nov 01, 2011
  • Bernard Blackham +4
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.