Re: Edu mainserver - raid
On 31/05/13 11:16, Giorgio Pioda wrote:
> I have only 4 disk slots, unfortunately... And for this setup a
> minimum of 5 is fixed, I think.
> I don't remember where and why, but time ago I've read that raid5 is not
> the best choice for NFS mounts. [...]
That's probably because NFS does synchronous writes, and serving
multiple users could mean lots of random reads, so the array could
become limited by IOPS.
The type of disk will determine that most (SSD > 10kRPM SAS > 5.4kRPM
SATA). And if the RAID controller has a write cache (BBWC) that may
help, but I've found at least the HP Smart Array P410 to be quite poor.
Total IOPS are affected by RAID configuration something like:
* 4 disks in RAID 5 => get 1x IOPS, N-1 = 3x capacity
* RAID 1+0 (mirrored pairs) => get 2x IOPS, but less space (N/2 = 2x)
For big files the throughput should be about the same either way.
The best idea though is definitely to try it. Boot a live system and
test with iozone or bonnie++ with several GiB of data. But predicting
IOPS/throughput a deployed system will need is hard...