arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.10627cs.AR
收藏

Triangel:一种高性能、准确、及时的片上时间预取器

Triangel: A High-Performance, Accurate, Timely On-Chip Temporal Prefetcher

Sam Ainsworth, Lev Mukhanov

AI总结:

本文提出片上时间预取器Triangel,通过基于采样的新方法扩展Triage,在处理长期模式时提升积极性和及时性,避免不准确预取,实现26.4%加速且仅增10%内存流量。

摘要:

时间预取通过记录并重放重复访问中相关的地址对,近期已在商业设计中变得可行。Arm的最新处理器包含Correlating Miss Chaining预取器,它将这些模式存储在片上缓存的一个分区中。然而,文献中最先进的片上时间预取器Triage存在一些设计不一致和不准确之处,给实际实现带来了挑战。我们首先检查这些不一致之处并设计修复方案,以产生一个可实现的基线。然后我们引入Triangel,这是一种扩展Triage的预取器,采用基于采样的新方法,使其在能够处理观察到的长期模式时具有积极性和及时性,并在能力不足时避免不准确的预取。与仅具有传统步幅预取器的基线系统相比,Triangel实现了26.4%的加速,而Triage在度为1时为9.3%,度为4时为14.2%。同时,相对于基线,Triangel仅使内存流量增加10%,而Triage为28.5%。

英文摘要:

Temporal prefetching, where correlated pairs of addresses are logged and replayed on repeat accesses, has recently become viable in commercial designs. Arm's latest processors include Correlating Miss Chaining prefetchers, which store such patterns in a partition of the on-chip cache. However, the state-of-the-art on-chip temporal prefetcher in the literature, Triage, features some design inconsistencies and inaccuracies that pose challenges for practical implementation. We first examine and design fixes for these inconsistencies to produce an implementable baseline. We then introduce Triangel, a prefetcher that extends Triage with novel sampling-based methodologies to allow it to be aggressive and timely when the prefetcher is able to handle observed long-term patterns, and to avoid inaccurate prefetches when less able to do so. Triangel gives a 26.4% speedup compared to a baseline system with a conventional stride prefetcher alone, compared with 9.3% for Triage at degree 1 and 14.2% at degree 4. At the same time Triangel only increases memory traffic by 10% relative to baseline, versus 28.5% for Triage.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑