AMC:面向演化图分析的访问-缺失相关性预取器
AMC: Access to Miss Correlation Prefetcher for Evolving Graph Analytics
AI总结:
针对演化图应用不规则内存访问导致预取效果差的问题,提出软件辅助的AMC硬件预取器,通过记录顶点访问序列与后续缺失的相关性实现预取,性能显著优于现有最优预取器VLDP。
摘要:
现代内存层次结构在空间局部性良好的应用中表现出色。演化(动态)图是一类重要应用,广泛用于建模存在边和顶点变化的图与网络,这类应用呈现出不规则的内存访问模式,面临高缺失率和长缺失惩罚的问题。预取技术可用于预测并预取未来的需求缺失,但当前的硬件预取器无法有效预测具有不规则内存访问的应用。在演化图应用中,图变化过程中未发生改变的顶点会呈现相同的访问相关性模式。现有的时间预取器利用一对一或一对多相关性来挖掘这些模式,相似模式会被记录在同一个条目中,这会导致别名问题,进而造成预取准确率和覆盖率低下。本研究提出了一种面向演化图的软件辅助硬件预取器,核心思路是记录一系列顶点访问与后续缺失之间的相关性,在未来出现相同的顶点访问序列时执行预取。所提出的Access-to-Miss Correlation(AMC,访问-缺失相关性)预取器提供了轻量级编程接口,用于识别目标数据结构,并设置迭代边界以更新相关性表。在评估的应用中,与现有工作中性能最优的预取器VLDP相比,AMC实现了1.5倍的几何平均加速比。AMC的平均准确率和覆盖率可达62%,而VLDP的准确率为31%,覆盖率为23%。
英文摘要:
Modern memory hierarchies work well with applications that have good spatial locality. Evolving (dynamic) graphs are important applications widely used to model graphs and networks with edge and vertex changes. They exhibit irregular memory access patterns and suffer from a high miss ratio and long miss penalty. Prefetching can be employed to predict and fetch future demand misses. However, current hardware prefetchers can not efficiently predict for applications with irregular memory accesses. In evolving graph applications, vertices that do not change during graph changes exhibit the same access correlation patterns. Current temporal prefetchers use one-to-one or one-to-many correlation to exploit these patterns. Similar patterns are recorded in the same entry, which causes aliasing and can lead to poor prefetch accuracy and coverage. This work proposes a software-assisted hardware prefetcher for evolving graphs. The key idea is to record the correlations between a sequence of vertex accesses and the following misses and then prefetch when the same vertex access sequence occurs in the future. The proposed Access-to-Miss Correlation (AMC) prefetcher provides a lightweight programming interface to identify the data structures of interest and sets the iteration boundary to update the correlation table. For the evaluated applications, AMC achieves a geomean speedup of 1.5x as compared to the best-performing prefetcher in prior work (VLDP). AMC can achieve an average of 62% accuracy and coverage, whereas VLDP has an accuracy of 31% and coverage of 23%.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。