首页> 外文会议>International symposium on computer architecture >Memory forwarding: enabling aggressive layout optimizations by guaranteeing the safety of data relocation
【24h】

Memory forwarding: enabling aggressive layout optimizations by guaranteeing the safety of data relocation

机译:内存转发:通过保证数据重定位的安全性来实现积极的布局优化

获取原文

摘要

By optimizing data layout at run-time, we can potentially enhance the performance of caches by actively creating spatial locality, facilitating prefetching, and avoiding cache conflicts and false sharing. Unfortunately, it is extremely difficult to guarantee that such optimizations are safe in practice on today's machines, since accurately updating all pointers to an object requires perfect alias information, which is well beyond the scope of the compiler for languages such as C. To overcome this limitation, we propose a technique called memory forwarding which effectively adds a new layer of indirection within the memory system whenever necessary to guarantee that data relocation is always safe. Because actual forwarding rarely occurs (it exists as a safety net), the mechanism can be implemented as an exception in modern superscalar processors. Our experimental results demonstrate that the aggressive layout optimizations enabled by memory forwarding can result in significant speedups-more than twofold in some cases-by reducing the number of cache misses, improving the effectiveness of prefetching, and conserving memory bandwidth.
机译:通过在运行时优化数据布局,我们可以通过主动创建空间局部性,促进预取和避免缓存冲突和错误共享来潜在提高缓存的性能。不幸的是,非常困难保证在今天的机器上实践中的这种优化是安全的,因为准确地将所有指针更新到对象需要完美的别名信息,这远远超出了诸如C的语言的编译器的范围限制,我们提出了一种称为存储器转发的技术,其在需要保证数据重新定位始终安全的情况下,有效地在内存系统内增加了新的间接层。因为很少发生实际转发(它作为安全网),所以该机制可以实现为现代超卡处理器的异常。我们的实验结果表明,在某些情况下,通过内存转发使能的侵略性布局优化可能导致超大的加速 - 超过两种情况 - 通过减少高速缓存未命中的数量,提高预取的有效性,以及节省存储器带宽。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号