So I tested how a zpool with ashift=9 performed versus a zpool with ashift=12.
The drives used where the Seagate Barracuda green 2TB 5900RPM SATA3 64MB (ST2000DL003). These drives are 4kb drives but uses a SmartAlign technology for handling it, I havent been able to find any info on how it works tho.
I tested setups with both 3 and 4 disks in RAIDZ1.
The machine was an AMD II X4 630, 12 GB ECC memory, Asus M4A785TD-V.
What I did:
I started by creating a basic zpool on Solaris Express 11, then when running the command:
it returned ashift=9.
From napp-it I then ran the bonnie++ benchmark and got these numbers:
When using 3 drives in RAIDZ1
When using 4 drives in RAIDZ1
Now to create a zpool with the ashift=12 I had to use ZFS Guru. I downloaded the Live CD and from the GUI created a zpool with:
Sector size override 4k
Now when using
it returned ashift=12.
Then I restarted with Solaris Express 11 and did a simple zpool upgrade test and then ran the bonnie++ benchmark from the GUI.
When using 3 drives in RAIDZ1
When using 4 drives in RAIDZ1
So the question is, why is it faster using ashift=9 when the disks are 4kb disks. The only thing improving when using ashift=12 is the read when using 3 Drives. By the looks of it there's no point in struggling with the align=12 since i get worse performance
I'm also considering getting a fifth Seagate drive so I have that "optimal" number of drives when using RAIDZ1, but so far I have had no problem running 4 drives in RAIDZ1.
Thoughts?
The drives used where the Seagate Barracuda green 2TB 5900RPM SATA3 64MB (ST2000DL003). These drives are 4kb drives but uses a SmartAlign technology for handling it, I havent been able to find any info on how it works tho.
I tested setups with both 3 and 4 disks in RAIDZ1.
The machine was an AMD II X4 630, 12 GB ECC memory, Asus M4A785TD-V.
What I did:
I started by creating a basic zpool on Solaris Express 11, then when running the command:
Code:
zdb tank | grep ashift
From napp-it I then ran the bonnie++ benchmark and got these numbers:
When using 3 drives in RAIDZ1
When using 4 drives in RAIDZ1
Now to create a zpool with the ashift=12 I had to use ZFS Guru. I downloaded the Live CD and from the GUI created a zpool with:
Sector size override 4k
Now when using
Code:
zdb tank | grep ashift
Then I restarted with Solaris Express 11 and did a simple zpool upgrade test and then ran the bonnie++ benchmark from the GUI.
When using 3 drives in RAIDZ1
When using 4 drives in RAIDZ1
So the question is, why is it faster using ashift=9 when the disks are 4kb disks. The only thing improving when using ashift=12 is the read when using 3 Drives. By the looks of it there's no point in struggling with the align=12 since i get worse performance
I'm also considering getting a fifth Seagate drive so I have that "optimal" number of drives when using RAIDZ1, but so far I have had no problem running 4 drives in RAIDZ1.
Thoughts?