社区检测的CPU与GPU对比:来自GVE-Louvain和$ν$-Louvain的性能洞察
CPU vs. GPU for Community Detection: Performance Insights from GVE-Louvain and $ν$-Louvain
AI总结:
本文对比了社区检测中CPU与GPU的性能,提出高效多核实现GVE-Louvain和GPU实现$ν$-Louvain,实验表明CPU在处理不规则工作负载时更具优势。
摘要:
社区检测涉及识别网络中的自然划分,这是许多大规模应用的关键任务。本报告提出了GVE-Louvain,它是Louvain算法最高效的多核实现之一,Louvain是一种高质量的社区检测方法。在双路16核Intel Xeon Gold 6226R服务器上运行时,GVE-Louvain的性能分别比Vite、Grappolo、NetworKit Louvain和cuGraph Louvain(在NVIDIA A100 GPU上运行)高出50倍、22倍、20倍和5.8倍,在38亿条边的图上实现了每秒5.6亿条边的处理速率。此外,它具有高效的扩展性,线程数量每增加一倍,性能提升1.6倍。本文还提出了基于GPU的实现$ν$-Louvain。在NVIDIA A100 GPU上进行评估时,$ν$-Louvain的性能仅与GVE-Louvain持平,这主要归因于在算法的后续阶段中工作负载和并行性的减少。这些结果表明,CPU在处理不规则工作负载方面具有灵活性,可能更适合社区检测任务。
英文摘要:
Community detection involves identifying natural divisions in networks, a crucial task for many large-scale applications. This report presents GVE-Louvain, one of the most efficient multicore implementations of the Louvain algorithm, a high-quality method for community detection. Running on a dual 16-core Intel Xeon Gold 6226R server, GVE-Louvain outperforms Vite, Grappolo, NetworKit Louvain, and cuGraph Louvain (on an NVIDIA A100 GPU) by factors of 50x, 22x, 20x, and 5.8x, respectively, achieving a processing rate of 560M edges per second on a 3.8B-edge graph. Additionally, it scales efficiently, improving performance by 1.6x for every thread doubling. The paper also presents $ν$-Louvain, a GPU-based implementation. When evaluated on an NVIDIA A100 GPU, $ν$-Louvain performs only on par with GVE-Louvain, largely due to reduced workload and parallelism in later algorithmic passes. These results suggest that CPUs, with their flexibility in handling irregular workloads, may be better suited for community detection tasks.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。