首页> 外文会议>Real Time and Embedded Technology and Applications Symposium, 2005. RTAS 2005. 11th IEEE >Bounding worst-case data cache behavior by analytically deriving cache reference patterns
【24h】

Bounding worst-case data cache behavior by analytically deriving cache reference patterns

机译:通过解析推导缓存参考模式来约束最坏情况的数据缓存行为

获取原文

摘要

While caches have become invaluable for higher-end architectures due to their ability to hide, in part, the gap between processor speed and memory access times, caches (and particularly data caches) limit the timing predictability for data accesses that may reside in memory or in cache. This is a significant problem for real-time systems. The objective our work is to provide accurate predictions of data cache behavior of scalar and nonscalar references whose reference patterns are known at compile time. Such knowledge about cache behavior provides the basis for significant improvements in bounding the worst-case execution time (WCET) of real-time programs, particularly for hard-to-analyze data caches. We exploit the power of the cache miss equations (CME) framework but lift a number of limitations of traditional CME to generalize the analysis to more arbitrary programs. We further devised a transformation, coined "forced" loop fusion, which facilitates the analysis across sequential loops. Our contributions result in exact data cache reference patterns minus; in contrast to approximate cache miss behavior of prior work. Experimental results indicate improvements on the accuracy of worst-case data cache behavior up to two orders of magnitude over the original approach. In fact, our results closely bound and sometimes even exactly match those obtained by trace-driven simulation for worst-case inputs. The resulting WCET bounds of timing analysis confirm these findings in terms of providing tight bounds. Overall, our contributions lift analytical approaches to predict data cache behavior to a level suitable for efficient static timing analysis and, subsequently, real-time schedulability of tasks with predictable WCET.
机译:尽管高速缓存由于能够部分隐藏处理器速度和内存访问时间之间的差距而成为高端架构的无价之宝,但高速缓存(尤其是数据高速缓存)限制了驻留在内存或内存中的数据访问的时间可预测性在缓存中。对于实时系统来说,这是一个重要的问题。我们工作的目的是提供对标量和非标量引用的数据缓存行为的准确预测,这些标量和非标量引用的引用模式在编译时就已知道。有关高速缓存行为的此类知识为限制实时程序的最坏情况执行时间(WCET)提供了显着改进的基础,尤其是对于难以分析的数据高速缓存。我们利用了高速缓存未命中方程(CME)框架的功能,但克服了传统CME的许多限制,可以将分析推广到更多任意程序。我们进一步设计了一种转换,称为“强制”循环融合,它可以促进跨顺序循环的分析。我们的贡献导致精确的数据缓存参考模式减为零;与先前工作的近似缓存未命中行为相反。实验结果表明,与原始方法相比,最坏情况下的数据缓存行为的准确性提高了两个数量级。实际上,对于最坏情况的输入,我们的结果紧密相关,有时甚至完全匹配通过跟踪驱动模拟获得的结果。时序分析的最终WCET界限在提供紧密界限方面证实了这些发现。总体而言,我们的贡献将分析方法的预测能力提高到了适合进行有效静态时序分析的水平,进而提高了具有可预测WCET的任务的实时可调度性。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号