Novel Parallel Algorithms for Fast Multi-GPU-Based Generation of Massive Scale-Free Networks

Maksudul Alam, Kalyan S. Perumalla, Peter Sanders

Research output: Contribution to journalArticlepeer-review

19 Scopus citations

Abstract

A novel parallel algorithm is presented for generating random scale-free networks using the preferential attachment model. The algorithm, named cuPPA, is custom-designed for “single instruction multiple data (SIMD)” style of parallel processing supported by modern processors such as graphical processing units (GPUs). To the best of our knowledge, our algorithm is the first to exploit GPUs, and also the fastest implementation available today, to generate scale-free networks using the preferential attachment model. A detailed performance study is presented to understand the scalability and runtime characteristics of the cuPPA algorithm. Also another version of the algorithm called cuPPA-Hash tailored for multiple GPUs is presented. On a single GPU, the original cuPPA algorithm delivers the best performance, but is challenging to port to multi-GPU implementation. For multi-GPU implementation, cuPPA-Hash has been used as the parallel algorithm to achieve a perfect linear speedup up to 4 GPUs. In one of the best cases, when executed on an NVidia GeForce 1080 GPU, the original cuPPA generates a scale-free network of two billion edges in less than 3 s. On multi-GPU platforms, cuPPA-Hash generates a scale-free network of 16 billion edges in less than 7 s using a machine consisting of 4 NVidia Tesla P100 GPUs.

Original languageEnglish
Pages (from-to)61-75
Number of pages15
JournalData Science and Engineering
Volume4
Issue number1
DOIs
StatePublished - Mar 1 2019

Funding

This paper has been authored by UT-Battelle, LLC, under contract DE-AC05-00OR22725 with the U.S. Department of Energy. Accordingly, the United States Government retains, and the publisher, by accepting the article for publication, acknowledges that the United States Government retains a non-exclusive, paid-up, irrevocable, worldwide license to publish or reproduce the published form of this manuscript, or allow others to do so, for United States Government purposes. Acknowledgements Funding was provided by Oak Ridge National Laboratory (Grant No. 3X012DCS).

FundersFunder number
U.S. Department of Energy
Oak Ridge National Laboratory3X012DCS

    Keywords

    • GPU
    • Preferential attachment
    • Random networks
    • Scale-free networks

    Fingerprint

    Dive into the research topics of 'Novel Parallel Algorithms for Fast Multi-GPU-Based Generation of Massive Scale-Free Networks'. Together they form a unique fingerprint.

    Cite this