English

Engineering a Distributed-Memory Triangle Counting Algorithm

Distributed, Parallel, and Cluster Computing 2023-07-24 v2 Data Structures and Algorithms Social and Information Networks

Abstract

Counting triangles in a graph and incident to each vertex is a fundamental and frequently considered task of graph analysis. We consider how to efficiently do this for huge graphs using massively parallel distributed-memory machines. Unsurprisingly, the main issue is to reduce communication between processors. We achieve this by counting locally whenever possible and reducing the amount of information that needs to be sent in order to handle (possible) nonlocal triangles. We also achieve linear memory requirements despite superlinear communication volume by introducing a new asynchronous sparse-all-to-all operation. Furthermore, we dramatically reduce startup overheads by allowing this communication to use indirect routing. Our algorithms scale (at least) up to 32 768 cores and are up to 18 times faster than the previous state of the art.

Keywords

Cite

@article{arxiv.2302.11443,
  title  = {Engineering a Distributed-Memory Triangle Counting Algorithm},
  author = {Peter Sanders and Tim Niklas Uhl},
  journal= {arXiv preprint arXiv:2302.11443},
  year   = {2023}
}

Comments

11 pages, 8 figures, to be published in 2023 IEEE International Parallel and Distributed Processing Symposium (IPDPS), St. Petersburg, FL, USA, pp. 702-712