Gentoo Archives: gentoo-amd64

From: Mark Knecht <markknecht@×××××.com>
To: Gentoo AMD64 <gentoo-amd64@l.g.o>
Subject: Re: [gentoo-amd64] Re: Is my RAID performance bad possibly due to starting sector value?
Date: Sun, 23 Jun 2013 01:48:20
Message-Id: CAK2H+efOjQf7jVNTZ9eg3QO4UTUx0+yR2zzxJgMECrg5B-w70Q@mail.gmail.com
In Reply to: Re: [gentoo-amd64] Re: Is my RAID performance bad possibly due to starting sector value? by Mark Knecht
1 On Sat, Jun 22, 2013 at 6:02 PM, Mark Knecht <markknecht@×××××.com> wrote:
2
3 > if what you are suggesting is more like this very short example:
4 >
5 > mark@c2RAID6 /VirtualMachines/bonnie $ dd if=/dev/urandom of=urandom1
6 > bs=4096 count=$[1000*100]
7 > 100000+0 records in
8 > 100000+0 records out
9 > 409600000 bytes (410 MB) copied, 25.8825 s, 15.8 MB/s
10 > mark@c2RAID6 /VirtualMachines/bonnie $
11 >
12
13
14 Duncan,
15 Actually, using your idea of piping things to /dev/null it appears
16 that the random number generator itself is only capable of 15MB/S on
17 my machine.
18
19 mark@c2RAID6 /VirtualMachines/bonnie $ dd if=/dev/urandom of=/dev/null
20 bs=4096 count=$[1000]
21 1000+0 records in
22 1000+0 records out
23 4096000 bytes (4.1 MB) copied, 0.260608 s, 15.7 MB/s
24 mark@c2RAID6 /VirtualMachines/bonnie $
25
26 It doesn't change much based on block size of number of bytes I pipe.
27
28 If this speed is representative of how well that works then I think
29 I have to use a file. It appears this guy gets similar values:
30
31 http://www.globallinuxsecurity.pro/quickly-fill-a-disk-with-random-bits-without-dev-urandom/
32
33 On the other hand, piping /dev/zero appears to be very fast -
34 basically the speed of the processor I think:
35
36 mark@c2RAID6 /VirtualMachines/bonnie $ dd if=/dev/zero of=/dev/null
37 bs=4096 count=$[1000]
38 1000+0 records in
39 1000+0 records out
40 4096000 bytes (4.1 MB) copied, 0.000622594 s, 6.6 GB/s
41 mark@c2RAID6 /VirtualMachines/bonnie $
42
43 - Mark

Replies