I have a Core2Duo Quad core, 6 GB memory machine. Rocket RAID 2340 controller, all disks set up as single disks JBODs with 512 b sectors. This pretty much sums things up.
I was absolutely fed up with the speed I was getting with my zpool, raidz. I had 8 disks in 2 RAID sets of 4 disks each.
And the speed was about 1/2 that of a Drobo, which is awful.
So I went ahead and played with the machine, with 8 disks in it. This is the script I ran, of course I changed the top line for every test and I know I could have used a loop and variables, but that is not the main issue. The results were startling.
The script:
As you see I ran these tests 2 times, I also ran it 3 times but the numbers never varied out of the results.
What totally blew me away was the fact that 5 disks, not 4 disks as I always had thought was the ticket. I always assumed that 4 disks were the trick and 1 disk used in parity, like RAID 5. Boy was I wrong on that one.
What are your ideas?
I was absolutely fed up with the speed I was getting with my zpool, raidz. I had 8 disks in 2 RAID sets of 4 disks each.
And the speed was about 1/2 that of a Drobo, which is awful.
So I went ahead and played with the machine, with 8 disks in it. This is the script I ran, of course I changed the top line for every test and I know I could have used a loop and variables, but that is not the main issue. The results were startling.
The script:
Code:
zpool create test raidz da0 da1 da2 da3 da4 da5 da6 da7
zfs create test/test
cd /test/test
dd if=/dev/zero of=bigfile bs=1g count=1
dd if=/dev/zero of=bigfile2 bs=1g count=1
cd /
zpool destroy test
As you see I ran these tests 2 times, I also ran it 3 times but the numbers never varied out of the results.
Code:
nr disks in raidz test 1 test 2 diff
2 121,183,628.00 123,502,780.00 -2,319,152
3 201,231,672.00 194,088,892.00 7,142,780
4 19,464,276.00 19,019,305.00 444,971
5 380,296,687.00 314,630,723.00 65,665,964
6 374,334,902.00 302,374,071.00 71,960,831
7 50,007,819.00 50,601,162.00 -593,343
8 148,222,800.00 34,818,756.00 113,404,044
nr disks in raidz2 test 1 test 2 diff
3 98,266,724.00 98,196,932.00 69,792
4 107,689,118.00 80,928,521.00 26,760,597
5 22,243,224.00 21,693,076.00 550,148
6 280,035,350.00 271,791,816.00 8,243,534
7 40,604,456.00 43,800,049.00 -3,195,593
8 376,802,816.00 262,737,139.00 114,065,677
What totally blew me away was the fact that 5 disks, not 4 disks as I always had thought was the ticket. I always assumed that 4 disks were the trick and 1 disk used in parity, like RAID 5. Boy was I wrong on that one.
What are your ideas?