Combining Prefetch with Instruction Cache Locking in Multitasking Real-Time Systems

被引:13
作者
Aparicio, Luis C. [1 ,2 ]
Segarra, Juan [1 ,2 ]
Rodriguez, Clemente [3 ]
Vinals, Victor [1 ,2 ]
机构
[1] Univ Zaragoza, Dpt Informat & Ingn Sistemas, Zaragoza, Spain
[2] Univ Zaragoza, Inst Invest Ingn Arag I3A, Network Excellence High Performance & Embedded Ar, Zaragoza, Spain
[3] Univ Basque Country, Dpt Arquitectura & Tecnol Comp, Leioa, Spain
来源
16TH IEEE INTERNATIONAL CONFERENCE ON EMBEDDED AND REAL-TIME COMPUTING SYSTEMS AND APPLICATIONS (RTCSA 2010) | 2010年
关键词
WCET; prefetch; instruction cache; TIMING ANALYSIS; PATH;
D O I
10.1109/RTCSA.2010.8
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
In multitasking real-time systems it is required to compute the WCET of each task and also the effects of interferences between tasks in the worst case. This is complex with variable latency hardware usually found in the fetch path of commercial processors. Some methods disable cache replacement so that it is easier to model the cache behavior. Lock-MS is an ILP based method to obtain the best selection of memory lines to be locked in a dynamic locking instruction cache. In this paper we first propose a simple memory architecture implementing the next-line tagged prefetch, specially designed for hard real-time systems. Then, we extend Lock-MS to add support for hardware instruction prefetch. Our results show that the WCET of a system with prefetch and an instruction cache with size 5% of the total code size is better than that of a system having no prefetch and cache size 80% of the code. We also evaluate the effects of the prefetch penalty on the resulting WCET, showing that a system without prefetch penalties has a worst-case performance 95% of the ideal case. This highlights the importance of a good prefetch design. Finally, the computation time of our analysis method is relatively short, analyzing tasks of 96 KB with 10(65) paths in less than 3 minutes.
引用
收藏
页码:319 / 328
页数:10
相关论文
共 26 条
[1]  
[Anonymous], ACM T EMBEDDED COMPU
[2]  
[Anonymous], MICROPROCESSOR REPOR
[3]  
Aparicio L. C., 2008, IEEE INT C EMB REAL
[4]  
APARICIO LC, 2009, RR0901 U ZAR
[5]  
BUSQUETS JV, 1996, P RTAS96
[6]  
CAMPOY AM, 2001, IEEE REAL TIM EMB SY
[7]  
Chvatal Vasek, 1983, Linear Programming
[8]   A performance study of instruction cache prefetching methods [J].
Hsu, WC ;
Smith, JE .
IEEE TRANSACTIONS ON COMPUTERS, 1998, 47 (05) :497-508
[9]  
Lee C., 2001, IEEE T SOFTWARE ENG, V27
[10]   Cache modeling for real-time software: Beyond direct mapped instruction caches [J].
Li, YTS ;
Malik, S ;
Wolfe, A .
17TH IEEE REAL-TIME SYSTEMS SYMPOSIUM, PROCEEDINGS, 1996, :254-263