<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im"><br></div></blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="im">
&gt; But do yourself a favor and DONT USE RAID.<br>
&gt;<br>
&gt; I ran a variety of RAID configurations over the years and have finally seen<br>
&gt; the error of my ways.<br>
<br>
&gt; Mythtv works best with multiple drives in it&#39;s storage groups and does a<br>
&gt; wonderful job spreading the load out.<br>
<br>
</div>True: MythTV does work quite well with independent disks, and for<br>
MythTV-only use RAID may not pay off. But it&#39;s not quite that<br>
clear-cut as you suggest.<br>
<div class="im"><br>
&gt; With my arrays, I would hear the drives thrashing as I recorded 2-3<br>
&gt; channels, watched one recording, and had a commflag running, the<br>
&gt; heads were all over the disks; because the array used all of the<br>
&gt; disks for each of 5 processes.<br>
<br>
</div>That can happen - getting a RAID array to be efficient with<br>
multiple processes takes some tuning, you need more RAM<br>
for buffering and good SATA card(s).<br>
<br>
But my 5-disk RAID10 server can handle everything I can throw<br>
at it over gigabit network, including several mythtv recordings<br>
at the same time with lots of other stuff going on.<br>
There&#39;s no way I could&#39;ve gotten similar performance without RAID.<br>
<br>
If it was dedicated to MythTV use, it might not be worthwhile,<br>
especially if you&#39;re not managing RAID arrays otherwise,<br>
as it does add complexity to the system and getting it to<br>
run well takes time and effort.<br></blockquote><div><br></div><div>I am speaking in context of a Myth backend... if they have additional needs that warrant the increased bandwidth for a single read/write operation that is a different story altogether.  A typical disk can support multiple recording and playback operations and the data rates we see in modern media, so bandwidth saturation isn&#39;t an issue. </div>

<div><br></div><div>Additionally, most RAID arrays bandwidth is lower than the combined JBOD bandwidth (perhaps not with a high end controller or ideal workload). But doing X reads/writes across X individual disks will likely be faster than doing X reads/writes to a single array (if X is greater than 2 or 3).</div>

<div> </div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
&gt; Additionally, software raid has significant overhead... so a few percent of<br>
&gt; my processor was dedicated to just handling the IO.<br>
<br>
</div>That is hardly significant unless you&#39;re using Atom or similar<br>
ultra-low-power CPU.</blockquote><div><br></div><div>Depends upon how you define significant.  I noticed my commflagging and transcoding jobs complete between 5 &amp; 10% faster after splitting the array.  I know it is only a couple % of processor time... but I don&#39;t believe that it&#39;s all about processor time.  My experience makes me believe that some processes may only use 1 or 2% cpu time but have a substantially greater impact on a CPU limited process; software raid is one of those.  I suspect it has to do with cache or RAM bandwidth/utilization, though I would think that DMA would limit that impact.</div>

<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
What RAID gives you that no backup can is uptime: recording won&#39;t<br>
stop because one disk dies. And that is really the only good reason<br>
for considering RAID in a dedicated mythtv box.<br></blockquote><div><br></div><div>Very few, mythtv users need a HA (high availability) myth server.  While it stinks to miss your favorite show, or even a couple of them... the cost of a RAID array (even software RAID) far exceeds the loss.  Perhaps if your career or business depended upon seeing a particular recording... but then there are so many other things that you would need to put in place to ensure that you didn&#39;t miss it (redundant tuners, cable/antenna feeds, that RAID would only be the start).</div>

<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
RAID can also give serious performance boost, but as noted that takes some<br>
tuning and in a mythtv-only setup set of single disks will do quite<br>
well without any effort.<br></blockquote><div><br></div><div>It is false that RAID gives you a performance boost.  No RAID array can sustain transfers faster than the transfer rate of the individual drives combined.  Try it some time; create the fastest array you can and stream 100GB of zeros to it.  Now split the array and write 100GB/# of drives to each drive simultaneously.  Unless your controller simply can&#39;t handle standalone disks well, you should find that the same amount of data can be written to your drives faster than it could when they are RAIDed.  All RAID has a performance HIT not a boost.</div>

<div><br></div><div>Where RAID is faster is doing single operations.  Rarely, such as when concurrent recordings seem to all be going to the same disk (because of the logic behind the storage group load balancing) a RAID array would have the advantage... but MOST of the time, the load is spread pretty equally, so I am getting better performance than what RAID can offer.</div>

<div><br></div><div><br></div></div>