Engineering Papers⌕ Search

DOE OSTI · 1763314

Triangle Counting with Cyclic Distributions

Abstract

Triangles are the simplest non-trivial subgraphs and triangle counting is used in a number of different applications. The order in which vertices are processed in triangle counting strongly effects the amount of work that needs to be done (and thus the overall performance). Ordering vertices by degree has been shown to be one particularly effective ordering approach. However, for graphs with skewed degree distributions (such as power-law graphs), ordering by degree effects the distribution of work; parallelization must account for this distribution in order to balance work among workers. In this paper we provide an in- depth analysis of the ramifications of degree-based ordering on parallel triangle counting. We present approach for partitioning work in triangle counting, based on cyclic distribution and some surprisingly simple C++ implementations. Experimental results demonstrate the effectiveness of our approach, particularly for power-law (and social network) graphs.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Lumsdaine, Andrew, D’Alessandro, Luke, Deweese, Kevin, Firoz, Jesun S., Mcmillan, Scott. 2020-12-22. Triangle Counting with Cyclic Distributions. https://www.osti.gov/biblio/1763314

Cite the original work for its findings. Save a collection to share your selection of sources.