A Unified Framework for Quantitative Cache Analysis

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Kahlen, Sophie, Reineke, Jan
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866912336749527040
author Kahlen, Sophie
Reineke, Jan
author_facet Kahlen, Sophie
Reineke, Jan
contents In this work we unify two existing lines of work towards cache analysis for non-LRU policies. To this end, we extend the notion of competitiveness to block competitiveness and systematically analyze the competitiveness and block competitiveness of FIFO and MRU relative to LRU for arbitrary associativities. We show how competitiveness and block competitiveness can be exploited in state-of-the-art WCET analysis based on the results of existing persistence analyses for LRU. Unlike prior work, our approach is applicable to microarchitectures that exhibit timing anomalies. We experimentally evaluate the precision and cost of our approach on benchmarks from TACLeBench. The experiments demonstrate that quantitative cache analysis for FIFO and MRU comes close to the precision of LRU.
format Preprint
id arxiv_https___arxiv_org_abs_2503_16588
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle A Unified Framework for Quantitative Cache Analysis
Kahlen, Sophie
Reineke, Jan
Programming Languages
68
D.3.4
In this work we unify two existing lines of work towards cache analysis for non-LRU policies. To this end, we extend the notion of competitiveness to block competitiveness and systematically analyze the competitiveness and block competitiveness of FIFO and MRU relative to LRU for arbitrary associativities. We show how competitiveness and block competitiveness can be exploited in state-of-the-art WCET analysis based on the results of existing persistence analyses for LRU. Unlike prior work, our approach is applicable to microarchitectures that exhibit timing anomalies. We experimentally evaluate the precision and cost of our approach on benchmarks from TACLeBench. The experiments demonstrate that quantitative cache analysis for FIFO and MRU comes close to the precision of LRU.
title A Unified Framework for Quantitative Cache Analysis
topic Programming Languages
68
D.3.4
url https://arxiv.org/abs/2503.16588