Minimizing Cache Overhead via Loaded Cache Blocks and Preemption Placement

John Cavicchio, Corey Tessler, N. Fisher
{"title":"Minimizing Cache Overhead via Loaded Cache Blocks and Preemption Placement","authors":"John Cavicchio, Corey Tessler, N. Fisher","doi":"10.1109/ECRTS.2015.22","DOIUrl":null,"url":null,"abstract":"Schedulability analysis for real-time systems has been the subject of prominent research over the past several decades. One of the key foundations of schedulability analysis is an accurate worst case execution time (WCET) measurement for each task. In real-time systems that support preemption, the cache related preemption delay (CRPD) can represent a significant component (up to 44% as documented in research literature) [1] -- [3] of variability to overall task WCET. Several methods have been employed to calculate CRPD with significant levels of pessimism that may result in a task set erroneously declared as non-schedulable. Furthermore, they do not take into account that CRPD cost is inherently a function of where preemptions actually occur. Our approach for computing CRPD via loaded cache blocks (LCBs) is more accurate in the sense that cache state reflects which cache blocks and the specific program locations where they are reloaded. Limited preemption models attempt to minimize preemption overhead (CRPD) by reducing the number of allowed preemptions and/or allowing preemption at program locations where the CRPD effect is minimized. These algorithms rely heavily on accurate CRPD measurements or estimation models in order to identify an optimal set of preemption points. Our approach improves the effectiveness of limited optimal preemption point placement algorithms by calculating the LCBs for each pair of adjacent preemptions to more accurately model task WCET and maximize schedulability as compared to existing preemption point placement approaches. We propose an optimal preemption point placement algorithm using dynamic programming. Lastly, we will demonstrate, using a case study, improved task set schedulability and optimal preemption point placement via our new LCB characterization.","PeriodicalId":243434,"journal":{"name":"2015 27th Euromicro Conference on Real-Time Systems","volume":"91 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2015-07-08","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"15","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2015 27th Euromicro Conference on Real-Time Systems","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ECRTS.2015.22","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 15

Abstract

Schedulability analysis for real-time systems has been the subject of prominent research over the past several decades. One of the key foundations of schedulability analysis is an accurate worst case execution time (WCET) measurement for each task. In real-time systems that support preemption, the cache related preemption delay (CRPD) can represent a significant component (up to 44% as documented in research literature) [1] -- [3] of variability to overall task WCET. Several methods have been employed to calculate CRPD with significant levels of pessimism that may result in a task set erroneously declared as non-schedulable. Furthermore, they do not take into account that CRPD cost is inherently a function of where preemptions actually occur. Our approach for computing CRPD via loaded cache blocks (LCBs) is more accurate in the sense that cache state reflects which cache blocks and the specific program locations where they are reloaded. Limited preemption models attempt to minimize preemption overhead (CRPD) by reducing the number of allowed preemptions and/or allowing preemption at program locations where the CRPD effect is minimized. These algorithms rely heavily on accurate CRPD measurements or estimation models in order to identify an optimal set of preemption points. Our approach improves the effectiveness of limited optimal preemption point placement algorithms by calculating the LCBs for each pair of adjacent preemptions to more accurately model task WCET and maximize schedulability as compared to existing preemption point placement approaches. We propose an optimal preemption point placement algorithm using dynamic programming. Lastly, we will demonstrate, using a case study, improved task set schedulability and optimal preemption point placement via our new LCB characterization.
通过加载缓存块和抢占放置最小化缓存开销
在过去的几十年里,实时系统的可调度性分析一直是重要的研究课题。可调度性分析的关键基础之一是对每个任务进行准确的最坏情况执行时间(WCET)度量。在支持抢占的实时系统中,缓存相关抢占延迟(CRPD)可以代表整个任务WCET可变性的一个重要组成部分(研究文献中记录的高达44%)[1]-[3]。已经使用了几种方法来计算具有显著悲观程度的CRPD,这可能导致错误地将任务集声明为不可调度。此外,它们没有考虑到CRPD成本本质上是抢占实际发生地点的函数。我们通过加载缓存块(lcb)计算CRPD的方法更准确,因为缓存状态反映了哪些缓存块以及它们被重新加载的特定程序位置。有限抢占模型试图通过减少允许的抢占的数量和/或允许在CRPD效果最小的程序位置进行抢占来最小化抢占开销(CRPD)。这些算法在很大程度上依赖于精确的CRPD测量或估计模型,以确定一组最佳的抢占点。与现有的抢占点放置方法相比,我们的方法通过计算每对相邻抢占的lcb来提高有限最优抢占点放置算法的有效性,从而更准确地建模任务WCET并最大化可调度性。提出了一种基于动态规划的最优抢占点布局算法。最后,我们将通过一个案例研究,通过我们新的LCB表征来演示改进的任务集可调度性和最佳抢占点放置。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信