Sadegh Heyrani Nobari
Fast Random Graph Generation
Contact Info
Sadegh Nobari
Database Research Lab (Graduated)
s - sqnco.com
Sadegh Nobari, Xuesong Lu, Panagiotis Karras, and Stéphane Bressan  
Today, several database applications call for the generation of random graphs. A fundamental, versatile random graph model adopted for that purpose is the Erdős–Rényi Γv,p model. This model can be used for directed, undirected, and multipartite graphs, with and without self-loops; it induces algorithms for both graph generation and sampling, hence is useful not only in applications necessitating the generation of random structures but also for simulation, sampling and in randomized algorithms. However, the commonly advocated algorithm for random graph generation under this model performs poorly when generating large graphs, and fails to make use of the parallel processing capabilities of modern hardware. In this paper, we propose PPreZER, an alternative, data parallel algorithm for random graph generation under the Erdős–Rényi model, designed and implemented in a graphics processing unit (GPU). We are led to this chief contribution of ours via a succession of seven intermediary algorithms, both sequential and parallel. Our extensive experimental study shows an average speedup of 19 for PPreZER with respect to the baseline algorithm.

Proc. of the 14th Intl Conf. on Extending Database Technology (EDBT'11), Uppsala, Sweden
[Full paper] [CPU code] [GPU code]