A Hardware Framework for the Fast Generation of Multiple Long-period Random Number Streams

被引:0
|
作者
Dalal, Ishaan L. [1 ]
Stefan, Deian [1 ]
机构
[1] Cooper Union Adv Sci & Art, S ProCom2 Dept Elect Engn, New York, NY 10003 USA
关键词
Random Number Generator; Mersenne Twister; FPGA; Parallelized Architecture;
D O I
暂无
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Stochastic simulations and other scientific applications that depend on random numbers are increasingly implemented in a parallelized manner in programmable logic. High-quality pseudo-randoin number generators (PRNG), such as the Mersenne Twister, are often based on binary linear recurrences and have extremely long periods (more than 21024). Many software implementations of such PRNGs exist, but hardware implementations are rare. We have developed an optimized, resource-efficient parallel framework for this class of random number generators that exploits the underlying algorithm as well as FPGA-specific architectural features. The framework also incorporates fast "jump-ahead" capability for these PRNGs, allowing simultaneous, independent sub-streams to be generated in parallel by partitioning one long-period pseudorandom sequence. We demonstrate parallelized implementations of three types of PRNGs - the 32-, 64- and 128-bit SIMD Mersenne Twister - on Xilinx Virtex-II Pro FPGAs. Their area/throughput performance is impressive: for example, compared clock-for-clock with a previous FPGA implementation, a "two-parallelized" 32-bit Mersenne Twister uses 41% fewer resources. It can also scale to 350 MHz for a throughput of 22.4 Gbps, which is 5.5x faster than the older FPGA implementation and 7.1x faster than a dedicated software implementation. The quality of generated random numbers is verified with the standard statistical test batteries diehard and TestU01. We also present two real-world application studies with multiple RNG streams: the Ziggurat method for generating normal random variables and a Monte Carlo photon-transport simulation. The availability of fast long-period random number generators with multiple streams accelerates hardware-based scientific simulations and allows them to scale to greater complexities.
引用
下载
收藏
页码:245 / 254
页数:10
相关论文
共 50 条
  • [31] UNIFORM RANDOM NUMBER GENERATOR THAT IS REPRODUCIBLE, HARDWARE-INDEPENDENT, AND FAST
    SWAIN, CG
    SWAIN, MS
    JOURNAL OF CHEMICAL INFORMATION AND COMPUTER SCIENCES, 1980, 20 (01): : 56 - 58
  • [32] Exploring Long-Period Comets from Multiple Staging Orbits
    Gabriel Prescinotti Vivan
    Jennifer Hudson
    The Journal of the Astronautical Sciences, 2021, 68 : 608 - 641
  • [33] Parallel random number generation: Long-range correlations among multiple processors
    Entacher, K
    Uhl, A
    Wegenkittl, S
    PARALLEL COMPUTATION, 1999, 1557 : 107 - 116
  • [34] Exploring Long-Period Comets from Multiple Staging Orbits
    Vivan, Gabriel Prescinotti
    Hudson, Jennifer
    JOURNAL OF THE ASTRONAUTICAL SCIENCES, 2021, 68 (03): : 608 - 641
  • [35] Design of long-period fiber gratings with fast-varying parameters
    Ke, H
    Peng, J
    Fan, CC
    IEEE PHOTONICS TECHNOLOGY LETTERS, 2001, 13 (11) : 1194 - 1196
  • [36] Hardware acceleration of pseudo-random number generation for simulation applications
    McCollum, JM
    Lancaster, JM
    Bouldin, DW
    Peterson, GD
    PROCEEDINGS OF THE 35TH SOUTHEASTERN SYMPOSIUM ON SYSTEM THEORY, 2003, : 299 - 303
  • [37] Analysis of random grating period and amplitude errors in ultra-thin long-period grating
    Chung, KW
    Yin, SZ
    MICROWAVE AND OPTICAL TECHNOLOGY LETTERS, 2001, 30 (03) : 178 - 181
  • [38] Generation of different long-period geomagnetic pulsations during a sudden impulse
    A. V. Moiseyev
    V. I. Popov
    V. A. Mullayarov
    S. N. Samsonov
    A. Du
    A. Yoshikawa
    Cosmic Research, 2015, 53 : 257 - 266
  • [39] A Construction of Long-Period Sequences Based on Lightweight Generation and High Probability
    Zeng, Min
    Luo, Yuan
    Vinck, A. J. Han
    IEEE TRANSACTIONS ON COMMUNICATIONS, 2014, 62 (11) : 4012 - 4023
  • [40] Generation and conversion of optical vortices in long-period twisted elliptical fibers
    Alexeyev, Constantine N.
    Fadeyeva, Tatiana A.
    Lapin, Boris P.
    Yavorsky, Maxim A.
    APPLIED OPTICS, 2012, 51 (10) : C193 - C197