Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^3: Your random numbers are not that random

by Anonymous Monk
on Jul 23, 2012 at 01:04 UTC ( #983095=note: print w/replies, xml ) Need Help??


in reply to Re^2: Your random numbers are not that random
in thread Your random numbers are not that random

/dev/random and /dev/urandom are used to supply entropy (randomness) to the system. They both come from the same pool of randomness in the kernel. One blocks until enough randomness is obtained to provide a number. The other tries to make due with however much randomness the kernel has (and doesn't block).

Haveged (and other programs) are means to supply the kernel with randomness. By default, haveged manages a 1M buffer of randomness. Haveged does not appear to keep open a file for this buffer of randomness, so perhaps it doesn't write the buffer to disk on shutdown.

But in any event, it seems to build the pool of randomness in the kernel faster than most other things I've tried.

  • Comment on Re^3: Your random numbers are not that random

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://983095]
help
Chatterbox?
[erix]: ha, the tick and, as it happens, also the curator (now a professor of Paleont.)
[1nickt]: s/there/their/, ugh sorry.
[Your Mother]: Heh. The only one I ever had on me, I caught on my shin, headed north.
erix looks nervously I got away cleanly from my run , it seems :)
1nickt doesn;t remember there being ticks in the old country ...
erix too fast for ticks!
[erix]: 'the old country' is where?
[erix]: that means britain for americans, is that right?
[perldigious]: We need to get more high tech about pest defense to prevent tick and mosquito problems. :-)
[erix]: perldigious or develop thicker skin

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (15)
As of 2017-05-24 13:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?