Counting Triangles in Large Graphs on GPU

被引:21
|
作者
Polak, Adam [1 ]
机构
[1] Jagiellonian Univ, Fac Math & Comp Sci, Dept Theoret Comp Sci, Krakow, Poland
关键词
GPU; CUDA; parallel graph algorithms; triangles; clustering coefficient;
D O I
10.1109/IPDPSW.2016.108
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
The clustering coefficient and the transitivity ratio are concepts often used in network analysis, which creates a need for fast practical algorithms for counting triangles in large graphs. Previous research in this area focused on sequential algorithms, MapReduce parallelization, and fast approximations. In this paper we propose a parallel triangle counting algorithm for CUDA GPU. We describe the implementation details necessary to achieve high performance and present the experimental evaluation of our approach. The algorithm achieves 15 to 35 times speedup over our CPU implementation, and is capable of finding 8.8 billion triangles in a 180 million edges graph in 12 seconds on the Nvidia GeForce GTX 980 GPU.
引用
收藏
页码:740 / 746
页数:7
相关论文
共 50 条
  • [1] Counting Triangles in Large Graphs by Random Sampling
    Wu, Bin
    Yi, Ke
    Li, Zhenguo
    [J]. IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING, 2016, 28 (08) : 2013 - 2026
  • [2] Finding, Counting, and Highlighting all Triangles in Large Graphs
    Uddin, Md. Ashraf
    Chowdhury, Kanchan
    Ray, Liton Kumar
    [J]. 2019 1ST INTERNATIONAL CONFERENCE ON ROBOTICS, ELECTRICAL AND SIGNAL PROCESSING TECHNIQUES (ICREST), 2019, : 59 - 62
  • [3] Counting triangles in regular graphs
    He, Jialin
    Hou, Xinmin
    Ma, Jie
    Xie, Tianying
    [J]. JOURNAL OF GRAPH THEORY, 2024,
  • [4] Parallel Counting of Triangles in Large Graphs: Pruning and Hierarchical Clustering Algorithms
    Kuo, Chun-Yen
    Hang, Ching Nam
    Yu, Pei-Duo
    Tan, Chee Wei
    [J]. 2018 IEEE HIGH PERFORMANCE EXTREME COMPUTING CONFERENCE (HPEC), 2018,
  • [5] Finding, counting and listing all triangles in large graphs, an experimental study
    Schank, T
    Wagner, D
    [J]. EXPERIMENTAL AND EFFICIENT ALGORITHMS, PROCEEDINGS, 2005, 3503 : 606 - 609
  • [6] COUNTING TRIANGLES IN MASSIVE GRAPHS WITH MAPREDUCE
    Kolda, Tamara G.
    Pinar, Ali
    Plantenga, Todd
    Seshadhri, C.
    Task, Christine
    [J]. SIAM JOURNAL ON SCIENTIFIC COMPUTING, 2014, 36 (05): : S48 - S77
  • [7] DOULION: Counting Triangles in Massive Graphs with a Coin
    Tsourakakis, Charalampos E.
    Kang, U.
    Miller, Gary L.
    Faloutsos, Christos
    [J]. KDD-09: 15TH ACM SIGKDD CONFERENCE ON KNOWLEDGE DISCOVERY AND DATA MINING, 2009, : 837 - 845
  • [8] New streaming algorithms for counting triangles in graphs
    Jowhari, H
    Ghodsi, M
    [J]. COMPUTING AND COMBINATORICS, PROCEEDINGS, 2005, 3595 : 710 - 716
  • [9] Counting rainbow triangles in edge-colored graphs
    Li, Xueliang
    Ning, Bo
    Shi, Yongtang
    Zhang, Shenggui
    [J]. JOURNAL OF GRAPH THEORY, 2024,
  • [10] Reductions in streaming algorithms, with an application to counting triangles in graphs
    Bar-Yossef, Z
    Kumar, R
    Sivakumar, D
    [J]. PROCEEDINGS OF THE THIRTEENTH ANNUAL ACM-SIAM SYMPOSIUM ON DISCRETE ALGORITHMS, 2002, : 623 - 632