基于xoroshiro128的快速硬件伪随机数发生器
A Fast Hardware Pseudorandom Number Generator Based on xoroshiro128
摘要:
Graphcore智能处理单元包含一个原始的伪随机数发生器(PRNG),称为xoroshiro 128 aox,基于F2线性发生器xoroshiro 128。它被设计为在硬件中实现成本低廉,并提供高质量的统计随机性。在本文中,我们提出了一个严格的评估发电机的质量使用标准的统计测试套件,并比较结果与快速当代PRNG xoroshiro 128+,pcg 64和philox 4x 32 -10。我们表明,xoroshiro 128 aox减轻了xoroshiro 128+低阶位的已知弱点,通过传递BigCrush和PractRand套件,使用新的“AOX”输出函数,但我们注意到该函数具有一些轻微的不均匀性。我们专注于我们的测试与线性文物的具体测试,以突出两个xoroshiro 128 PRNG的弱点,但得出的结论是,他们很难检测,和xoroshiro 128 aox,否则提供了一个很好的权衡统计质量和硬件实现成本之间。
英文摘要:
The Graphcore Intelligence Processing Unit contains an original pseudorandom number generator (PRNG) called xoroshiro128aox, based on the F2-linear generator xoroshiro128. It is designed to be cheap to implement in hardware and provide high-quality statistical randomness. In this paper, we present a rigorous assessment of the generator's quality using standard statistical test suites and compare the results with the fast contemporary PRNGs xoroshiro128+, pcg64 and philox4x32-10. We show that xoroshiro128aox mitigates the known weakness in the lower order bits of xoroshiro128+ with a new 'AOX' output function by passing the BigCrush and PractRand suites, but we note that the function has some minor non uniformities. We focus our testing with specific tests for linear artefacts to highlight the weaknesses of both xoroshiro128 PRNGs, but conclude that they are hard to detect, and xoroshiro128aox otherwise provides a good trade off between statistical quality and hardware implementation cost.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。