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

PASGAL:并行且可扩展的图算法库

PASGAL: Parallel And Scalable Graph Algorithm Library

Xiaojun Dong, Yan Gu, Yihan Sun, Letong Wang

AI总结:

本文提出并行图算法库PASGAL,通过垂直粒度控制技术隐藏同步开销并重新设计算法与数据结构,有效解决了大直径图上的并行处理瓶颈,在BFS等算法上显著优于现有并行实现。

摘要:

在本文中,我们介绍了 PASGAL(Parallel And Scalable Graph Algorithm Library,并行且可扩展的图算法库),这是一个并行图库,可扩展至各种图类型、多处理器以及大图规模。PASGAL 的一个特别关注点是针对大直径图的效率,这是许多现有并行图处理系统面临的共同挑战:由于缺乏并行性,许多现有图处理系统在大直径图上甚至比标准串行算法更慢。这种性能退化是由于在以广度优先顺序遍历图时,调度和同步线程的高开销造成的。PASGAL 中实现高并行性的核心技术是一种称为垂直粒度控制(VGC)的技术,用于隐藏同步开销,以及对并行图算法和数据结构的精心重新设计。在我们的实验中,我们将 PASGAL 与最先进的并行实现在 BFS、SCC、BCC 和 SSSP 上进行了比较。与并行基线相比,PASGAL 在小直径图上实现了有竞争力的性能,并且在大直径图上显著更快。

英文摘要:

In this paper, we introduce PASGAL (Parallel And Scalable Graph Algorithm Library), a parallel graph library that scales to a variety of graph types, many processors, and large graph sizes. One special focus of PASGAL is the efficiency on \textit{large-diameter graphs}, which is a common challenge for many existing parallel graph processing systems: many existing graph processing systems can be even slower than the standard sequential algorithm on large-diameter graphs due to the lack of parallelism. Such performance degeneration is caused by the high overhead in scheduling and synchronizing threads when traversing the graph in the breadth-first order. The core technique in PASGAL to achieve high parallelism is a technique called \textit{vertical granularity control (VGC)} to hide synchronization overhead, as well as careful redesign of parallel graph algorithms and data structures. In our experiments, we compare PASGAL with state-of-the-art parallel implementations on BFS, SCC, BCC, and SSSP. PASGAL achieves competitive performance on small-diameter graphs compared to the parallel baselines, and is significantly faster on large-diameter graphs.

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

↑