ThundeRiNG:在FPGA上产生多个独立的随机数序列
ThundeRiNG: Generating Multiple Independent Random Number Sequences on FPGAs
摘要:
在本文中,我们提出了ThundeRiNG,一个资源高效和高吞吐量的系统,用于在FPGA上生成多个独立的随机数序列(MISRN)。在数值计算和近似计算等许多应用中,生成MISRN可能是一个耗时的步骤。尽管在FPGA上产生单个随机数序列的数十年研究已经实现了非常高的吞吐量和高质量的随机性,但是现有的MISRN方法要么遭受严重的资源消耗,要么不能实现序列之间的统计独立性。相比之下,ThundeRiNG通过在多个序列之间使用资源高效的解相关器来解决依赖性,从而保证随机性的高统计质量。此外,ThundeRiNG在FPGA上开发了大量伪随机数发生器实例之间的新状态共享。实验结果表明,ThundeRiNG成功通过了广泛使用的统计测试TestU 0 1,生成任意数量的序列只消耗恒定数量的DSP(小于FPGA资源容量的1%),实现了每秒6 550亿个随机数的吞吐量。与最先进的GPU库相比,ThundeRiNG在MISRN上展示了$10.62\times$加速,并在两个应用程序($π$估计和Monte Carlo期权定价)上提供了高达$9.15\times$的性能和$26.63\times$的能效改进。该作品在Github上开源,网址为https://github.com/Xtra-Computing/ThundeRiNG。
英文摘要:
In this paper, we propose ThundeRiNG, a resource-efficient and high-throughput system for generating multiple independent sequences of random numbers (MISRN) on FPGAs. Generating MISRN can be a time-consuming step in many applications such as numeric computation and approximate computing. Despite that decades of studies on generating a single sequence of random numbers on FPGAs have achieved very high throughput and high quality of randomness, existing MISRN approaches either suffer from heavy resource consumption or fail to achieve statistical independence among sequences. In contrast, ThundeRiNG resolves the dependence by using a resource-efficient decorrelator among multiple sequences, guaranteeing a high statistical quality of randomness. Moreover, ThundeRiNG develops a novel state sharing among a massive number of pseudo-random number generator instances on FPGAs. The experimental results show that ThundeRiNG successfully passes the widely used statistical test, TestU01, only consumes a constant number of DSPs (less than 1\% of the FPGA resource capacity) for generating any number of sequences, and achieves a throughput of 655 billion random numbers per second. Compared to the state-of-the-art GPU library, ThundeRiNG demonstrates a $10.62\times$ speedup on MISRN and delivers up to $9.15\times$ performance and $26.63\times$ power efficiency improvement on two applications ($π$ estimation and Monte Carlo option pricing). This work is open-sourced on Github at https://github.com/Xtra-Computing/ThundeRiNG
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。