Title :
Timing analysis for data caches and set-associative caches
Author :
White, Randall T. ; Mueller, Frank ; Healy, Christopher A. ; Whalley, David B. ; Harmon, Marion G.
Author_Institution :
Dept. of Comput. Sci., Florida State Univ., Tallahassee, FL, USA
Abstract :
The contributions of this paper are twofold. First, an automatic tool-based approach is described to bound worst-case data cache performance. The given approach works on fully optimized code, performs the analysis over the entire control flow of a program, detects and exploits both spatial and temporal locality within data references, produces results typically within a few seconds, and estimates, on average, 30% tighter WCET bounds than can be predicted without analyzing data cache behavior. Results obtained by running the system on representative programs are presented and indicate that timing analysis of data cache behavior can result in significantly tighter worst-case performance predictions. Second, a framework to bound worst-case instruction cache performance for set-associative caches is formally introduced and operationally described. Results of incorporating instruction cache predictions within pipeline simulation show that timing predictions for set-associative caches remain just as tight as predictions for direct-mapped caches. The cache simulation overhead scales linearly with increasing associativity
Keywords :
cache storage; data flow analysis; real-time systems; automatic tool-based approach; control flow; data cache behavior; data references; direct-mapped caches; fully optimized code; instruction cache predictions; pipeline simulation; set-associative caches; spatial locality; temporal locality; worst-case data cache performance; Automatic control; Computer architecture; Data analysis; Electronic mail; Performance analysis; Pipelines; Predictive models; Real time systems; Safety; Timing;
Conference_Titel :
Real-Time Technology and Applications Symposium, 1997. Proceedings., Third IEEE
Conference_Location :
Montreal, Que.
Print_ISBN :
0-8186-8016-4
DOI :
10.1109/RTTAS.1997.601358