DocumentCode :
1007438
Title :
A model of workloads and its use in miss-rate prediction for fully associative caches
Author :
Singh, Jaswinder Pal ; Stone, Harold S. ; Thiebaut, Dominique F.
Author_Institution :
Dept. of Electr. Eng., Stanford Univ., CA, USA
Volume :
41
Issue :
7
fYear :
1992
fDate :
7/1/1992 12:00:00 AM
Firstpage :
811
Lastpage :
825
Abstract :
A mathematical model for the behavior of programs or workloads is presented and from it is extracted the miss ratio of a finite, fully associative cache (or other first-level memory) using least-recently-used replacement under those workloads. To obtain miss ratios, the function u(t, L), defined to be the number of unique lines of size L referenced before time t, is modeled. Empirical observations show that this function appears to have the form u(t, L)=(W Latb) (dlog L log t) where W, a, b, d are constants that are related, respectively, to the working set size, locality of references to nearby addresses (spatial locality), temporal locality (locality in time not attributable to spatial locality), and interactions between spatial locality and temporal locality. The miss ratio of a finite fully associative cache can be approximated as the time derivative of u(t, L) evaluated where the function has a value equal to the size of the cache. When the miss ratios from this model are compared to measured miss ratios for a representative trace, the accuracy is high for large caches. For smaller caches, the model is close but not highly precise
Keywords :
buffer storage; content-addressable storage; memory architecture; behavior of programs; fully associative cache; fully associative caches; least-recently-used replacement; mathematical model; miss-rate prediction; model of workloads; spatial locality; temporal locality; Cache memory; Computer science; Design methodology; Mathematical model; Parameter estimation; Predictive models; Shape measurement;
fLanguage :
English
Journal_Title :
Computers, IEEE Transactions on
Publisher :
ieee
ISSN :
0018-9340
Type :
jour
DOI :
10.1109/12.256450
Filename :
256450
Link To Document :
بازگشت