Skip to Main content Skip to Navigation
Reports

WCET analysis of multi-level set-associative instruction caches

Damien Hardy 1 Isabelle Puaut 1
1 CAPS - Compilation, parallel architectures and system
IRISA - Institut de Recherche en Informatique et Systèmes Aléatoires, Inria Rennes – Bretagne Atlantique
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 experimented on medium-size and large programs. We show that the method is most of the time tight. We further show that in all cases WCET estimations are much tighter when considering the cache hierarchy than when considering only the L1 cache. An evaluation of the analysis time is conducted, demonstrating that analysing the cache hierarchy has a reasonable computation time.
Complete list of metadata

Cited literature [20 references]  Display  Hide  Download

https://hal.inria.fr/inria-00286358
Contributor : Damien Hardy <>
Submitted on : Monday, July 7, 2008 - 11:25:21 AM
Last modification on : Friday, January 8, 2021 - 3:40:52 AM
Long-term archiving on: : Saturday, November 26, 2016 - 12:21:34 AM

Files

RR-6574.pdf
Files produced by the author(s)

Identifiers

  • HAL Id : inria-00286358, version 2
  • ARXIV : 0807.0993

Citation

Damien Hardy, Isabelle Puaut. WCET analysis of multi-level set-associative instruction caches. [Research Report] RR-6574, INRIA. 2008. ⟨inria-00286358v2⟩

Share

Metrics

Record views

476

Files downloads

293