arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2112.09761cs.DC
收藏

基于GPU的高效可扩展图模式挖掘

Efficient and Scalable Graph Pattern Mining on GPUs

Xuhao Chen, Arvind

摘要:

图模式挖掘(GPM)通过搜索感兴趣的小模式来提取大型图中的高阶信息。GPM应用在计算上是昂贵的,因此对于GPU加速是有吸引力的。不幸的是,由于GPM算法和并行硬件的复杂性,手动优化GPM应用程序遭受编程复杂性,而现有的GPM框架牺牲效率的可编程性。此外,在GPU上几乎没有做过将GPM计算扩展到大问题大小的工作。我们描述了G2Miner,第一个在多个GPU上运行的图形模式挖掘(GPM)框架。G2Miner使用模式感知、输入感知和架构感知的搜索策略来在GPU上实现高效率。为了简化编程,它提供了一个代码生成器,可以自动生成模式感知的CUDA代码。G2Miner灵活地支持广度优先搜索(BFS)和深度优先搜索(DFS),以最大限度地提高内存利用率并为GPU生成足够的并行度。为了提高G2Miner的可扩展性,我们使用自定义的调度策略来平衡多个GPU之间的工作。在V100 GPU上的实验表明,G2Miner在两个最先进的单GPU系统Pangolin和PBE上分别实现了5.4倍和7.2倍的平均加速比。在多GPU设置中,G2Miner实现了从1到8个GPU的线性加速,适用于各种模式和数据图。我们还表明,在V100 GPU上的G2Miner比在56核CPU机器上的最先进的基于CPU的系统Peregrine和GraphZero快48.3倍和15.2倍。

英文摘要:

Graph Pattern Mining (GPM) extracts higher-order information in a large graph by searching for small patterns of interest. GPM applications are computationally expensive, and thus attractive for GPU acceleration. Unfortunately, due to the complexity of GPM algorithms and parallel hardware, hand optimizing GPM applications suffers programming complexity, while existing GPM frameworks sacrifice efficiency for programmability. Moreover, little work has been done on GPU to scale GPM computation to large problem sizes. We describe G2Miner, the first Graph Pattern Mining (GPM) framework that runs on multiple GPUs. G2Miner uses pattern-aware, input-aware and architecture-aware search strategies to achieve high efficiency on GPUs. To simplify programming, it provides a code generator that automatically generates pattern-aware CUDA code. G2Miner flexibly supports both breadth-first search (BFS) and depth-first search (DFS) to maximize memory utilization and generate sufficient parallelism for GPUs. For the scalability of G2Miner, we use a customized scheduling policy to balance work among multiple GPUs. Experiments on a V100 GPU show that G2Miner achieves average speedups of 5.4x and 7.2x over two state-of-the-art single-GPU systems, Pangolin and PBE, respectively. In the multi-GPU setting, G2Miner achieves linear speedups from 1 to 8 GPUs, for various patterns and data graphs. We also show that G2Miner on a V100 GPU is 48.3x and 15.2x faster than the state-of-the-art CPU-based system, Peregrine and GraphZero, on a 56-core CPU machine.

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

↑