My company host a web app which is, in this order: CPU-bound, Memory-bound, Disk-Bound. Disk has never been a problem, since CPU was the main factor.
We used 4 disks in RAID 10, and everything was fine. Eventually some customers requiring higher speeds were hosted on SSDs.
Recently we upgraded our servers:
i7-2600, 32 gb ram,
gigabit fiber uplink,
4 x SATA III 3 TB 7.2 rpm disks,
software raid 10
CentOS 6
Now that the cpu is much faster, the disk subsystem started to become a problem.
I thought about installing 3 SATA disk in RaidZ with an SSD cache, using ZFS on CentOS, but I'm worried that the disk gain (if any) could be offset by additional CPU consumption.
My questions are:
1) How are the performance of ZFS on linux? I heard that there was a perfomance penality compared to FreeBSD
2) Is raidz cpu intensive? Can a RAID card help me?
3) Will my performance be closer to RAID10 or native SSD?
Consider that each VM has no more than 15 gb of space, and that we host no more than 15 VMs per server, so most of the data can be held within the SSD, but the additional space of SATA drives is very welcome for local backups.
The alternative to this configuration would be:
2 x SATA in Raid 1
2 x SSDs JBOD, with periodic (12h) synch with the disk (we can loose up to 24 hours of data without a problem)
with each machine with a partition for the data, and one for the backups. Anyhow this would complicate everything, by not being transparent, by being more expensive, by having a lower perfomance overall.
We used 4 disks in RAID 10, and everything was fine. Eventually some customers requiring higher speeds were hosted on SSDs.
Recently we upgraded our servers:
i7-2600, 32 gb ram,
gigabit fiber uplink,
4 x SATA III 3 TB 7.2 rpm disks,
software raid 10
CentOS 6
Now that the cpu is much faster, the disk subsystem started to become a problem.
I thought about installing 3 SATA disk in RaidZ with an SSD cache, using ZFS on CentOS, but I'm worried that the disk gain (if any) could be offset by additional CPU consumption.
My questions are:
1) How are the performance of ZFS on linux? I heard that there was a perfomance penality compared to FreeBSD
2) Is raidz cpu intensive? Can a RAID card help me?
3) Will my performance be closer to RAID10 or native SSD?
Consider that each VM has no more than 15 gb of space, and that we host no more than 15 VMs per server, so most of the data can be held within the SSD, but the additional space of SATA drives is very welcome for local backups.
The alternative to this configuration would be:
2 x SATA in Raid 1
2 x SSDs JBOD, with periodic (12h) synch with the disk (we can loose up to 24 hours of data without a problem)
with each machine with a partition for the data, and one for the backups. Anyhow this would complicate everything, by not being transparent, by being more expensive, by having a lower perfomance overall.
Last edited: