arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2001.09783cs.DCcs.PF
收藏

用于图形分析的域专用缓存管理

Domain-Specialized Cache Management for Graph Analytics

Priyank Faldu, Jeff Diamond, Boris Grot

摘要:

图形分析为金融、网络和商业物流等领域的一系列应用提供支持。在图分析领域中使用的图的共同性质是顶点连通性的幂律分布,其中少量顶点负责图中所有连接的高比例。这些连接丰富的热顶点固有地表现出高重用性。然而,这项工作发现,由于图形分析的高度不规则的访问模式,最先进的硬件缓存管理方案在利用其重用方面存在困难。作为回应,我们提出了GRASP,在最后一级缓存的域专用缓存管理图分析。GRASP增强了现有的缓存策略,以最大限度地重用热顶点,保护他们免受缓存颠簸,同时保持足够的灵活性,以捕捉重用的其他顶点需要。GRASP通过利用轻量级软件支持来精确定位热顶点,从而避免了对最先进的高速缓存管理方案所采用的存储密集型预测机制的需要,从而使硬件成本可以忽略不计。在一组具有大型高偏斜图数据集的各种图分析应用程序中,GRASP在所有数据点上的性能优于先前的域不可知方案,比性能最佳的先前方案平均提高了4.2%(最大9.4%)。GRASP在低/无偏斜数据集上保持稳健,而先前的方案始终会导致减速。

英文摘要:

Graph analytics power a range of applications in areas as diverse as finance, networking and business logistics. A common property of graphs used in the domain of graph analytics is a power-law distribution of vertex connectivity, wherein a small number of vertices are responsible for a high fraction of all connections in the graph. These richly-connected, hot, vertices inherently exhibit high reuse. However, this work finds that state-of-the-art hardware cache management schemes struggle in capitalizing on their reuse due to highly irregular access patterns of graph analytics. In response, we propose GRASP, domain-specialized cache management at the last-level cache for graph analytics. GRASP augments existing cache policies to maximize reuse of hot vertices by protecting them against cache thrashing, while maintaining sufficient flexibility to capture the reuse of other vertices as needed. GRASP keeps hardware cost negligible by leveraging lightweight software support to pinpoint hot vertices, thus eliding the need for storage-intensive prediction mechanisms employed by state-of-the-art cache management schemes. On a set of diverse graph-analytic applications with large high-skew graph datasets, GRASP outperforms prior domain-agnostic schemes on all datapoints, yielding an average speed-up of 4.2% (max 9.4%) over the best-performing prior scheme. GRASP remains robust on low-/no-skew datasets, whereas prior schemes consistently cause a slowdown.

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

↑