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

被引:17
|
作者
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 条
  • [31] Low-complexity algorithms for static cache locking in multitasking hard real-time systems
    Puaut, I
    Decotigny, D
    23RD IEEE REAL-TIME SYSTEMS SYMPOSIUM, PROCEEDINGS, 2002, : 114 - 123
  • [32] CITTA: Cache Interference-aware Task Partitioning for Real-time Multi-core Systems
    Xiao, Jun
    Pimentel, Andy D.
    21ST ACM SIGPLAN/SIGBED CONFERENCE ON LANGUAGES, COMPILERS, AND TOOLS FOR EMBEDDED SYSTEMS (LCTES '20), 2020, : 97 - 107
  • [33] 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
  • [34] 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
  • [35] Cache Design for Mixed Criticality Real-Time Systems
    Kumar, N. G. Chetan
    Vyas, Sudhanshu
    Cytron, Ron K.
    Gill, Christopher D.
    Zambreno, Joseph
    Jones, Phillip H.
    2014 32ND IEEE INTERNATIONAL CONFERENCE ON COMPUTER DESIGN (ICCD), 2014, : 513 - 516
  • [36] Dynamic Cache Reconfiguration for Soft Real-Time Systems
    Wang, Weixun
    Mishra, Prabhat
    Gordon-Ross, Ann
    ACM TRANSACTIONS ON EMBEDDED COMPUTING SYSTEMS, 2012, 11 (02)
  • [37] A data centered approach for cache partitioning in embedded real-time database system
    Hu, Wei
    Chen, Tianzhou
    Shi, Qingsong
    Jiang, Ning
    WSEAS Transactions on Computers, 2008, 7 (03): : 140 - 146
  • [38] Middleware for implementing hard real-time systems
    Anon
    Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics), 2005, 3436 LNCS : 85 - 91
  • [39] Hard real-time systems modeling and simulation
    de Miguel, MA
    Dueñas, JC
    MODELLING AND SIMULATION 1996, 1996, : 108 - 112
  • [40] Communication protocols for hard real-time systems
    Pang, Liping
    Tian, Yamin
    Li, Shengli
    Han, Zongfen
    Xiaoxing Weixing Jisuanji Xitong/Mini-Micro Systems, 2000, 21 (04): : 393 - 396