<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi there,<br>
<br>
I've recently setup a mythtv box, and am very happy with the result.&nbsp;
However, I often see a 1 or 2 second pause watching live TV, and I've
figured out that this always seems to correspond to the completion of a
transcode job.&nbsp; I'm running Ubuntu Edgy, with Linux kernel 2.6.20, and
mythtv 0.20-fixes (svn r12509).<br>
<br>
It is a combined frontend/backend and is a pretty powerful machine:<br>
<ul>
  <li>AMD X2 3600+ (dual core)</li>
  <li>1GB ram</li>
  <li>Asus M2NPV-VM motherboard (with onboard Nvidia 6150)</li>
  <li>3 DVB-T tuners</li>
  <li>WD SATA2 HD</li>
</ul>
<br>
It has no problem handling commflagging and transcoding while watching
TV, but when the transcode completes it has troubles.&nbsp; I only allow one
job to run at a time, and there is no other load on the box.&nbsp; To me it
seems that the IO of deleting the original recording is probably
causing the problem.<br>
<br>
Here's the backend logs showing the problem:<br>
<tt><br>
</tt>
<blockquote><tt>2007-03-06 22:47:25.430 Transcoding
/var/lib/mythtv//2503_20070306203500.mpg done<br>
2007-03-06 22:47:28.630 TFW, Error: Write() -- IOBOUND begin cnt(9400)
free(4899)<br>
2007-03-06 22:47:32.930 TFW, Error: Write() -- IOBOUND end<br>
2007-03-06 22:47:33.061 JobQueue: Transcode Finished: CSI: Crime Scene
Investigation "Who Shot Sherlock?": 1.1 GB (High Quality)</tt><br>
  <br>
</blockquote>
I have the "Delete files slowly" option enabled, because when I was
going through setup because it sounded like a good idea.&nbsp; Maybe this
makes things worse?&nbsp; I'll try disabling the slow delete to see if it
improves the behaviour.<br>
<br>
Any ideas on how to improve the behaviour?&nbsp; What could be causing
this?&nbsp; Any experience with the "delete files slowly" option?<br>
<br>
Thanks,<br>
Matt<br>
</body>
</html>