Multicore triangle computations without tuning
Authors:
- 1 April 2015
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- No. 10636382,p. 149-160
Abstract
Triangle counting and enumeration has emerged as a basic tool in large-scale network analysis, fueling the development of algorithms that scale to massive graphs. Most of the existing algorithms, however, are designed for the distributed-memory setting or the external-memory setting, and cannot take full advantage of a multicore machine, whose capacity has grown to accommodate even the largest of real-world graphs. This paper describes the design and implementation of simple and fast multicore parallel algorithms for exact, as well as approximate, triangle counting and other triangle computations that scale to billions of nodes and edges. Our algorithms are provably cache-friendly, easy to implement in a language that supports dynamic parallelism, such as Cilk Plus or OpenMP, and do not require parameter tuning. On a 40-core machine with two-way hyper-threading, our parallel exact global and local triangle counting algorithms obtain speedups of 17-50x on a set of real-world and synthetic graphs, and are faster than previous parallel exact triangle counting algorithms. We can compute the exact triangle count of the Yahoo Web graph (over 6 billion edges) in under 1.5 minutes. In addition, for approximate triangle counting, we are able to approximate the count for the Yahoo graph to within 99.6% accuracy in under 10 seconds, and for a given accuracy we are much faster than existing parallel approximate triangle counting implementations.Keywords
This publication has 44 references indexed in Scilit:
- Skew strikes backACM SIGMOD Record, 2014
- Triangle Counting in Dynamic Graph Streams2014
- Triangle Listing Algorithms: Back from the Diversion2013
- Multiplying matrices faster than coppersmith-winograd2012
- Efficient Triangle Counting in Large Graphs via Degree-Based Vertex PartitioningInternet Mathematics, 2012
- What is Twitter, a social network or a news media?2010
- Main-memory triangle computations for very large (sparse (power-law)) graphsTheoretical Computer Science, 2008
- The Structure and Function of Complex NetworksSIAM Review, 2003
- Collective dynamics of ‘small-world’ networksNature, 1998
- On parallel hashing and integer sortingJournal of Algorithms, 1991