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 条
  • [41] WCET Analysis in Shared Resources Real-Time Systems with TDMA Buses
    Rihani, Hamza
    Moy, Matthieu
    Maiza, Claire
    Altmeyer, Sebastian
    PROCEEDINGS OF THE 23RD INTERNATIONAL CONFERENCE ON REAL-TIME AND NETWORKS SYSTEMS (RTNS) 2015, 2015, : 183 - 192
  • [42] Timing analysis for preemptive multitasking real-time systems with caches
    Tan, Yudong
    Mooney, Vincent
    ACM TRANSACTIONS ON EMBEDDED COMPUTING SYSTEMS, 2007, 6 (01) : 7
  • [43] Multitasking real-time control systems in Easy Java Simulations
    Farias, Gonzalo
    Cervin, Anton
    Arzen, Karl-Erik
    Dormido, Sebastián
    Esquembre, Francisco
    IFAC Proceedings Volumes (IFAC-PapersOnline), 2008, 17 (1 PART 1):
  • [44] Using basic block based instruction prefetching to optimize WCET analysis for real-time applications
    Ni, Fan
    Long, Xiang
    Wan, Han
    Gao, Xiaopeng
    2012 13TH INTERNATIONAL CONFERENCE ON PARALLEL AND DISTRIBUTED COMPUTING, APPLICATIONS, AND TECHNOLOGIES (PDCAT 2012), 2012, : 459 - 466
  • [45] Improving Presence in Real-time Architectural Visualization
    Kim, Dubeom
    Chai, Young Ho
    COGENT ARTS & HUMANITIES, 2020, 7 (01):
  • [46] On the effectiveness of cache partitioning in hard real-time systems
    Altmeyer, Sebastian
    Douma, Roeland
    Lunniss, Will
    Davis, Robert I.
    REAL-TIME SYSTEMS, 2016, 52 (05) : 598 - 643
  • [47] A Cache Design for Probabilistically Analysable Real-time Systems
    Kosmidis, Leonidas
    Abella, Jaume
    Quinones, Eduardo
    Cazorla, Francisco J.
    DESIGN, AUTOMATION & TEST IN EUROPE, 2013, : 513 - 518
  • [48] Evaluation of Cache Partitioning for Hard Real-Time Systems
    Altmeyer, Sebastian
    Douma, Roeland
    Lunniss, Will
    Davis, Robert i.
    2014 26TH EUROMICRO CONFERENCE ON REAL-TIME SYSTEMS (ECRTS 2014), 2014, : 15 - +
  • [49] A Software Managed Stack Cache for Real-Time Systems
    Jordan, Alexander
    Abbaspour, Sahar
    Schoeberl, Martin
    PROCEEDINGS OF THE 24TH INTERNATIONAL CONFERENCE ON REAL-TIME NETWORKS AND SYSTEMS PROCEEDINGS (RTNS 2016), 2016, : 319 - 326
  • [50] On the effectiveness of cache partitioning in hard real-time systems
    Sebastian Altmeyer
    Roeland Douma
    Will Lunniss
    Robert I. Davis
    Real-Time Systems, 2016, 52 : 598 - 643