使用分区中心处理加速PageRank
Accelerating PageRank using Partition-Centric Processing
摘要:
PageRank是一种基本的链接分析算法,也是稀疏矩阵向量(SpMV)乘法性能的关键代表。传统的PageRank实现会产生细粒度的随机内存访问,导致大量浪费的DRAM流量和较差的带宽利用率。在本文中,我们提出了一种新的分区为中心的处理方法(PCPM)来计算PageRank,大大减少了DRAM的通信量,同时实现高持续的内存带宽。PCPM使用以分区为中心的抽象,并结合Gather-Apply-Scatter(GAS)编程模型。通过仔细研究如何PCPM的实现影响算法的通信特性,我们提出了几个系统优化,大大提高了执行时间。更具体地说,我们开发了(1)一种新的数据布局,大大减少了通信和随机DRAM访问,以及(2)分支避免机制,以摆脱不可预测的数据相关分支。我们进行详细的分析和实验评估,我们的方法使用6个大型图,并证明了平均2.7倍的执行时间加速和1.7倍的通信量减少,相比最先进的。我们还表明,与其他基于GAS的实现,PCPM是能够进一步减少主内存流量,利用智能节点标签,提高本地化。虽然我们使用PageRank作为本文的目标应用程序,我们的方法可以应用到通用的SpMV计算。
英文摘要:
PageRank is a fundamental link analysis algorithm that also functions as a key representative of the performance of Sparse Matrix-Vector (SpMV) multiplication. The traditional PageRank implementation generates fine granularity random memory accesses resulting in large amount of wasteful DRAM traffic and poor bandwidth utilization. In this paper, we present a novel Partition-Centric Processing Methodology (PCPM) to compute PageRank, that drastically reduces the amount of DRAM communication while achieving high sustained memory bandwidth. PCPM uses a Partition-centric abstraction coupled with the Gather-Apply-Scatter (GAS) programming model. By carefully examining how a PCPM based implementation impacts communication characteristics of the algorithm, we propose several system optimizations that improve the execution time substantially. More specifically, we develop (1) a new data layout that significantly reduces communication and random DRAM accesses, and (2) branch avoidance mechanisms to get rid of unpredictable data-dependent branches. We perform detailed analytical and experimental evaluation of our approach using 6 large graphs and demonstrate an average 2.7x speedup in execution time and 1.7x reduction in communication volume, compared to the state-of-the-art. We also show that unlike other GAS based implementations, PCPM is able to further reduce main memory traffic by taking advantage of intelligent node labeling that enhances locality. Although we use PageRank as the target application in this paper, our approach can be applied to generic SpMV computation.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。