Improving the WCET computation in the presence of a lockable instruction cache in multitasking real-time systems

被引:21
作者
Aparicio, Luis C. [1 ]
Segarra, Juan [1 ,3 ]
Rodriguez, Clemente [2 ]
Vinals, Victor [1 ,3 ]
机构
[1] Univ Zaragoza, DIIS, Zaragoza 50018, Spain
[2] Univ Basque Country, DATC, San Sebastian 20018, Spain
[3] Inst Invest Ingn Aragon I3A, Zaragoza 50018, Spain
关键词
WCET; Instruction cache-locking; Line-buffer; TIMING ANALYSIS; PREDICTION; PATH;
D O I
10.1016/j.sysarc.2010.08.008
中图分类号
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 very complex with variable latency hardware, such as instruction cache memories, or, to a lesser extent, the line buffers usually found in the fetch path of commercial processors. Some methods disable cache replacement so that it is easier to model the cache behavior. The difficulty in these cache-locking methods lies in obtaining a good selection of the memory lines to be locked into cache. In this paper, we propose an ILP-based method to select the best lines to be loaded and locked into the instruction cache at each context switch (dynamic locking), taking into account both intra-task and inter-task interferences, and we compare it with static locking. Our results show that, without cache, the spatial locality captured by a line buffer doubles the performance of the processor. When adding a lockable instruction cache, dynamic locking systems are schedulable with a cache size between 12.5% and 50% of the cache size required by static locking. Additionally, the computation time of our analysis method is not dependent on the number of possible paths in the task. This allows its to analyze large codes in a relatively short time (100 KB with 10(65) paths in less than 3 min). (C) 2010 Elsevier B.V. All rights reserved.
引用
收藏
页码:695 / 706
页数:12
相关论文
共 38 条
  • [1] [Anonymous], MICROPROCESSOR REPOR
  • [2] [Anonymous], P 27 IFAC IFIP IEEE
  • [3] Aparicio L. C., 2008, IEEE INT C EMB REAL
  • [4] APARICIO LC, 2009, RR0901 U ZAR
  • [5] Arnaud A, 2006, P 14 INT C REAL TIM
  • [6] ARNOLD R, 1994, REAL TIM SYST SYMP P, P172, DOI 10.1109/REAL.1994.342718
  • [7] BUSQUETS JV, 1996, P RTAS96
  • [8] CAMPOY AM, EUR C REAL TIM SYST
  • [9] CAMPOY AM, 2001, P IEEE IEE REAL TIM
  • [10] CAMPOY AM, 2001, IEEE REAL TIM EMB SY