A Prioritized Cache for Multi- tasking Real-time Systems

In this paper, we present a new prioritized cache which can reduce the Worst Case Cache Miss Rate (WCCMR) of an application in a multi-tasking environment. The Worst Case Execution Ti me (WCET) can be estimated more precisely when the cache miss rate has a stable and low upper bound. An experiment in which a MPEG decoder and a Mobile Robot (MR) control program are executed alternatively shows that we can achieve a nearly constant cache miss rate with our method. The cache miss rate of the time critical application (MR) varies from 45% to 15% with a normal cache, while with a prioritized cache the cache miss rate is always less than 13%, a 3X reduction. With this lower WCCMR, we achieve a much tighter WCET estimate, 41% lower in fact, for MR in this

[1]  G. Edward Suh,et al.  Dynamic Cache Partitioning for Simultaneous Multithreading Systems , 2004 .

[2]  David May,et al.  Effective caching for multithreaded processors , 2000 .

[3]  D. B. Kirk,et al.  SMART (strategic memory allocation for real-time) cache design , 1989, [1989] Proceedings. Real-Time Systems Symposium.

[4]  David A. Patterson,et al.  Computer Architecture: A Quantitative Approach , 1969 .

[5]  David A. Patterson,et al.  Computer Architecture - A Quantitative Approach, 5th Edition , 1996 .

[6]  S. M. Shahrier,et al.  On predictability and optimization of multiprogrammed caches for real-time applications , 1997, 1997 IEEE International Performance, Computing and Communications Conference.

[7]  Jochen Liedtke,et al.  OS-controlled cache predictability for real-time systems , 1997, Proceedings Third IEEE Real-Time Technology and Applications Symposium.

[8]  N. Maki,et al.  A data-replace-controlled cache memory system and its performance evaluations , 1999, Proceedings of IEEE. IEEE Region 10 Conference. TENCON 99. 'Multimedia Technology for Asia-Pacific Information Infrastructure' (Cat. No.99CH37030).

[9]  Srinivas Devadas,et al.  Application-specific memory management for embedded systems using software-controlled caches , 2000, Proceedings 37th Design Automation Conference.

[10]  Srinivas Devadas,et al.  Software-assisted cache replacement mechanisms for embedded systems , 2001, IEEE/ACM International Conference on Computer Aided Design. ICCAD 2001. IEEE/ACM Digest of Technical Papers (Cat. No.01CH37281).

[11]  Hermann Härtig,et al.  Cache Influence on Worst Case Execution Time of Network Stacks , 2001 .

[12]  S. Dropsho Comparing caching techniques for multitasking real-time systems TITLE2: , 1997 .