On 01/04/2012 05:52, Stan Hoeppner wrote:
[...]
5. The real application is 200 D1(2Mb/s) video streams write 500MB
files on the XFS.
This is a 50 MB/s raw stream rate with 200 writers to 200 target files.
It is very likely that neither 8 nor 16 disks in RAID5 will be able to
sync this rate due to excessive head seeking, as I previously mentioned.
Handwaving slightly here, but I wonder whether using a lot of write
cache will help aggregate writes here, since it's not actually random
writes. If I were to model it as 250MB written every 5 seconds from 200
writers, that might be able to be persuaded into 40 writes per second,
which shouldn't cause excessive head seeking. It would be helpful if
there were also enough additional cache that the reads for any RAID5
read-modify-write cycles mostly came from cache and didn't need seeks.
It should be possible to set this up such that, in the event of a crash
or hardware failure, the filesystem and files are consistent, though
obviously the last 5 seconds of each file is likely to be lost.
Having said that, even if it can be persuaded to work, I agree that it's
still the wrong way to go; RAID10 or indeed RAID1+linear look like much
better solutions.
Cheers,
John.
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html