<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:courier,monaco,monospace,sans-serif;font-size:12pt"><div style="font-family: courier,monaco,monospace,sans-serif; font-size: 12pt;"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">&gt; ----- Original Message ----<br>&gt; From: John Drescher &lt;drescherjm@gmail.com&gt;<br>&gt; To: Discussion about mythtv &lt;mythtv-users@mythtv.org&gt;; huffcs@yahoo.com<br>&gt; Sent: Friday, May 18, 2007 1:00:14 PM<br>&gt; Subject: Re: [mythtv-users] Audio Sync problem -- need help<br>&gt; <br><div>&gt; &gt; John,<br>&gt; &gt;<br>&gt; &gt; Thanks for the input.&nbsp;&nbsp;Can you point me in the direction of information on<br>&gt; &gt; how to do this?&nbsp;&nbsp;(Changes to mythArchive scripts?&nbsp;&nbsp;Manual operations before<br>&gt; &gt; invoking mythArchive? ???)<br>&gt; &gt;&nbsp;&nbsp;Craig Huff<br>&gt; &gt;<br>&gt; I believe the only change to
 the mytharchive script was to remove the<br>&gt; --fix-sync option. I have posted my script that does the commercial<br>&gt; cutting a few weeks back on the list. If you can not&nbsp;&nbsp;find it please<br>&gt; contact me and I will try to find it in my mail account as I am at<br>&gt; work and as a result of some hardware failure I can not ssh into my<br>&gt; home network...<br>&gt; <br>&gt; The script is pxcut.sh. It needs to be edited and all instances of<br>&gt; jmd0 need to be replaced with the name of your master backend machine.<br>&gt; Also paths need to be updated to match your setup.<br>&gt; <br>&gt; Now what I do is I first go in mythtv. View the show and press E to<br>&gt; edit then I hit page-down (I believe) to turn on the commflag cuts.<br>&gt; Then I edit these for each show that I want to cut. Then I exit<br>&gt; mythfrontend and do a<br>&gt; <br>&gt; ls *&lt;something showspecific&gt;.mpg | xargs -n1 -i sh pxcut.sh {}<br>&gt; <br>&gt; Then this cuts all
 the shows that I had selected in the ls command<br>&gt; renaming the originals to filename.mpg.old.<br>&gt; <br>&gt; Then after that I run mytharchive for the shows I cut. I usually do<br>&gt; this days after I did the cut.. This proceedure has only failed on 1<br>&gt; dvd for me and I have made &gt; 100 with mytharchive.<br>&gt; <br>&gt; John<br></div></div><br>John,<br><br>Thanks again!&nbsp; I got the script and will give it a whirl.<br><br>Now that I'm at home, I was looking at my mythbackend.log file and see that there are occasional entries like these during recording times:<br><br>2007-05-17 22:31:06.766 TFW, Error: Write() -- IOBOUND begin cnt(2048) free(1091)<br>2007-05-17 22:31:07.185 TFW, Error: Write() -- IOBOUND end<br><br>As a first action, I am changing my backend settings to disable the option "Start Auto-Commercial Flagging jobs when the recording starts".<br><br>Can you (or anyone else reading this) advise me, given the configuration info below, what I
 need to do to eliminate the I/O bounding?<br><br>Athlon 64 3200+ (2GHz?) on an ASUS A8N-SLI motherboard running 2.6.20-1.2944_1.fc6 with Suspend2 installed and configured<br>512 MB RAM (DDR 333 / PC2700)<br>WD 250GB PATA HD<br>(partitioned with separate slices for /, /var, swap, /boot, and /video with<br>root, /var, and /boot formatted ext3 with journals, and /video configured as an LVM volume with ext3 and journal)<br>PVR-350<br>PVR-500<br>GE Force 7300GS PCIe w/ TV-Out using nvidia-graphics9755 driver<br>AHA-2940 Adaptec SCSI PCI adapter (for SCSI tape backup)<br>DVD+/-RW drive<br>IOMEGA 250MB Zip drive<br><br>In particular, do I need or would I benefit from more RAM?<br>Am I likely hitting a disk I/O throughput limit and will replacing the PATA drive with an SATA drive make much difference?&nbsp; Do I need to consider using the motherboard-supported SATA RAID and mirror a couple of SATA drives?&nbsp; Avoid the hardware RAID and configure software RAID?<br><br>What
 should I look at to determine the source of the IOBOUND issue?<br><br>Craig Huff<br></div></div><br>
      <hr size=1>Looking for a deal? <a href="http://us.rd.yahoo.com/evt=47094/*http://farechase.yahoo.com/;_ylc=X3oDMTFicDJoNDllBF9TAzk3NDA3NTg5BHBvcwMxMwRzZWMDZ3JvdXBzBHNsawNlbWFpbC1uY20-">Find great prices on flights and hotels</a> with Yahoo! FareChase.</body></html>