首页> 外文会议>Parallel and Distributed Computing and Systems >Visualization Enables the Programmer to Reduce Cache Misses
【24h】

Visualization Enables the Programmer to Reduce Cache Misses

机译:可视化使程序员能够减少缓存丢失

获取原文
获取外文期刊封面目录资料

摘要

Many programs execution speed suffer from cache misses. These can be reduced on three different levels: the hardware level, the compiler level and the algorithm level. Much work has been done on the hardware level and the compiler level, however relatively little work has been done on assisting the programmer to increase the locality in his programs. In this paper, a method is proposed to visualize the locality which is not exploited by the cache hardware, based on the reuse distance metric. Visualizing the reuse distances allows the programmer to see the cache bottlenecks in its program at a single glance, which allows him to think about alternative ways to perform the same computation with increased cache efficiency. Furthermore, since the reuse distance is independent of cache size and associativity, the programmer will focus on optimizations which increase cache effectiveness for a wide range of caches. As a case study, the cache behavior of the MCF program, which has the worst cache behavior in the SPEC2000 benchmarks, is visualized. A simple optimization, based on the visualization, leads to consistent speedups from 24% to 48% on different processors and cache architectures, such as Pentium Ⅱ, Itanium and Alpha.
机译:许多程序的执行速度会遭受高速缓存未命中的困扰。可以在三个不同的级别上减少这些级别:硬件级别,编译器级别和算法级别。在硬件级别和编译器级别上已经完成了很多工作,但是在协助程序员增加程序中的局部性方面所做的工作却很少。本文提出了一种基于重用距离度量的可视化缓存硬件无法利用的局部性的方法。可视化重用距离使程序员可以一目了然地看到其程序中的缓存瓶颈,这使他可以考虑使用其他方法来执行相同的计算并提高缓存效率。此外,由于重用距离与高速缓存大小和关联性无关,因此程序员将专注于优化,这些优化可提高各种高速缓存的高速缓存有效性。作为案例研究,可以看到MCF程序的缓存行为,该行为在SPEC2000基准测试中具有最差的缓存行为。基于可视化的简单优化,可以使奔腾Ⅱ,安腾和Alpha等不同处理器和缓存体系结构的速度从24%稳定提高到48%。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号