Timing predictability of cache replacement policies

被引:95
作者
Reineke, Jan [1 ]
Grund, Daniel [1 ]
Berg, Christoph [1 ]
Wilhelm, Reinhard [1 ]
机构
[1] Univ Saarland, Saarbrucken, Germany
关键词
predictability; timing analysis; cache analysis; cache replacement policies; hard real-time systems;
D O I
10.1007/s11241-007-9032-3
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Hard real-time systems must obey strict timing constraints. Therefore, one needs to derive guarantees on the worst-case execution times of a system's tasks. In this context, predictable behavior of system components is crucial for the derivation of tight and thus useful bounds. This paper presents results about the predictability of common cache replacement policies. To this end, we introduce three metrics, evict, fill, and mls that capture aspects of cache-state predictability. A thorough analysis of the LRU, FIFO, MRU, and PLRU policies yields the respective values under these metrics. To the best of our knowledge, this work presents the first quantitative, analytical results for the predictability of replacement policies. Our results support empirical evidence in static cache analysis.
引用
收藏
页码:99 / 122
页数:24
相关论文
共 10 条
[1]  
ALZOUBI H, 2004, ACM SE 42, P267
[2]   A STUDY OF REPLACEMENT ALGORITHMS FOR A VIRTUAL-STORAGE COMPUTER [J].
BELADY, LA .
IBM SYSTEMS JOURNAL, 1966, 5 (02) :78-&
[3]   Efficient and precise cache behavior prediction for real-time systems [J].
Ferdinand, C ;
Wilhelm, R .
REAL-TIME SYSTEMS, 1999, 17 (2-3) :131-181
[4]  
*FREESC SEM INC, 2002, MPC750 RISC
[5]   The influence of processor architecture on the design and the results of WCET tools [J].
Heckmann, R ;
Langenbach, M ;
Thesing, S ;
Wilhelm, R .
PROCEEDINGS OF THE IEEE, 2003, 91 (07) :1038-1054
[6]  
LANGENBACH M, 2002, P STAT AN S SAS MADR, V2477
[7]  
Malamy A., 1994, United States Patent, Patent No. 5029072
[8]   AMORTIZED EFFICIENCY OF LIST UPDATE AND PAGING RULES [J].
SLEATOR, DD ;
TARJAN, RE .
COMMUNICATIONS OF THE ACM, 1985, 28 (02) :202-208
[9]  
THESING S, 2004, THESIS SAARL U
[10]   Design for timing predictability [J].
Thiele, L ;
Wilhelm, R .
REAL-TIME SYSTEMS, 2004, 28 (2-3) :157-177