[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: /dev/random



On Sat, Aug 2, 2014 at 11:01 AM, Joel Rees <joel.rees@gmail.com> wrote:
> [...]
>
> Now, the random typing is not necessary.

Well, it's not as rosy as I thought, for /dev/random:

------------------------
duty@deb:~/math_work/sf/rollcalld$ time dd bs=128 count=16
if=/dev/random iflag=fullblock of=randump2
16+0 レコード入力
16+0 レコード出力
2048 バイト (2.0 kB) コピーされました、 107.939 秒、 0.0 kB/秒

real    1m47.945s
user    0m0.004s
sys    0m0.012s
duty@deb:~/math_work/sf/rollcalld$ time dd bs=128 count=16
if=/dev/urandom iflag=fullblock of=urandump2
16+0 レコード入力
16+0 レコード出力
2048 バイト (2.0 kB) コピーされました、 0.000850541 秒、 2.4 MB/秒

real    0m0.048s
user    0m0.004s
sys    0m0.004s
------------------------

I want to take a 2 MB dump from both and run some statistical stuff on
them. Which means I'm going to have to start the one for urandom in
the morning one day when I'm going to be doing something else with a
lot of typing and other entropy improving stuff and see how long it
takes to dump 16 kilobytes, and then try 64 kilobytes, and so forth
until I have an idea how long it will take.

-- 
Joel Rees

Be careful where you see conspiracy.
Look first in your own heart.


Reply to: