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 条
  • [31] Symbolic Cache Analysis for Real-Time Systems
    Johann Blieberger
    Thomas Fahringer
    Bernhard Scholz
    Real-Time Systems, 2000, 18 : 181 - 215
  • [32] Minimizing Cache Usage for Real-time Systems
    Sun, Binqi
    Kloda, Tomasz
    Garcia, Sergio Arribas
    Gracioli, Giovani
    Caccamo, Marco
    PROCEEDINGS OF 31ST INTERNATIONAL CONFERENCE ON REAL-TIME NETWORKS AND SYSTEMS, RTNS 2023, 2023, : 200 - 211
  • [33] Instruction cache in hard real-time systems: modeling and integration in scheduling analysis tools with AADL
    Tran, Hai Nam
    Singhoff, Frank
    Rubini, Stephane
    Boukhobza, Jalil
    2014 12TH IEEE INTERNATIONAL CONFERENCE ON EMBEDDED AND UBIQUITOUS COMPUTING (EUC 2014), 2014, : 104 - 111
  • [34] Combining watchdog processor with instruction cache locking for a fault-tolerant, predictable architecture applied to fixed-priority, preemptive, multitasking real-time systems
    Marti-Campoy, Antonio
    Rodriguez-Ballester, Francisco
    2019 24TH IEEE INTERNATIONAL CONFERENCE ON EMERGING TECHNOLOGIES AND FACTORY AUTOMATION (ETFA), 2019, : 259 - 265
  • [35] Trace acquirement from real-time systems based on WCET analysis
    Ji, ML
    Wang, X
    Qi, ZC
    EMBEDDED SOFTWARE AND SYSTEMS, PROCEEDINGS, 2005, 3820 : 160 - 171
  • [36] Hardware Support for WCET Analysis of Hard Real-Time Multicore Systems
    Paolieri, Marco
    Quinones, Eduardo
    Cazorla, Francisco J.
    Bernat, Guillem
    Valero, Mateo
    ISCA 2009: 36TH ANNUAL INTERNATIONAL SYMPOSIUM ON COMPUTER ARCHITECTURE, 2009, : 57 - 68
  • [37] Trace acquirement technology of real-time systems based on WCET analysis
    Wang, Xin
    Ji, Meng-Luo
    Wang, Ji
    Qi, Zhi-Chang
    Ruan Jian Xue Bao/Journal of Software, 2006, 17 (05): : 1232 - 1240
  • [38] Instruction cache optimization on H.264 real-time encoding
    Song, Li-Feng
    Dai, Qing-Yun
    Tien Tzu Hsueh Pao/Acta Electronica Sinica, 2008, 36 (08): : 1615 - 1619
  • [39] A Real-Time Instruction Cache With High Average-Case Performance
    Huangfu, Yijie
    Zhang, Wei
    2014 IEEE 17TH INTERNATIONAL SYMPOSIUM ON OBJECT/COMPONENT/SERVICE-ORIENTED REAL-TIME DISTRIBUTED COMPUTING (ISORC), 2014, : 109 - 116
  • [40] High-Level Synthesis for Reduction of WCET in Real-Time Systems
    Kristensen, Andreas Toftegaard
    Pezzarossa, Luca
    Sparso, Jens
    2017 IEEE NORDIC CIRCUITS AND SYSTEMS CONFERENCE (NORCAS): NORCHIP AND INTERNATIONAL SYMPOSIUM OF SYSTEM-ON-CHIP (SOC), 2017,