首页> 外文会议>Real-Time Systems, 2005. (ECRTS 2005). Proceedings. 17th Euromicro Conference on >Cache contents selection for statically-locked instruction caches: an algorithm comparison
【24h】

Cache contents selection for statically-locked instruction caches: an algorithm comparison

机译:静态锁定指令高速缓存的高速缓存内容选择:算法比较

获取原文

摘要

Cache memories have been extensively used to bridge the gap between high speed processors and relatively slower main memories. However, they are sources of predictability problems because of their dynamic and adaptive behavior, and thus need special attention to be used in hard real-time systems. A lot of progress has been achieved in the last ten years to statically predict worst-case execution times (WCETs) of tasks on architectures with caches. However, cache-aware WCET analysis techniques are not always applicable or may be too pessimistic. An alternative approach allowing to use caches in real-time systems is to lock their contents (i.e. disable cache replacement) such that memory access times and cache-related preemption times are predictable. In this paper, we compare the performance of two algorithms for static locking of instruction caches: one using a genetic algorithm for cache contents selection (A.M. Campoy et al., 2001) and a pragmatical algorithm, called her-after reference-based algorithm (I. Puaut and D. Decotigny), which uses the string of memory references issued by a task on its worst-case execution path as an input of the cache contents selection algorithm. Experimental results show that (i) both algorithms behave identically with respect to the system worst-case utilization; (ii) the genetic algorithm behaves slightly better than the reference-based algorithm with respect to the average slack of tasks; (iii) the execution time of the cache-contents selection procedure is much better when using the reference-based algorithm than with the genetic algorithm.
机译:高速缓冲存储器已被广泛用于弥合高速处理器和相对较慢的主存储器之间的差距。但是,由于它们的动态和自适应行为,它们是可预测性问题的来源,因此需要特别注意才能在硬实时系统中使用。在过去的十年中,在静态地预测具有缓存的体系结构上的任务的最坏情况执行时间(WCET)方面已经取得了很多进展。但是,缓存感知的WCET分析技术并不总是适用,或者可能过于悲观。允许在实时系统中使用高速缓存的另一种方法是锁定其内容(即禁用高速缓存替换),以便可以预测内存访问时间和与高速缓存相关的抢占时间。在本文中,我们比较了两种用于静态锁定指令高速缓存的算法的性能:一种是使用遗传算法选择高速缓存内容(AM Campoy等人,2001),另一种是实用的算法,称为基于先验参考的算法( I. Puaut和D. Decotigny),它使用任务在最坏执行路径上发出的内存引用字符串作为缓存内容选择算法的输入。实验结果表明:(i)两种算法在系统最坏情况的利用方面表现相同; (ii)就平均任务松弛度而言,遗传算法的行为略好于基于参考的算法; (iii)使用基于参考的算法时,与使用遗传算法相比,缓存内容选择过程的执行时间要好得多。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号