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

Joseph Glanville joseph at cloudscaling.com
Mon May 6 10:07:55 CEST 2013


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

$ cat /dev/zero | dd iflag=fullblock bs=1M of=/dev/null count=1000
1000+0 records in
1000+0 records out
1048576000 bytes (1.0 GB) copied, 0.185063 s, 5.7 GB/s


On Mon, May 6, 2013 at 12:58 AM, Liu Yuan <namei.unix at gmail.com> wrote:

> On 05/06/2013 03:45 PM, Joseph Glanville wrote:
> > Turns out this doesn't increase the test performance any as it is
> > actually I/O bound on my system.
>
> I have tried to modify '/dev/urandom' as '/dev/zero' for 008 and the
> result is
>
> vanilla: 94s, modified: 80s
>
> Looks it is a good boost if we can have a faster generator as fast as
> 'dd /dev/zero'.
>
> Thanks,
> Yuan
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wpkg.org/pipermail/sheepdog/attachments/20130506/ffdc2c2d/attachment-0004.html>


More information about the sheepdog mailing list