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
相关论文
共 50 条
  • [1] Combining Prefetch with Instruction Cache Locking in Multitasking Real-Time Systems
    Aparicio, Luis C.
    Segarra, Juan
    Rodriguez, Clemente
    Vinals, Victor
    16TH IEEE INTERNATIONAL CONFERENCE ON EMBEDDED AND REAL-TIME COMPUTING SYSTEMS AND APPLICATIONS (RTCSA 2010), 2010, : 319 - 328
  • [2] Integrated Instruction Cache Analysis and Locking in Multitasking Real-time Systems
    Ding, Huping
    Liang, Yun
    Mitra, Tulika
    2013 50TH ACM / EDAC / IEEE DESIGN AUTOMATION CONFERENCE (DAC), 2013,
  • [3] Minimizing WCET for Real-Time Embedded Systems via Static Instruction Cache Locking
    Liu, Tiantian
    Li, Minming
    Xue, Chun Jason
    15TH IEEE REAL-TIME AND EMBEDDED TECHNOLOGY AND APPLICATION SYMPOSIUM: RTAS 2009, PROCEEDINGS, 2009, : 35 - 44
  • [4] Combining Instruction Prefetching with Partial Cache Locking to Improve WCET in Real-Time Systems
    Ni, Fan
    Long, Xiang
    Wan, Han
    Gao, Xiaopeng
    PLOS ONE, 2013, 8 (12):
  • [5] Reducing the WCET and analysis time of systems with simple lockable instruction caches
    Pedro-Zapater, Alba
    Segarra, Juan
    Gran Tejero, Ruben
    Vinals, Victor
    Rodriguez, Clemente
    PLOS ONE, 2020, 15 (03):
  • [6] A small and effective data cache for real-time multitasking systems
    Segarra, Juan
    Rodrigues, Clemente
    Gran, Ruben
    Aparicio, Luis C.
    Vinals, Victor
    2012 IEEE 18TH REAL-TIME AND EMBEDDED TECHNOLOGY AND APPLICATIONS SYMPOSIUM (RTAS), 2012, : 45 - 54
  • [7] Hybrid instruction cache partitioning for preemptive real-time systems
    BusquetsMataix, JV
    Serrano, JJ
    Wellings, A
    NINTH EUROMICRO WORKSHOP ON REAL TIME SYSTEMS, PROCEEDINGS, 1997, : 56 - 63
  • [8] Optimizing a combined WCET-WCEC problem in instruction fetching for real-time systems
    Gran, R.
    Segarra, J.
    Rodriguez, C.
    Aparicio, L. C.
    Vinals, V.
    JOURNAL OF SYSTEMS ARCHITECTURE, 2013, 59 (09) : 667 - 678
  • [9] Distributed Timed Multitasking - A model of computation for hard real-time distributed systems
    Angelov, Christo
    Berthing, Jesper
    FROM MODEL-DRIVEN DESIGN TO RESOURCE MANAGEMENT FOR DISTRIBUTED EMBEDDED SYSTEMS, 2006, 225 : 145 - +
  • [10] WCET-centric software-controlled instruction caches for hard real-time systems
    Puaut, Isabelle
    18TH EUROMICRO CONFERENCE ON REAL-TIME SYSTEMS, PROCEEDINGS, 2006, : 217 - +