Reducing the WCET and analysis time of systems with simple lockable instruction caches

被引:6
|
作者
Pedro-Zapater, Alba [1 ,3 ]
Segarra, Juan [1 ,3 ]
Gran Tejero, Ruben [1 ,3 ]
Vinals, Victor [1 ,3 ]
Rodriguez, Clemente [2 ,3 ]
机构
[1] Univ Zaragoza, Inst Invest Ingn Aragon I3A, Dept Informat & Ingn Sistemas, Zaragoza, Spain
[2] Univ Basque Country, Dept Arquitectura & Tecnol Comp, Pais Vasco, Spain
[3] HiPEAC, Zaragoza, Spain
来源
PLOS ONE | 2020年 / 15卷 / 03期
关键词
EFFICIENT;
D O I
10.1371/journal.pone.0229980
中图分类号
O [数理科学和化学]; P [天文学、地球科学]; Q [生物科学]; N [自然科学总论];
学科分类号
07 ; 0710 ; 09 ;
摘要
One of the key challenges in real-time systems is the analysis of the memory hierarchy. Many Worst-Case Execution Time (WCET) analysis methods supporting an instruction cache are based on iterative or convergence algorithms, which are rather slow. Our goal in this paper is to reduce the WCET analysis time on systems with a simple lockable instruction cache, focusing on the Lock-MS method. First, we propose an algorithm to obtain a structure-based representation of the Control Flow Graph (CFG). It organizes the whole WCET problem as nested subproblems, which takes advantage of common branch-and-bound algorithms of Integer Linear Programming (ILP) solvers. Second, we add support for multiple locking points per task, each one with specific cache contents, instead of a given locked content for the whole task execution. Locking points are set heuristically before outer loops. Such simple heuristics adds no complexity, and reduces the WCET by taking profit of the temporal reuse found in loops. Since loops can be processed as isolated regions, the optimal contents to lock into cache for each region can be obtained, and the WCET analysis time is further reduced. With these two improvements, our WCET analysis is around 10 times faster than other approaches. Also, our results show that the WCET is reduced, and the hit ratio achieved for the lockable instruction cache is similar to that of a real execution with an LRU instruction cache. Finally, we analyze the WCET sensitivity to compiler optimization, showing for each benchmark the right choices and pointing out that O0 is always the worst option.
引用
收藏
页数:21
相关论文
共 50 条
  • [31] A More Precise Abstract Domain for Multi-level Caches for Tighter WCET Analysis
    Sondag, Tyler
    Rajan, Hridesh
    31ST IEEE REAL-TIME SYSTEMS SYMPOSIUM (RTSS 2010), 2010, : 395 - 404
  • [32] Value analysis for the determination of memory instruction latency in a WCET tool
    Silva, Karila Palma
    Starke, Renan Augusto
    de Oliveira, Romulo Silva
    PROCEEDINGS 2015 IEEE INTERNATIONAL CONFERENCE ON INDUSTRIAL INFORMATICS (INDIN), 2015, : 252 - 257
  • [33] 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
  • [34] Multicore-aware code co-positioning to reduce WCET on dual-core processors with shared instruction caches
    Ding, Yiqiang
    Zhang, Wei
    Journal of Computing Science and Engineering, 2012, 6 (01) : 12 - 25
  • [35] Linked instruction caches for enhancing power efficiency of embedded systems
    Ku, Chang-Jung
    Chen, Ching-Wen
    Hsia, An
    Chen, Chun-Lin
    MICROPROCESSORS AND MICROSYSTEMS, 2014, 38 (03) : 197 - 207
  • [36] 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
  • [37] 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
  • [38] 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
  • [39] 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
  • [40] Timing analysis for preemptive multitasking real-time systems with caches
    Tan, Yudong
    Mooney, Vincent
    ACM TRANSACTIONS ON EMBEDDED COMPUTING SYSTEMS, 2007, 6 (01) : 7