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 <[email protected]> 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
>
>
>
-- 
sheepdog mailing list
[email protected]
http://lists.wpkg.org/mailman/listinfo/sheepdog

Reply via email to