首页> 外文会议>Design, Automation amp; Test in Europe Conference amp; Exhibition, 2009. DATE '09 >Adaptive prefetching for shared cache based chip multiprocessors
【24h】

Adaptive prefetching for shared cache based chip multiprocessors

机译:基于共享缓存的芯片多处理器的自适应预取

获取原文

摘要

Chip multiprocessors (CMPs) present a unique scenario for software data prefetching with subtle tradeoffs between memory bandwidth and performance. In a shared L2 based CMP, multiple cores compete for the shared on-chip cache space and limited off-chip pin bandwidth. Purely software based prefetching techniques tend to increase this contention, leading to degradation in performance. In some cases, prefetches can become harmful by kicking out useful data from the shared cache whose next usage is earlier than the prefetched data, and the fraction of such harmful prefetches usually increases when we increase the number of cores used for executing a multi-threaded application code. In this paper, we propose two complementary techniques to address the problem of harmful prefetches in the context of shared L2 based CMPs. These techniques, namely, suppressing select data prefetches (if they are found to be harmful) and pinning select data in the L2 cache (if they are found to be frequent victim of harmful prefetches), are evaluated in this paper using two embedded application codes. Our experiments demonstrate that these two techniques are very effective in mitigating the impact of harmful prefetches, and as a result, we extract significant benefits from software prefetching even with large core counts.
机译:芯片多处理器(CMP)为软件数据预取提供了独特的方案,并在内存带宽和性能之间进行了微妙的权衡。在基于共享L2的CMP中,多个内核争夺共享的片上缓存空间和有限的片外引脚带宽。纯粹基于软件的预取技术往往会增加这种争用,从而导致性能下降。在某些情况下,通过从共享缓存中踢出有用数据来破坏预取,有害数据的下一次使用要早于预取数据,并且当我们增加用于执行多线程的内核数量时,此类有害预取的比例通常会增加应用程序代码。在本文中,我们提出了两种互补的技术来解决基于共享L2的CMP中有害预取的问题。本文使用两个嵌入式应用程序代码评估了这些技术,即抑制选择数据预取(如果发现有害)和将选择数据固定在L2缓存中(如果发现它们经常成为有害预取的受害者), 。我们的实验表明,这两种技术在减轻有害预取的影响方面非常有效,因此,即使内核数量很大,我们也可以从软件预取中获得显着的收益。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号