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
<[email protected]>wrote:

> Hi...
>
> On Fri, Sep 28, 2012 at 3:54 PM, Sannu K <[email protected]> wrote:
> >
> >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
_______________________________________________
Kernelnewbies mailing list
[email protected]
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Reply via email to