图数据的新视角以及一种通用高效的大规模图数据遍历方法
A New Perspective of Graph Data and A Generic and Efficient Method for Large Scale Graph Data Traversal
AI总结:
本文从图与树的结构关系重新审视图数据,指出低度顶点导致随机访存,并提出分离处理低度顶点与核心子图的通用高效遍历方法,在三大平台显著提速且登顶Green graph500榜单。
摘要:
BFS算法是一种基础的图数据处理算法,许多其他图数据处理算法与BFS算法具有相似的架构特征,并可构建在BFS算法模型的基础之上。我们详细分析了图算法与传统高性能算法之间的差异,提出了一种根据算法在运行时与数据的相关性将其划分为数据无关算法和数据相关算法的新方式,并利用这一新分类来解释本文所提方法的有效性。通过对图数据进行更深入的分析,我们提出了一种理解图数据的全新基础视角,在图和树这两种基本数据结构之间建立联系,并将图数据视为由更小的子图和边树组成。研究发现,低度顶点是随机内存访问的重要原因之一。基于此,我们提出了一种通用、易于实现且高效的图数据处理方法,其基本思想是将低度顶点与核心子图分开处理,从而显著减少随机内存访问的规模并提高内存访问效率。最后,我们在三大数据中心计算平台(Intel、AMD和ARM)上评估了该方法的性能,实验表明,它分别带来了19.7%、31.8%和17.9%的性能提升;在ARM平台上的性能功耗比达到282.70 MTEPS/s,在2019年11月Green graph500大数据集榜单中位列世界第一。
英文摘要:
The BFS algorithm is a basic graph data processing algorithm and many other graph data processing algorithms have similar architectural features with BFS algorithm and can be built on the basis of BFS algorithm model. We analyze the differences between graph algorithms and traditional high-performance algorithms in detail, propose a new way of classifying algorithms into data independent algorithm and data correlation algorithm based on their run-time correlation with data, and use this new classification to explain the validity of the methods proposed in this paper. Through a deeper analysis of graph data, we propose a new fundamental perspective on understanding graph data, establishing a link between two basic data structures, graph and tree, and viewing graph data as consisting of smaller subgraphs and edge trees. Small degree vertices are found to be one of important cause of random memory access. Based on this, we propose a general, easy to implement, and efficient method for graph data processing, with the basic idea of treating low-degree vertices and core subgraphs separately, thus significantly reducing the size of random memory access and improving the efficiency of memory access. Finally, we evaluated the performance of the method on three major data center computing platforms (Intel, AMD, and ARM), and the experiments showed that it brought 19.7%, 31.8% and 17.9% performance improvement, respectively, with a performance-power ratio of 282.70 MTEPS/s on the ARM platform, ranking it among the Green graph500 in November 2019. World No. 1 on the big dataset list.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。