Cache modeling for real-time software: beyond direct mapped instruction caches

  • Authors:
  • Y.-T. S. Li;S. Malik;A. Wolfe

  • Affiliations:
  • -;-;-

  • Venue:
  • RTSS '96 Proceedings of the 17th IEEE Real-Time Systems Symposium
  • Year:
  • 1996

Quantified Score

Hi-index 0.00

Visualization

Abstract

We present a method for determining a tight bound on the worst case execution time of a program when running on a given hardware system with cache memory. Caches are used to improve the average memory performance, however, their presence complicates the worst case timing analysis. Any pessimistic predictions on cache hits/misses will result in loose estimation. In our previous research in this area, we built an integer-linear-programming solution for this problem which included analysis of direct mapped instruction caches. In this paper we describe the complex extensions of this technique to deal with set associative instruction caches, data caches and unified caches. We believe that this research now provides a comprehensive solution to the problem of worst case performance analysis of software running on processors with caches. These techniques have been implemented in a design tool cinderella. Some experimental results are presented that demonstrate the practical applicability of this analysis.