arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.29988cs.DC
收藏

基于GPU的基于枚举的三角形计数

Enumeration-based Triangle Counting on GPUs

Pacific Northwest National Laboratory(太平洋西北国家实验室)

Sayan Ghosh

AI总结:

本文提出一种分布式内存精确图三角形计数实现,在NVIDIA Ampere、Hopper架构GPU上对数十亿边真实图测试,执行时间较CPU基准、cuGraph、G²Miner分别有显著提升,可扩展性达多个数量级。

摘要:

在分布式内存系统中对分区图进行子图枚举时,面临着平衡数据移动与本地计算的挑战。特别是,由闭合楔(即长度为3的环)诱导的三角形计数是衡量图连通性的指标,但通常受限于开放楔或长度为2的路径所带来的巨大搜索空间(通常大于图中边的数量),必须检查这些空间以判断特定楔是否闭合。为缓解大规模图上的三角形计数问题,分布式内存分区图方法是可行的(即在分区内独立评估闭合楔),但由于规则图固有的结构缺失,任意通信导致的负载失衡会抵消并行性增强带来的收益。本文讨论了一种分布式内存精确图三角形计数实现,并在当代横向扩展和纵向扩展的NVIDIA GPU平台(考虑NVIDIA“Ampere”和“Hopper”架构)上,对数十亿边的真实世界图评估其性能,展现了多个数量级的可扩展性。与现有最先进方法的比较显示,在端到端执行时间方面,相比分布式内存CPU基准提升最高达10倍,相比单GPU厂商优化的NVIDIA RAPIDS cuGraph提升2至100倍,相比多GPU的G²Miner提升10%至60%。

英文摘要:

Subgraph enumeration in partitioned graphs across distributed-memory systems is beset with challenges in balancing data movement with the local computation. Especially, counting the number of triangles induced by the closed wedges (i.e., length-3 cycles) is a measure of connectedness in a graph, but often limited by the significant search space caused by open wedges or length-2 paths (usually greater than the number of edges in a graph), which must be inspected to assess whether a particular wedge is closed. To mitigate triangle counting on massive graphs, distributed-memory partitioned-graph approaches are viable (i.e., assessing closed wedges independently within a partition), but load imbalance due to arbitrary communication can overshadow any gains from enhanced concurrency, owing to the inherent lack of structure in regular graphs. In this paper, we discuss a distributed-memory exact graph triangle counting implementation, and assess its performance over billion-edge real-world graphs on contemporary scale-out and scale-up based NVIDIA GPU platforms (considering NVIDIA ``Ampere'' and ``Hopper'' architectures), depicting a scalability spectrum of multiple orders of magnitude. Comparisons with existing state-of-the-art approaches demonstrates up to 10$\times$ improvements relative to distributed-memory CPU baseline, 2-100$\times$ over single-GPU vendor-optimized NVIDIA RAPIDS cuGraph and 10-60\% over multi-GPU $G^2$Miner, in terms of end-to-end execution times.

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

↑