<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sun, Nov 30, 2014 at 8:51 AM, Thomas Börkel <span dir="ltr"><<a href="mailto:thomas@boerkel.de" target="_blank">thomas@boerkel.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
one of my systems does most of the time very heavy IO activity during<br>
recording, meaning that the disk is making noises and the LED is<br>
flickering like hell. Every now and then, activity slows down and then<br>
raises again shortly after.<br>
<br>
My other system can record 4 shows concurrently with very little<br>
visible/hearable disk activity.<br>
<br>
I am at the moment testing recording the same 2 HD shows on both systems<br>
(no commflagging) and the difference in activity is pretty big.<br>
<br>
But the thing is, the 2 systems are pretty similar.<br>
<br>
System 1 (low activity):<br>
- AsRock mainboard, Core i5 Ivy Bridge<br>
- SSD for system (deadline), 3 TB WD RED for recordings (cfq)<br>
- kernel 3.14.16<br>
<br>
System 2 (high activity):<br>
- AsRock mainboard, Core i5 Sandy Bridge<br>
- SSD for system (deadline), 4 TB WD RED for recordings (cfq)<br>
- kernel 3.16.5<br>
<br>
Both recording partitions are XFS with noatime,nodiratime. Both disks<br>
are using udma6.<br>
<br>
I see only mythbackend threads at the top when using iotop (2 MB/s total<br>
disk write).<br>
<br>
I also tried IO scheduler noop and deadline with no visible difference.<br>
<br>
Is there anything in MythTV or in the kernel config, I can possibly<br>
configure, like IO buffer size?<br>
<br>
Thanks!<br>
<br>
Regards,<br>
Thomas<br></blockquote><div><br></div><div>Is NCQ enabled? On my motherboard the controller SATA mode is not AHCI by default so I had to enable it in the BIOS. This post is a good reference for checking it: <a href="http://forums.fedoraforum.org/showpost.php?s=e03f78859973c9cd7094b67060295547&p=957135&postcount=2">http://forums.fedoraforum.org/showpost.php?s=e03f78859973c9cd7094b67060295547&p=957135&postcount=2</a> Essentially, you can check it by
cat /sys/block/sdX/device/queue_depth (where X is your SATA device--a, b, c, etc.) If the depth is greater than 1, then NCQ is enabled.<br><br></div><div>Karl<br></div></div></div></div>