首页> 外国专利> Visual program memory hierarchy optimization

Visual program memory hierarchy optimization

机译:可视程序存储器层次结构优化

摘要

In general, and in a form of the present invention, a method is provided for reducing execution time of a program executed on a digital system by improving hit rate in a cache of the digital system. This is done by determining cache performance during execution of the program over a period of time as a function of address locality, and then identifying occurrences of cache conflict between two program modules. One of the conflicting program modules is then relocated so that cache conflict is eliminated or at least reduced. In one embodiment of the invention, a 2D plot of cache operation is provided as a function of address versus time for the period of time. A set of cache misses having temporal locality and spatial locality is identified as a horizontally arranged grouping of pixels at a certain address locality having a selected color indicative of a cache miss. Cache conflict is determined by overlying an interference grid or a shadow grid on the plot responsive to the address locality such that a plurality of lines are displayed at other address localities that map to the same region in cache as the first address locality. In order to relocate a program module, a relocation parameter is provided to a linker to cause the program module to be linked at a different address.
机译:通常,并且以本发明的形式,提供了一种用于通过提高数字系统的高速缓存中的命中率来减少在数字系统上执行的程序的执行时间的方法。通过确定一段时间内程序执行期间的高速缓存性能(取决于地址局部性),然后确定两个程序模块之间的高速缓存冲突的发生,可以完成此操作。然后重定位冲突的程序模块之一,以便消除或至少减少高速缓存冲突。在本发明的一个实施例中,提供了一段时间内地址与时间的函数的高速缓存操作的二维图。具有时间局部性和空间局部性的一组高速缓存未命中被识别为在某个地址局部上水平布置的像素分组,该像素组具有指示高速缓存未命中的所选颜色。响应于地址局部性,通过在图上覆盖干扰网格或阴影网格来确定高速缓冲存储器冲突,使得在其他地址局部性上显示多条线,这些线映射到高速缓存中与第一地址局部性相同的区域。为了重定位程序模块,将重定位参数提供给链接器,以使程序模块被链接到其他地址。

著录项

  • 公开/公告号US6947052B2

    专利类型

  • 公开/公告日2005-09-20

    原文格式PDF

  • 申请/专利权人 TOR E. JEREMIASSEN;

    申请/专利号US20020191175

  • 发明设计人 TOR E. JEREMIASSEN;

    申请日2002-07-09

  • 分类号G09G5/36;

  • 国家 US

  • 入库时间 2022-08-21 22:20:06

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号