PRNG REQUIREMENTS AND THE NEW MIXMAX PRNG
- J. Apostolakis
1
PRNG REQUIREMENTS AND THE NEW MIXMAX PRNG J. Apostolakis 1 - - PowerPoint PPT Presentation
PRNG REQUIREMENTS AND THE NEW MIXMAX PRNG J. Apostolakis 1 Overview What do we need from a PRNG? What makes a good PRNG? What Dynamical Systems tell us The MIXMAX generator Properties, speed Availability 2
1
2
a probability distribution function
behaviour which cannot be distinguished from numbers sampled from a truly random source
3
4
6 steps/event * 10 10 events/year
5
(desktop or accelerator)
6
7
most troubling issue - provides a mathematical underpinning (Savvidy 1990)
between nearby initial states
correlations in the generated random sequences. In particular, subsequences of numbers separated by several correlation times are highly decorrelated and thus provide a much better source of (pseudo) random numbers.” ( Ref 1a) )
is completely lost
8
9
❖ One must study the spectrum of eigenvalues and none
❖ Entropy is equal to ❖ Decay of correlations is governed by entropy:
h = X
|λ|>1
ln λ
i=1...N
|λ|
1/4 4 16 64
τ0 ≤ 1/h
10
❖ RCARRY at the core of RANLUX has a simple multiplier
matrix so gives small eigenvalues - so the deceleration is
good decorrelation (luxury level=5)
RCARRY - The eigenvalues closest to the circle has |λ| ≈ 1.0085, and the farthest |λ| ≈ 1.043.
❖ The Mersenne
Twister is worse - also due to sparse matrix and polynomial.
Mersenne Twister- eigenvalues have |λ|< 1.002
11
12
Size Magic Entropy Period q is N s (lower bound) τ/q ≈ log10(q) fully factored BigCrush 10 −1 6.2 1/4 165 Yes 33 16 6 9.9 1/32 275 Yes > 13 40 1 24.6 1/4 716 Yes 3 44 27.1 1/4 789 No 4 60 4 37.0 1 1083 Yes 2 64 6 39.4 1/8 1156 No 1 (?) 88 1 54.2 1/2 1597 No Pass 256 −1 157.7 1 4682 No Pass 508 5 313.0 1 9309 No Pass 720 1 443.6 1 13202 No Pass 1000 616.1 1/20 18344 No Pass 1260 15 776.3 1/2 23118 No Pass 3150 −11 1940.8 1/12 57824 No Pass
256 487013230256099064 with good period and large eigenvalue (3000) for fast deceleration
is the current choice
New:
13
correlation => obtain a ‘perfect’ RNG using decimation
CLHEP’s Merseine Twister
14
15
a) http://cern.ch/luscher/ranlux/index.html b) M. Lüscher, Comp. Phys. Comm. 79 (1994) 100
573–579, Dec. 1991.
a) K. G. Savvidy, Comp. Physics Comm., Vol 196, November 2015, pp 161-165, http://dx.doi.org/10.1016/j.cpc.2015.06.003 b) http://mixmax.hepforge.org/
at https://indico.cern.ch/event/404547/
16
17
18
19
20