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

超越BFS:GPU上根spanning树算法的比较研究

Beyond BFS: A Comparative Study of Rooted Spanning Tree Algorithms on GPUs

Indian Institute of Technology Tirupati(印度理工学院提鲁帕蒂分校)

Abhijeet Sahu, Srikar Vilas Donur

AI总结:

本文研究了GPU上根spanning树算法的比较,提出基于连接性框架的RST构建方法,在高直径图上实现300倍加速,推动GPU图分析方法的革新。

摘要:

根spanning树(RST)是并行图分析中的核心基础操作,支撑着双连通分量和平面性测试等算法。在GPU上,RST构建传统上依赖于广度优先搜索(BFS),因其简单性和工作效率。然而,BFS带来O(D)的步骤复杂度,严重限制了高直径和幂律图上的并行性。我们对现代GPU上的替代RST构建策略进行了比较研究。我们介绍了Path Reversal RST(PR-RST)算法的GPU适应版本,优化了其指针跳跃和广播操作以适应现代GPU架构。此外,我们评估了一种结合最新连接性框架(GConn)与欧拉巡回根定的集成方法。在超过10个真实世界图上,我们的结果表明,基于GConn的方法在高直径图上相比优化的BFS可达到300倍的加速。这些发现表明,基于连接性方法的O(log n)步骤复杂度可以克服其结构开销,推动GPU图分析中RST构建的重新思考。

英文摘要:

Rooted spanning trees (RSTs) are a core primitive in parallel graph analytics, underpinning algorithms such as biconnected components and planarity testing. On GPUs, RST construction has traditionally relied on breadth-first search (BFS) due to its simplicity and work efficiency. However, BFS incurs an O(D) step complexity, which severely limits parallelism on high-diameter and power-law graphs. We present a comparative study of alternative RST construction strategies on modern GPUs. We introduce a GPU adaptation of the Path Reversal RST (PR-RST) algorithm, optimizing its pointer-jumping and broadcast operations for modern GPU architecture. In addition, we evaluate an integrated approach that combines a state-of-the-art connectivity framework (GConn) with Eulerian tour-based rooting. Across more than 10 real-world graphs, our results show that the GConn-based approach achieves up to 300x speedup over optimized BFS on high-diameter graphs. These findings indicate that the O(log n) step complexity of connectivity-based methods can outweigh their structural overhead on modern hardware, motivating a rethinking of RST construction in GPU graph analytics.

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

↑