On the effectiveness of cache partitioning in hard real-time systems

被引:18
|
作者
Altmeyer, Sebastian [1 ]
Douma, Roeland [1 ]
Lunniss, Will [2 ]
Davis, Robert I. [3 ]
机构
[1] Univ Amsterdam, Amsterdam, Netherlands
[2] Univ York, York YO10 5DD, N Yorkshire, England
[3] Univ York, Real Time Syst Res Grp, York YO10 5DD, N Yorkshire, England
基金
英国工程与自然科学研究理事会;
关键词
Timing verification; Cache partitioning; WCET analysis; Real-time scheduling; PREEMPTION DELAY; ALGORITHMS; LOCKING;
D O I
10.1007/s11241-015-9246-8
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
In hard real-time systems, cache partitioning is often suggested as a means of increasing the predictability of caches in pre-emptively scheduled systems: when a task is assigned its own cache partition, inter-task cache eviction is avoided, and timing verification is reduced to the standard worst-case execution time analysis used in non-pre-emptive systems. The downside of cache partitioning is the potential increase in execution times. In this paper, we evaluate cache partitioning for hard real-time systems in terms of overall schedulability. To this end, we examine the sensitivity of (i) task execution times and (ii) pre-emption costs to the size of the cache partition allocated and present a cache partitioning algorithm that is optimal with respect to taskset schedulability. We also devise an alternative algorithm which primarily optimises schedulability but also minimises processor utilization. We evaluate the performance of cache partitioning compared to state-of-the-art pre-emption cost analysis based on benchmark code and on a large number of synthetic tasksets with both fixed priority and EDF scheduling. This allows us to derive general conclusions about the usability of cache partitioning and identify taskset and system parameters that influence the relative effectiveness of cache partitioning. We also examine the improvement in processor utilization obtained using an alternative cache partitioning algorithm, and the tradeoff in terms of increased analysis time.
引用
收藏
页码:598 / 643
页数:46
相关论文
共 50 条
  • [1] 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
  • [2] 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 - +
  • [3] Integration of Cache Partitioning and Preemption Threshold Scheduling to Improve Schedulability of Hard Real-Time Systems
    Wang, Chao
    Gu, Zonghua
    Zeng, Haibo
    PROCEEDINGS OF THE 2015 27TH EUROMICRO CONFERENCE ON REAL-TIME SYSTEMS (ECRTS 2015), 2015, : 69 - 79
  • [4] 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
  • [5] Cache-Aware Task Partitioning for Multicore Real-Time Systems
    Starke, Renan Augusto
    de Oliveira, Romulo Silva
    2013 III BRAZILIAN SYMPOSIUM ON COMPUTING SYSTEMS ENGINEERING (SBESC 2013), 2013, : 89 - 94
  • [6] Flexible Cache Partitioning for Multi-Mode Real-Time Systems
    Kwon, Ohchul
    Schwaericke, Gero
    Kloda, Tomasz
    Hoornaert, Denis
    Gracioli, Giovani
    Caccamo, Marco
    PROCEEDINGS OF THE 2021 DESIGN, AUTOMATION & TEST IN EUROPE CONFERENCE & EXHIBITION (DATE 2021), 2021, : 1156 - 1161
  • [7] 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
  • [8] A DYNAMIC-PROGRAMMING ALGORITHM FOR CACHE MEMORY PARTITIONING FOR REAL-TIME SYSTEMS
    SASINOWSKI, JE
    STROSNIDER, JK
    IEEE TRANSACTIONS ON COMPUTERS, 1993, 42 (08) : 997 - 1001
  • [9] On Cache-Aware Task Partitioning for Multicore Embedded Real-Time Systems
    Lindsay, Aaron
    Ravindran, Binoy
    2014 IEEE INTERNATIONAL CONFERENCE ON HIGH PERFORMANCE COMPUTING AND COMMUNICATIONS, 2014 IEEE 6TH INTL SYMP ON CYBERSPACE SAFETY AND SECURITY, 2014 IEEE 11TH INTL CONF ON EMBEDDED SOFTWARE AND SYST (HPCC,CSS,ICESS), 2014, : 677 - 684
  • [10] Task partitioning and priority assignment for distributed hard real-time systems
    Garibay-Martinez, Ricardo
    Nelissen, Geoffrey
    Ferreira, Luis Lino
    Pinho, Luis Miguel
    JOURNAL OF COMPUTER AND SYSTEM SCIENCES, 2015, 81 (08) : 1542 - 1555