[mythtv-commits] Ticket #348: mythfilldatabase run causing AV sync issues

MythTV mythtv at cvs.mythtv.org
Fri Aug 18 14:38:21 UTC 2006

#348: mythfilldatabase run causing AV sync issues
 Reporter:  jonese at zener.com  |        Owner:  ijr     
     Type:  defect            |       Status:  reopened
 Priority:  critical          |    Milestone:          
Component:  mythtv            |      Version:          
 Severity:  medium            |   Resolution:          
Changes (by lars+mythtv at larsshack.org):

  * status:  closed => reopened
  * resolution:  invalid =>


 This is an old ticket, but I'm running into the same problem a year later.
 Running mythfilldatabase when an encoder is active invariably causes
 'IOBOUND' errors and results in less than stellar recordings.  This is
 with MythTV 0.19 running on a 2.66Ghz system with a single 7200RPM
 ST3160021A drive.

 I agree with the original poster -- it's odd that populating the program
 database should swamp the system.  It's possible that something as simple
 as sleeping a few milliseconds between SQL statements could reduce the
 impact of this on the system (I haven't looked at the code -- perhaps the
 SQL needs optimizing?).

 Another solution would be adding a 'run mythfilldatabase only when
 encoders are idle' feature to the scheduler.

Ticket URL: <http://cvs.mythtv.org/trac/ticket/348#comment:7>
MythTV <http://www.mythtv.org/>

More information about the mythtv-commits mailing list