...
首页> 外文期刊>ACM SIGPLAN Notices: A Monthly Publication of the Special Interest Group on Programming Languages >Capturing Dynamic Memory Reference Behavior with Adaptive Cache Topology
【24h】

Capturing Dynamic Memory Reference Behavior with Adaptive Cache Topology

机译:使用自适应缓存拓扑捕获动态内存参考行为

获取原文
获取原文并翻译 | 示例
           

摘要

Memory references exhibit locality and are therefore not uniformly distributed across the sets of a cache. This skew reduces the effectiveness of a cache because it results in the caching of a considerable number of less-recently-used lines which are less likely to be re-referenced before they are replaced. In this paper, we describe a technique that dynamically identifies these less-recently-used lines and effectively utilizes the cache frames they occupy to more accurately approximate the global least-recently-used replacement policy while maintaining the fast access time of a direct-mapped cache. We also explore the idea of using these underutilized cache frames to reduce cache misses through data prefetching. In the proposed design, the possible locations that a line can reside in is not predetermined. Instead, the cache is dynamically partitioned into groups of cache lines. Because both the total number of groups and the individual group associativity adapt to the dynamic reference pattern, we call this design the adaptive group-associative cache. Performance evaluation using trace-driven simulations of the TPC-C benchmark and selected programs from the SPEC95 benchmark suite shows that the group-associative cache is able to achieve a hit ratio that is consistently better than that of a 4-way set-associative cache. For some of the workloads, the hit ratio approaches that of a fully-associative cache.
机译:内存引用具有局部性,因此不能在整个缓存集合中均匀分布。这种偏斜会降低缓存的效率,因为它会导致缓存大量最近使用的行,这些行在替换之前不太可能被重新引用。在本文中,我们描述了一种技术,该技术可以动态识别这些最近使用的行,并有效地利用它们占用的缓存帧,以更准确地近似全局最近最少使用的替换策略,同时保持直接映射的快速访问时间缓存。我们还探讨了使用这些未充分利用的缓存帧通过数据预取来减少缓存丢失的想法。在提出的设计中,线可以驻留的可能位置不是预先确定的。取而代之的是,将高速缓存动态地划分为高速缓存行组。因为组的总数和单个组的关联性都适应于动态参考模式,所以我们将此设计称为自适应组关联缓存。使用跟踪驱动的TPC-C基准仿真和SPEC95基准套件中选定的程序进行的性能评估表明,组关联缓存的命中率始终优于4路集关联缓存的命中率。对于某些工作负载,命中率接近完全关联的缓存的命中率。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号