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
相关论文
共 46 条
  • [1] Altmeyer S., 2011, Proceedings of the 2011 IEEE 32nd Real-Time Systems Symposium (RTSS 2011), P261, DOI 10.1109/RTSS.2011.31
  • [2] Evaluation of Cache Partitioning for Hard Real-Time Systems
    Altmeyer, Sebastian
    Douma, Roeland
    Lunniss, Will
    Davis, Robert i.
    [J]. 2014 26TH EUROMICRO CONFERENCE ON REAL-TIME SYSTEMS (ECRTS 2014), 2014, : 15 - +
  • [3] Improved cache related pre-emption delay aware response time analysis for fixed priority pre-emptive systems
    Altmeyer, Sebastian
    Davis, Robert I.
    Maiza, Claire
    [J]. REAL-TIME SYSTEMS, 2012, 48 (05) : 499 - 526
  • [4] Altmeyer S, 2010, LCTES 10-PROCEEDINGS OF THE ACM SIGPLAN/SIGBED 2010 CONFERENCE ON LANGUAGES, COMPILERS, & TOOLS FOR EMBEDDED SYSTEMS, P153
  • [5] A new Notion of Useful Cache Block to Improve the Bounds of Cache-Related Preemption Delay
    Altmeyer, Sebastian
    Burguiere, Claire
    [J]. PROCEEDINGS OF THE 21ST EUROMICRO CONFERENCE ON REAL-TIME SYSTEMS, 2009, : 109 - 118
  • [6] APPLYING NEW SCHEDULING THEORY TO STATIC PRIORITY PREEMPTIVE SCHEDULING
    AUDSLEY, N
    BURNS, A
    RICHARDSON, M
    TINDELL, K
    WELLINGS, AJ
    [J]. SOFTWARE ENGINEERING JOURNAL, 1993, 8 (05): : 284 - 292
  • [7] Sustainable scheduling analysis
    Baruah, Sanjoy
    Burns, Alan
    [J]. 27TH IEEE INTERNATIONAL REAL-TIME SYSTEMS SYMPOSIUM, PROCEEDINGS, 2006, : 159 - +
  • [8] BARUAH SK, 1990, PROCEEDINGS : 11TH REAL-TIME SYSTEMS SYMPOSIUM, P182, DOI 10.1109/REAL.1990.128746
  • [9] Bastoni Andrea., 2010, P 6 INT WORKSHOP OPE, P33
  • [10] Measuring the performance of schedulability tests
    Bini, E
    Buttazzo, GC
    [J]. REAL-TIME SYSTEMS, 2005, 30 (1-2) : 129 - 153