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

Joseph Glanville joseph at cloudscaling.com
Mon May 6 10:14:08 CEST 2013


Yes I fixed this. It was due to the way collie was reading the output of
OpenSSL.
By putting dd between them and forcing it to read blocks it has fixed the
issue.

Joseph.


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

> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wpkg.org/pipermail/sheepdog/attachments/20130506/9d14bc5a/attachment-0004.html>


More information about the sheepdog mailing list