News for hackers. Stuff that matters.
Re:Linux /dev/urandom and concurrency by rafekett on Friday April 18, 2014 @02:53PM (#7610652)
overreliance on /dev/urandom in the presence of little entropy is a well known performance problem on servers. that's why http://en.wikipedia.org/wiki/Hardware_random_number_generato... exist
Re:Linux /dev/urandom and concurrency by claudius on Friday April 18, 2014 @03:00PM (#7610691)
If I understand that problem correctly, it has nothing to do with the amount of entropy available but is a simple synchronisation/locking issue. Were reads from, say, /dev/zero ‘protected’ by spinlocks in the same way, the same issue would arise. Conversely, I don’t see how adding a hardware RNG to the system could alleviate the locking issue.
Re:Linux /dev/urandom and concurrency by kevingadd on Friday April 18, 2014 @02:59PM (#7610685)
A hardware RNG isn't going to do anything to address the scalability problems inherent in having a single shared lock around /dev/urandom.
Re:Linux /dev/urandom and concurrency by jerf on Friday April 18, 2014 @03:34PM (#7610861)
/dev/urandom is not /dev/random.