Fast, high-quality pseudo random number generators for heterogeneous computing

被引:0
|
作者
Barbone, Marco [1 ]
Gaydadjiev, Georgi [3 ]
Howard, Alexander [1 ]
Luk, Wayne [1 ]
Savvidy, George [2 ]
Savvidy, Konstantin [2 ]
Rose, Andrew [1 ]
Tapper, Alexander [1 ]
机构
[1] Imperial Coll London, London, England
[2] Inst Nucl & Particle Phys, Demokritos Natl Res Ctr, GR-15342 Athens, Greece
[3] Univ Groningen, Bernoulli Inst, Nijenborgh 9, NL-9747 AG Groningen, Netherlands
关键词
D O I
10.1051/epjconf/202429511010
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
Random number generation is key to many applications in a wide variety of disciplines. Depending on the application, the quality of the random numbers from a particular generator can directly impact both computational performance and critically the outcome of the calculation. High-energy physics applications use Monte Carlo simulations and machine learning widely, which both require high-quality random numbers. In recent years, to meet increasing performance requirements, many high-energy physics workloads leverage GPU acceleration. While on a CPU, there exist a wide variety of generators with different performance and quality characteristics, the same cannot be stated for GPU and FPGA accelerators. On GPUs, the most common implementation is provided by cuRAND - an NVIDIA library that is not open source or peer reviewed by the scientific community. The highest-quality generator implemented in cuRAND is a version of the Mersenne Twister. Given the availability of better and faster random number generators, high-energy physics moved away from Mersenne Twister several years ago and nowadays MIXMAX is the standard generator in Geant4 via CLHEP. The MIXMAX original design supports parallel streams with a seeding algorithm that makes it especially suited for GPU and FPGA where extreme parallelism is a key factor. In this study we implement the MIXMAX generator on both architectures and analyze its suitability and applicability for accelerator implementations. We evaluated the results against "Mersenne Twister for a Graphic Processor" (MTGP32) on GPUs which resulted in 5, 13 and 14 times higher throughput when a 240, 17 and 8 sized vector space was used respectively. The MIXMAX generator coded in VHDL and implemented on Xilinx Ultrascale+ FPGAs, requires 50% fewer total Look Up Tables (LUTs) compared to a 32-bit Mersenne Twister (MT-19337), or 75% fewer LUTs per output bit. In summary, the state-of-the art MIXMAX pseudo random number generator has been implemented on GPU and FPGA platforms and the performance benchmarked.
引用
收藏
页数:8
相关论文
共 50 条
  • [1] Review of High-Quality Random Number Generators
    James F.
    Moneta L.
    Computing and Software for Big Science, 2020, 4 (1)
  • [2] Evolving high-quality random number generators
    Perrenoud, M
    Tomassini, M
    Sipper, M
    Zolla, M
    GECCO-99: PROCEEDINGS OF THE GENETIC AND EVOLUTIONARY COMPUTATION CONFERENCE, 1999, : 804 - 804
  • [3] FAST PSEUDO-RANDOM NUMBER GENERATORS FOR COMPUTERS
    PRATT, AR
    RADIO AND ELECTRONIC ENGINEER, 1970, 40 (02): : 83 - &
  • [4] Critical Ising system testing of high-quality random number generators
    Zhu, Dongjie
    Lin, Yun
    Sun, Guoya
    Wang, Fuming
    Zhao, Mingyang
    Chen, Yanwei
    Duan, Jizheng
    JOURNAL OF STATISTICAL MECHANICS-THEORY AND EXPERIMENT, 2023, 2023 (07):
  • [5] Optimization of random number generators: efficient search for high-quality LCGs
    Entacher, K
    Schell, T
    Uhl, A
    PROBABILISTIC ENGINEERING MECHANICS, 2001, 16 (04) : 289 - 293
  • [6] FPGA-Optimised High-Quality Uniform Random Number Generators
    Thomas, David Barrie
    Luk, Wayne
    FPGA 2008: SIXTEENTH ACM/SIGDA INTERNATIONAL SYMPOSIUM ON FIELD-PROGRAMMABLE GATE ARRAYS, 2008, : 235 - 244
  • [7] Fast and reliable random number generators for scientific computing
    Brent, Richard P.
    APPLIED PARALLEL COMPUTING: STATE OF THE ART IN SCIENTIFIC COMPUTING, 2006, 3732 : 1 - 10
  • [8] Assessing the Quality of Pseudo-Random Number Generators
    P. C. S. Luizi
    F. R. B. Cruz
    J. van de Graaf
    Computational Economics, 2010, 36 : 57 - 67
  • [9] Assessing the Quality of Pseudo-Random Number Generators
    Luizi, P. C. S.
    Cruz, F. R. B.
    van de Graaf, J.
    COMPUTATIONAL ECONOMICS, 2010, 36 (01) : 57 - 67
  • [10] Fabrication and evaluation of high-quality and low-cost quantum random number generators
    Hajibaba, Soheil
    Dadahkhani, AmirHosein
    Madani, Seyed Ahmad
    OPTICS CONTINUUM, 2022, 1 (07): : 1572 - 1578