Timing Analysis for Data Caches and Set-Associative Caches

  • Authors:
  • Randall T. White;Christopher A. Healy;David B. Whalley;Frank Mueller;Marion G. Harmon

  • Affiliations:
  • -;-;-;-;-

  • Venue:
  • RTAS '97 Proceedings of the 3rd IEEE Real-Time Technology and Applications Symposium (RTAS '97)
  • Year:
  • 1997

Quantified Score

Hi-index 0.01

Visualization

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 increasingassociativity.