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 条
  • [21] Improving real-time of Jailhouse on embedded systems via bank and cache partitioning
    Yang, Hubin
    Yang, Liu
    Li, Fengyun
    Chen, Yucong
    Zhou, Rui
    Zhou, Qingguo
    INTERNATIONAL JOURNAL OF EMBEDDED SYSTEMS, 2023, 16 (02) : 126 - 133
  • [22] Precise WCET Calculation in highly variant Real-Time Systems
    Montag, Pascal
    Altmeyer, Sebastian
    2011 DESIGN, AUTOMATION & TEST IN EUROPE (DATE), 2011, : 920 - 925
  • [23] Explicit Reservation of Cache Memory in a Predictable, Preemptive Multitasking Real-Time System
    Whitham, Jack
    Audsley, Neil C.
    Davis, Robert I.
    ACM TRANSACTIONS ON EMBEDDED COMPUTING SYSTEMS, 2014, 13
  • [24] Time-predictable task preemption for real-time systems with direct-mapped instruction cache
    Kirner, Raimund
    Puschner, Peter
    10TH IEEE INTERNATIONAL SYMPOSIUM ON OBJECT AND COMPONENT-ORIENTED REAL-TIME DISTRIBUTED COMPUTING, PROCEEDINGS, 2007, : 87 - +
  • [25] Data caches in multitasking hard real-time systems
    Vera, X
    Lisper, B
    Xue, JL
    RTSS 2003: 24TH IEEE INTERNATIONAL REAL-TIME SYSTEMS SYMPOSIUM, PROCEEDINGS, 2003, : 154 - 165
  • [26] Power Consumption Prediction in Real-Time Multitasking Systems
    Antolak, Ernest
    Pulka, Andrzej
    ELECTRONICS, 2024, 13 (07)
  • [27] Experimental Analysis of Real-Time Multitasking on Multicore Systems
    Albassam, Emad
    Gomaa, Hassan
    Pettit, Robert G.
    2014 IEEE 17TH INTERNATIONAL SYMPOSIUM ON OBJECT/COMPONENT/SERVICE-ORIENTED REAL-TIME DISTRIBUTED COMPUTING (ISORC), 2014, : 72 - 75
  • [28] The use of cache memory in real-time systems
    Milligan, MKJ
    Cragon, HG
    CONTROL ENGINEERING PRACTICE, 1996, 4 (10) : 1435 - 1442
  • [29] Symbolic cache analysis for real-time systems
    Blieberger, J
    Fahringer, T
    Scholz, B
    REAL-TIME SYSTEMS, 2000, 18 (2-3) : 181 - 215
  • [30] Symbolic cache analysis for real-time systems
    Blieberger, Johann
    Fahringer, Thomas
    Scholz, Bernhard
    Real-Time Systems, 2000, 18 (02) : 181 - 215