arrow
Return

Lock-Free Triangle Counting on GPU

delete2025-03-01
delete0
PRE
AI
Z
Zhigao Zheng
G
Guojia Wan
J
Jiawei Jiang
C
Chuang Hu
刘昊 (Hao Liu)
S
Shahid Mumtaz
B
Bo Du *
DOI:10.1109/TC.2024.3504295delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
Finding the triangles of large scale graphs is a fundamental graph mining task in many applications, such as motif detection, microscopic evolution, and link prediction. The recent works on triangle counting can be classified into merge-based or binary search-based paradigms. The merge-based triangle counting paradigm locates the triangles using the set intersection operation, which suffers from the random memory access problem. The binary search-based triangle counting paradigm sets the neighbors of the source vertex of an edge as the lookup array and searches the neighbors of the destination vertex. There are lots of expensive lock operations needed in the binary search-based paradigm, which leads to low thread efficiency. In this paper, we aim to improve the triangle counting efficiency on GPU by designing a lock-free policy named Skiff to implement a hash-based triangle counting algorithm. In Skiff, we first design a hash trie data layout to meet the coalesced memory access model and then propose a lock-free policy to reduce the conflicts of the hash trie. In addition, we use a level array to manage the index of the hash trie to make sure the nodes of the hash trie can be quickly located. Furthermore, we implement a CTA thread organization model to reduce the load imbalance of the real-world graphs. We conducted extensive experiments on NVIDIA GPUs to show the performance of Skiff. The results show that Skiff can achieve a good system performance improvement than the state-of-the-art (SOTA) works.
Keywords:
Graphics processing units
Instruction sets
Organizations
Memory management
Computers
Programming
Message systems
Load modeling
Indexes
Bandwidth
Triangle counting
lock free
thread organization
GPGPU
parallelism

Journal

IEEE Transactions on Computers cover
IEEE Transactions on Computers
IF:
3.8
Papers:
5.3K
Citations:
9.8K

Organization

N
Nottingham Trent University
Scholars:
4.5K
Papers: 4.7K
Citations: 6.6K
W
wuhan university
Scholars:
8.0W
Papers: 5.8W
Citations: 70