...
【24h】

Cache-Related Preemption Delay Analysis for FIFO Caches

机译:FIFO缓存的与缓存相关的抢占延迟分析

获取原文
获取原文并翻译 | 示例
           

摘要

Hard real-time systems are typically composed of multiple tasks, subjected to timing constraints. To guarantee that these constraints will be respected, the Worst-Case Response Time (WCRT) of each task is needed. In the presence of systems supporting preemptible tasks, we need to take into account the time lost due to task preemption. A major part of this delay is the Cache-Related Preemption Delay (CRPD), which represents the penalties due to cache block evictions by preempting tasks. Previous works on CRPD have focused on caches with Least Recently used (LRU) replacement policy. However, for many real-world processors such as ARM9 or ARM11, the use of First-in-first-out (FIFO) cache replacement policy is common. In this paper, we propose an approach to compute CRPD in the presence of instruction caches with FIFO replacement policy. We use the result of a FIFO instruction cache categorization analysis to account for single-task cache misses, and we model as an Integer Linear Programming (ILP) system the additional preemption-related cache misses. We study the effect of cache related timing anomalies, our work is the first to deal with the effect of timing anomalies in CRPD computation. We also present a WCRT computation method that takes advantage of the fact that our computed CRPD does not increase linearly with respect to the preemption count. We evaluated our method by computing the CRPD with realistic benchmarks (e.g. drone control application, robot controller application), under various cache configuration parameters. The experimentation shows that our method is able to compute tight CRPD bound for benchmark tasks.
机译:硬实时系统通常由多个任务组成,受时序约束。为了保证将遵守这些约束,需要每个任务的最坏情况响应时间(WCRT)。在系统支持抢占式任务的情况下,我们需要考虑由于抢占任务而浪费的时间。此延迟的主要部分是与缓存相关的抢占延迟(CRPD),它表示由于抢占任务而将缓存块逐出而造成的惩罚。关于CRPD的先前工作主要集中在具有最近最少使用(LRU)替换策略的缓存上。但是,对于许多现实世界的处理器(例如ARM9或ARM11),通常使用先进先出(FIFO)缓存替换策略。在本文中,我们提出了一种在存在具有FIFO替换策略的指令缓存的情况下计算CRPD的方法。我们使用FIFO指令高速缓存分类分析的结果来解决单任务高速缓存未命中的问题,并将额外的与抢占相关的高速缓存未命中建模为整数线性编程(ILP)系统。我们研究了与缓存有关的时序异常的影响,我们的工作是第一个在CRPD计算中处理时序异常的影响的工作。我们还提出了一种WCRT计算方法,该方法利用了这样一个事实,即我们计算出的CRPD不会相对于抢占计数线性增加。我们通过在各种缓存配置参数下使用实际基准(例如无人机控制应用程序,机器人控制器应用程序)计算CRPD来评估我们的方法。实验表明,我们的方法能够计算出基准任务的严格CRPD范围。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号