Performance of /dev/urandom and /dev/random
From: Mihir Pandya <hidden>
Date: 2012-09-28 14:59:05
Thanks, that helped.
From what I've read so far, the capacity of my entropy pool is 4096 bytes
and it's current size is 155 bytes. I'm wondering if the size of the entropy pool affects the speed of generating the random numbers because instead of breaking when the entropy pool runs out of bytes, urandom will read the entropy pool again and generate more random numbers. So a smaller pool size would mean that the frequency of file re-reads is higher which would make it slower? If I wanna test this hypothesis, is there any convenient way for me to manually alter the size of the entropy pool size? I'm really trying to optimize the generation of the cyrptographically secure random numbers. On Fri, Sep 28, 2012 at 6:09 AM, Mulyadi Santosa [off-list ref]wrote:
Hi... On Fri, Sep 28, 2012 at 3:54 PM, Sannu K [off-list ref] wrote:quoted
So urandom will take more time than /dev/random.it's the other way around.... -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com
-- Mihir Pandya -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20120928/e115cb9c/attachment-0001.html