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

异构环境下基于块的三角形计数算法

A Block-Based Triangle Counting Algorithm on Heterogeneous Environments

Abdurrahman Yaşar, Sivasankaran Rajamanickam, Jonathan Berry, Ümit V. Çatalyürek

摘要:

三角形计数是图算法中的基本构建块。在本文中,我们提出了一种基于块的三角形计数算法,以减少顺序和并行执行期间的数据移动。我们的基于块的配方使算法自然适合异构体系结构。图的邻接矩阵的划分问题是一个很好的研究。我们的任务分解更进一步:它划分图中的三角形集合。通过将这些小任务流式传输到计算资源,我们可以解决不适合设备的问题。我们证明了我们的方法的有效性,通过提供一个实现在一个计算节点上的多个插槽,核心和GPU。目前最先进的三角形枚举在2.1秒内处理一个三角形图,不包括CPU和GPU之间的数据复制时间。使用这个指标,我们的方法快了20%。当包括复制时间时,我们的算法需要3.2秒。这比发布的最快CPU时间快5.6倍。

英文摘要:

Triangle counting is a fundamental building block in graph algorithms. In this paper, we propose a block-based triangle counting algorithm to reduce data movement during both sequential and parallel execution. Our block-based formulation makes the algorithm naturally suitable for heterogeneous architectures. The problem of partitioning the adjacency matrix of a graph is well-studied. Our task decomposition goes one step further: it partitions the set of triangles in the graph. By streaming these small tasks to compute resources, we can solve problems that do not fit on a device. We demonstrate the effectiveness of our approach by providing an implementation on a compute node with multiple sockets, cores and GPUs. The current state-of-the-art in triangle enumeration processes the Friendster graph in 2.1 seconds, not including data copy time between CPU and GPU. Using that metric, our approach is 20 percent faster. When copy times are included, our algorithm takes 3.2 seconds. This is 5.6 times faster than the fastest published CPU-only time.

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

↑