WCET analysis of multi-level set-associative instruction caches
Damien Hardy (IRISA), Isabelle Puaut (IRISA)

TL;DR
This paper presents a safe static analysis method for estimating worst-case execution times in systems with multi-level set-associative caches, improving accuracy over previous unsafe approaches and considering cache hierarchies.
Contribution
It introduces a novel, safe static WCET analysis method for set-associative and fully associative caches that accounts for cache hierarchies, unlike prior unsafe methods.
Findings
The method is mostly tight and accurate.
Considering cache hierarchies yields significantly tighter WCET estimates.
Analysis time remains reasonable for medium and large programs.
Abstract
With the advent of increasingly complex hardware in real-time embedded systems (processors with performance enhancing features such as pipelines, cache hierarchy, multiple cores), many processors now have a set-associative L2 cache. Thus, there is a need for considering cache hierarchies when validating the temporal behavior of real-time systems, in particular when estimating tasks' worst-case execution times (WCETs). To the best of our knowledge, there is only one approach for WCET estimation for systems with cache hierarchies [Mueller, 1997], which turns out to be unsafe for set-associative caches. In this paper, we highlight the conditions under which the approach described in [Mueller, 1997] is unsafe. A safe static instruction cache analysis method is then presented. Contrary to [Mueller, 1997] our method supports set-associative and fully associative caches. The proposed method is…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsReal-Time Systems Scheduling · Parallel Computing and Optimization Techniques · Embedded Systems Design Techniques
