[sheepdog] [PATCH] test: Implentment fast random on AES

Liu Yuan namei.unix at gmail.com
Mon May 6 10:11:41 CEST 2013


On 05/06/2013 04:07 PM, Joseph Glanville wrote:
> It's not quite as fast as /dev/zero but it's pretty quick:
> 
> $ _random | dd iflag=fullblock bs=1M of=/dev/null count=1000
> error writing output file
> 1000+0 records in
> 1000+0 records out
> 1048576000 bytes (1.0 GB) copied, 0.733022 s, 1.4 GB/s

Yeah, it looks much better than 'dd /dev/urandom' which on my box just
have 14.9 MB/s.

But 'error writing output file' should be fixed.

Thanks,
Yuan



More information about the sheepdog mailing list