2001
DOI: 10.1145/381694.378859
|View full text |Cite
|
Sign up to set email alerts
|

Exact analysis of the cache behavior of nested loops

Abstract: We develop from first principles an exact model of the behavior of loop nests executing in a memory hierarchy, by using a nontraditional classification of misses that has the key property of composability. We use Presburger formulas to express various kinds of misses as well as the state of the cache at the end of the loop nest. We use existing tools to simplify these formulas and to count cache misses. The model is powerful enough to handle imperfect loop nests and various flavors of non-linear array layouts … Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
5

Citation Types

0
59
0

Year Published

2003
2003
2022
2022

Publication Types

Select...
5
4

Relationship

1
8

Authors

Journals

citations
Cited by 53 publications
(60 citation statements)
references
References 59 publications
0
59
0
Order By: Relevance
“…They include the Cache Miss Equations by Ghosh et al [6], which we have built upon, a probabilistic method of analysis as proposed by Fraguella et al [5] and another analytical method by Chatterjee et al [3]. The basic idea behind all these methods is the same -to characterize data cache behavior by means of a set of mathematical equations.…”
Section: Related Workmentioning
confidence: 99%
See 1 more Smart Citation
“…They include the Cache Miss Equations by Ghosh et al [6], which we have built upon, a probabilistic method of analysis as proposed by Fraguella et al [5] and another analytical method by Chatterjee et al [3]. The basic idea behind all these methods is the same -to characterize data cache behavior by means of a set of mathematical equations.…”
Section: Related Workmentioning
confidence: 99%
“…The formula-based method [3] is a method that models cache behavior exactly using Presburger formulae to specify cache misses. This method can also deal with multiple loop nests and conditionals.…”
Section: Related Workmentioning
confidence: 99%
“…Models are particularly useful for larger problem sizes, where the performance is strongly impacted by the memory hierarchy. Several cache models have been proposed, including the Cache Miss Equations [9], the Presburger formula based approach in [10], the Stack Distances Model [11], and the Probabilistic Miss Equations [12]. All of these models support loop nests with regular access patterns similar to the ones considered in this paper.…”
Section: Background and Related Workmentioning
confidence: 99%
“…They include the Cache Miss Equations by Ghosh et al [7], a probabilistic analysis method proposed by Fraguella et al [6] and another analytical method by Chatterjee et al [5]. The common idea behind these methods is to characterize data cache behavior by means of a set of mathematical equations.…”
Section: Related Workmentioning
confidence: 99%