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 条
  • [31] On the quality of random number generators with taps
    Shchur, LN
    COMPUTER PHYSICS COMMUNICATIONS, 1999, 121 : 83 - 85
  • [32] A high performance random number generator using heterogeneous computing platform
    Li, F. (lifan2013666@163.com), 1600, Binary Information Press, P.O. Box 162, Bethel, CT 06801-0162, United States (09):
  • [33] The entropy source of pseudo random number generators: from low entropy to high entropy
    Wang, Jizhi
    Pan, Jingshan
    Wu, Xueli
    2019 IEEE INTERNATIONAL CONFERENCE ON INTELLIGENCE AND SECURITY INFORMATICS (ISI), 2019, : 161 - 163
  • [34] Design of Parallel High-speed Pseudo-random Number Generators.
    Yarmolik, V.N.
    Izvestia vyssih ucebnyh zavedenij. Priborostroenie, 1983, 26 (01): : 48 - 52
  • [35] On the design of a family of CI pseudo-random number generators
    Bahi, Jacques M.
    Fang, Xiaole
    Guyeux, Christophe
    Wang, Qianxue
    2011 7TH INTERNATIONAL CONFERENCE ON WIRELESS COMMUNICATIONS, NETWORKING AND MOBILE COMPUTING (WICOM), 2011,
  • [36] Analysis and Guidelines for Different Designs of Pseudo Random Number Generators
    Abdelhaleem, Sherif H.
    Abd-El-Hafiz, Salwa K.
    Radwan, Ahmed G.
    IEEE ACCESS, 2024, 12 : 115697 - 115715
  • [37] Are electroencephalogram (EEG) signals pseudo-random number generators?
    Chen, Guangyi
    JOURNAL OF COMPUTATIONAL AND APPLIED MATHEMATICS, 2014, 268 : 1 - 4
  • [38] Pseudo-random number generators based on the Collatz conjecture
    Xu D.
    Tamir D.E.
    International Journal of Information Technology, 2019, 11 (3) : 453 - 459
  • [39] Sponge-Based Pseudo-Random Number Generators
    Bertoni, Guido
    Daemen, Joan
    Peeters, Michael
    Van Assche, Gilles
    CRYPTOGRAPHIC HARDWARE AND EMBEDDED SYSTEMS - CHES 2010, 2010, 6225 : 33 - 47
  • [40] Attacks on Pseudo Random Number Generators Hiding a Linear Structure
    Martinez, Florette
    TOPICS IN CRYPTOLOGY, CT-RSA 2022, 2022, 13161 : 145 - 168