Articles
Vol. 47 No. 3 (2013)
Solutions for Improving the Performance of Random Number Generators Using Graphics Processing Units
Economic Informatics Department The Bucharest Academy of Economic Studies
Department of Mathematics-Informatics I The Polytechnic University of Bucharest
Statistics and Mathematics Department The Romanian-American University
-
Submitted
-
October 24, 2026
Abstract
In this paper, we have researched the possibility of using graphics processing units (GPUs) for generating a variety of random numbers. We have compared the performance obtained on the latest GPUs architectures with the one recorded on a high-end central processing unit, we have analyzed the main features of each architecture that influence the performance, we have developed solutions for optimizing the performance of random number generators. Although there is a great interest lately in implementing random number generators on parallel architectures, none of the works so far (to our best knowledge) has developed and studied implementations on Kepler, the latest Compute Unified Device Architecture (CUDA) architecture. We have developed a high performance implementation, harnessing the computational resources of the latest Fermi and Kepler architectures, studying their optimization potential, their impact on the execution time, on the generated samples bandwidth, on the energy consumption and on the execution cost.
References
- [1] Nvidia Corporation (2012), CUDA C Programming Guide. Version 5.0,
- Nvidia Whitepaper, 14-124;
- [2] Sanders J., Kandrot E. (2010), CUDA by Example: An Introduction to
- General-Purpose GPU Programming. Addison-Wesley Professional, 150-280;
- [3] Hwu W. W. (2011), GPU Computing Gems Jade Edition. Morgan Kaufmann,
- 50-120;
- [4] Matsumoto M., Nishimura T. (1998), Mersenne Twister: a 623-
- Dimensionally Equidistributed Uniform Pseudo-random Number Generator.
- ACM Transactions on Modeling and Computer Simulation 8 (1), 3–30;
- [5] Podlozhnyuk V. (2007), Parallel Mersenne Twister. Nvidia Corporation
- Tutorial, 1-8;
- [6] Matsumoto M., Kurita Y. (1992), Twisted GFST Generators. ACM Trans.
- Model. Comput. Simul. 2, 179-194;
- [7] Matsumoto M., Kurita Y. (1994), Twisted GFST Generators II. ACM Trans.
- Model. Comput. Simul. 4, 251-266;
- [8] Lewis T.G., Payne W.H. (1973), Generalized Feedback Shift Register
- Pseudorandom Number Algorithms. J. ACM 20, 456-468;
- [9] Matsumoto M., Nishimura T. (1998), Dynamic Creation of Pseudorandom
- Number Generators. Proceedings of the Third International Conference on Monte
- Carlo and Quasi-Monte Carlo Methods in Scientific Computing, 56-69;
- [10] Griebel M., Knapek S. , Zumbusch G. (2010), Numerical Simulation in
- Molecular Dynamics: Numerics, Algorithms, Parallelization, Applications.
- Springer, 70-110;
- [11] Pirjan A. (2010), Improving Software Performance in the Compute Unified
- Device Architecture. Informatica Economica Journal, 14, 4, 30-47.