首页> 外文会议> >Temporal-based procedure reordering for improved instruction cache performance
【24h】

Temporal-based procedure reordering for improved instruction cache performance

机译:基于时间的过程重新排序以提高指令缓存性能

获取原文

摘要

As the gap between memory and processor performance continues to grow, it becomes increasingly important to exploit cache memory effectively. Both hardware and software techniques can be used to better utilize the cache. Hardware solutions focus on organization, while most software solutions investigate how to best layout a program on the available memory space. We present a new link-time code reordering algorithm targeted at reducing the frequency of misses in the cache. In past work we focused on eliminating first generation cache conflicts (i.e., conflicts between a procedure, and any of its immediate callers or callees) based on calling frequencies. In this work we exploit procedure-level temporal interaction, using a structure called a conflict miss graph (CMG). In the CMG every edge weight is an approximation of the worst-case number of misses two competing procedures can inflict upon one another. We use the ordering implied by the edge weights to apply color-based mapping and eliminate conflict misses between procedures lying either in the same or in different call chains. Using programs taken from SPEC 95, Gnu applications, and C++ applications, we have been able to improve upon previous algorithms, reducing the number of instruction cache conflicts by 20% on average compared to the best procedure reordering algorithm.
机译:随着内存和处理器性能之间的差距不断扩大,有效利用缓存内存变得越来越重要。硬件和软件技术都可以用来更好地利用缓存。硬件解决方案侧重于组织,而大多数软件解决方案则研究如何在可用内存空间上最佳地布局程序。我们提出了一种新的链接时代码重排序算法,旨在减少缓存中未命中的频率。在过去的工作中,我们专注于根据调用频率消除第一代缓存冲突(即过程及其任何直接调用者或被调用者之间的冲突)。在这项工作中,我们使用称为冲突缺失图(CMG)的结构来开发过程级的时间交互。在CMG中,每个边缘权重都是两个竞争过程可能相互施加的最坏情况下的最坏情况的近似值。我们使用边缘权重所隐含的顺序来应用基于颜色的映射,并消除位于相同或不同调用链中的过程之间的冲突遗漏。使用从SPEC 95,Gnu应用程序和C ++应用程序中提取的程序,我们已经能够改进以前的算法,与最佳过程重新排序算法相比,平均减少了20%的指令高速缓存冲突数量。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号