arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2401.17018cs.DC
收藏

GPU加速的批量动态子图匹配

GPU-Accelerated Batch-Dynamic Subgraph Matching

Linshan Qiu, Lu Chen, Hailiang Jie, Xiangyu Ke, Yunjun Gao, Yang Liu, Zetao Zhang

AI总结:

针对现有动态子图匹配串行处理批量更新吞吐量低、GPU平台批量动态子图匹配研究空白的问题,提出GPU加速框架GAMMA,采用基于DFS的warp中心算法、warp级工作窃取和合并搜索,性能较最优算法提升达数百倍。

摘要:

子图匹配因其多样的实际应用日益受到关注。鉴于真实世界图的动态特性,如何在不产生过高开销的情况下应对演化场景一直是研究重点。然而,现有的动态子图匹配方法通常采用串行处理方式,针对每条更新的边单独检索增量匹配结果。这种方法在处理批量数据更新时存在不足,会导致系统吞吐量下降。利用GPU的并行处理能力——其可同时运行大量核心——已在多个领域被广泛认可可用于性能加速。令人意外的是,针对批量动态图场景下的子图匹配,尤其是在GPU平台上的系统性探索仍属空白。本文中,我们通过提出高效框架GAMMA(GPU加速的批量动态子图匹配)填补了这一空白。我们的方法采用基于深度优先搜索(DFS)的、以线程束(warp)为中心的批量动态子图匹配算法。为确保基于DFS的搜索中的负载均衡,我们提出了通过共享内存实现的线程束级工作窃取机制。此外,我们引入了合并搜索以减少冗余计算。综合实验证明了GAMMA的优异性能,与当前最优算法相比,GAMMA的性能提升最高可达数百倍。

英文摘要:

Subgraph matching has garnered increasing attention for its diverse real-world applications. Given the dynamic nature of real-world graphs, addressing evolving scenarios without incurring prohibitive overheads has been a focus of research. However, existing approaches for dynamic subgraph matching often proceed serially, retrieving incremental matches for each updated edge individually. This approach falls short when handling batch data updates, leading to a decrease in system throughput. Leveraging the parallel processing power of GPUs, which can execute a massive number of cores simultaneously, has been widely recognized for performance acceleration in various domains. Surprisingly, systematic exploration of subgraph matching in the context of batch-dynamic graphs, particularly on a GPU platform, remains untouched. In this paper, we bridge this gap by introducing an efficient framework, GAMMA (GPU-Accelerated Batch-Dynamic Subgraph Matching). Our approach features a DFS-based warp-centric batch-dynamic subgraph matching algorithm. To ensure load balance in the DFS-based search, we propose warp-level work stealing via shared memory. Additionally, we introduce coalesced search to reduce redundant computations. Comprehensive experiments demonstrate the superior performance of GAMMA. Compared to state-of-the-art algorithms, GAMMA showcases a performance improvement up to hundreds of times.

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

↑