[mythtv-commits] Ticket #11147: MythArchive ought to run at lower priority

MythTV noreply at mythtv.org
Fri Oct 26 10:45:03 UTC 2012


#11147: MythArchive ought to run at lower priority
----------------------------------+----------------------------
 Reporter:  J.Pilk@…              |          Owner:
     Type:  Bug Report - General  |         Status:  new
 Priority:  minor                 |      Milestone:  unknown
Component:  MythTV - General      |        Version:  0.25-fixes
 Severity:  medium                |     Resolution:
 Keywords:                        |  Ticket locked:  0
----------------------------------+----------------------------

Comment (by J.Pilk@…):

 I've added this at the end of the import section in mythburn.py and
 responses feel sharper; I'm still seeing 'TFW took a long time' when
 recording while running MythArchive but it doesn't seem to result in
 failed or corrupt recordings. I suspect that it would improve matters
 further if disk-intensive activities such as remuxing used different
 spindles for source and destination but I haven't yet tried scripting that
 here.

 import psutil[[BR]]
 p = psutil.Process(os.getpid())[[BR]]
 p.set_ionice(psutil.IOPRIO_CLASS_IDLE)[[BR]]


 In Fedora psutil is in the python-psutil package.

-- 
Ticket URL: <http://code.mythtv.org/trac/ticket/11147#comment:1>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list