<div>Been running a software raid 5 for a few years (PATA even) with little issues.&nbsp; Using hdparm for speed tests helped me to tweak the stripe size and such.&nbsp; IIRC, it was about 3-4 times faster reading from the raid than from a single disk.
</div>
<div>&nbsp;</div>
<div>I don&#39;t write myth recordings to it, I use unRaid for my myth recordings.&nbsp; Check it out, it&#39;s free for just three drives, but you&#39;ll require another computer.<br><br>&nbsp;</div>
<div><span class="gmail_quote">On 10/25/07, <b class="gmail_sendername">Patrick Wagstrom</b> &lt;<a href="mailto:patrick@wagstrom.net">patrick@wagstrom.net</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Greg Arena wrote:<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I just recently bought a trio of 500 GB SATA hard disks<br>&gt; that I want to put together in a RAID 5 configuration for my
<br>&gt; MythTV box. These will only be used for storing recordings &amp;<br>&gt; videos - I have an 80GB PATA drive in place that I&#39;ll keep there<br>&gt; for the OS, MythTV software, logs, etc. I plan to use Linux&#39;s
<br>&gt; software RAID support - true hardware RAID was just too<br>&gt; expensive.<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I&#39;ve heard mixed reports about using RAID 5 for media<br>&gt; stuff. The MythTV wiki doesn&#39;t recommend it without expensive
<br>&gt; hardware RAID controllers, but yet I&#39;ve heard people talking<br>&gt; about their RAID 5 setups on this list and elsewhere. I was<br>&gt; wondering if anybody has gotten something similar working and<br>&gt; what settings they used (stripe size, etc.) since I&#39;ve never set
<br>&gt; up a RAID before. I&#39;ve already run some benchmarks using bonnie++<br>&gt; with one drive by itself to use for comparison after setting up<br>&gt; the RAID to try to make sure it&#39;s not going to degrade<br>
&gt; performance excessively. I&#39;m willing to spring for another hard<br>&gt; disk to go to a four-disk RAID 10 configuration if RAID 5 looks<br>&gt; like it&#39;ll be too slow.<br><br>I&#39;m not an expert on raid or filesystems by any extent, but I&#39;ve had no
<br>problems over the past two years running a 4x320GB SATA2 RAID5 array<br>with XFS on it.&nbsp;&nbsp;The actual amount of disk IO that MythTV needs to do is<br>pretty small, a couple of megabytes a second at most.&nbsp;&nbsp;I&#39;ve tested this
<br>with 3 HD and an SD recording with HD playback going on at the same time<br>on an Athlon 64x2 4400+ with no problems.<br><br>Performance wise, here&#39;s a comparision of block performance from Bonnie++:<br><br>IDE drive: Output 49971K/s, Input 50581K/s
<br>SATA raid: Output 43444K/s, Input 154578K/s<br><br>So yeah, it&#39;s a little slower for writes, but it&#39;s nice and fast for<br>reads.&nbsp;&nbsp;In any case, 43MB/s is fast enough for lots of HD streams.&nbsp;&nbsp;When<br>you have parallel readers/writers, the issue gets a little worse, but
<br>you still have enough overhead there for seek issues...which you&#39;d have<br>on RAID10 anyway.<br><br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I&#39;m also considering using XFS for the file system for<br>&gt; storing all the media files on this RAID. Any suggestions on how
<br>&gt; to optimize it for RAID 5 or RAID 10? I&#39;ve never used anything<br>&gt; but ext3 for my Linux boxes until now, so I&#39;m new to XFS as well.<br><br>XFS is a good choice.&nbsp;&nbsp;For Myth folks, one of the big advantages is that
<br>it&#39;s extents based, so deletes are pretty fast.<br><br>--Patrick<br>_______________________________________________<br>mythtv-users mailing list<br><a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a>
<br><a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a><br></blockquote></div><br>