2019
DOI: 10.1145/3290367
|View full text |Cite
|
Sign up to set email alerts
|

Fast and exact analysis for LRU caches

Abstract: For applications in worst-case execution time analysis and in security, it is desirable to statically classify memory accesses into those that result in cache hits, and those that result in cache misses. Among cache replacement policies, the least recently used (LRU) policy has been studied the most and is considered to be the most predictable.The state-of-the-art in LRU cache analysis presents a tradeoff between precision and analysis efficiency: The classical approach to analyzing programs running on LRU cac… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
1
1
1

Citation Types

0
24
0

Year Published

2019
2019
2023
2023

Publication Types

Select...
4
2
2

Relationship

2
6

Authors

Journals

citations
Cited by 27 publications
(24 citation statements)
references
References 39 publications
0
24
0
Order By: Relevance
“…In this section, we shall extend our recent NP-hardness results [15] to NPcompleteness, and also prove NP-hardness for exist-hit on a restricted class of control-flow graphs.…”
Section: Lrumentioning
confidence: 90%
“…In this section, we shall extend our recent NP-hardness results [15] to NPcompleteness, and also prove NP-hardness for exist-hit on a restricted class of control-flow graphs.…”
Section: Lrumentioning
confidence: 90%
“…Thus, the path π = pre • (s i , b, s i+1 ) • mid • (s j , b, s j+1 ) is also a witness to the fact that b is not persistent, and its length is bounded by |V | + |V | · |E| + 2, i. e., it is polynomial in the size of the control-flow graph G. Now we show that the persistence problem is NP-hard. This part of the proof is analogous to Touzeau et al's proof that LRU must analysis is NP-hard [28].…”
Section: Persistence Analysis Is Np-completementioning
confidence: 65%
“…The development of the exact persistence analyses in this paper has been inspired by recent work of Touzeau et al [28], in which they develop exact must and may analyses for LRU caches. Similarly to our persistence analysis, their implementation employs ZDDs to compactly represent sets of sets of memory blocks and their abstraction exploits the monotonicity of LRU replacement to reduce the number of sets to track.…”
Section: Related Workmentioning
confidence: 99%
See 1 more Smart Citation
“…Moreover, the summaries must be kept precise enough to yield a tight WCET, but AI techniques tend to overapproximate in the presence of complex control flows and data dependencies [5,21]. Antichains [19] could be used to the cache states with less overapproximation than traditional cache analyses [11], while still maintaining scalability. Additionally, the use of relational domains like in APRON [13] could alleviate the imprecision, but comes at the cost of higher computational complexity.…”
Section: Approach 2: Path Summary Estimationmentioning
confidence: 99%