[mythtv-commits] Ticket #11026: mythpreviewgen is run with too high a scheduling priority; causes stuttering playback
MythTV
noreply at mythtv.org
Tue Aug 21 13:51:43 UTC 2012
#11026: mythpreviewgen is run with too high a scheduling priority; causes
stuttering playback
-------------------------------------+-------------------------------------
Reporter: O Lupton | Type: Bug Report -
<oliverlupton@…> | General
Status: new | Priority: minor
Milestone: unknown | Component: MythTV -
Version: 0.25-fixes | Mythpreviewgen
Keywords: mythpreviewgen, nice, | Severity: medium
ionice | Ticket locked: 0
-------------------------------------+-------------------------------------
mythpreviewgen seems to be run by default with too high a cpu/io
scheduling priority. This causes stuttering playback (particularly for HD
content) if a preview is generated in the background (for example, storing
a bookmark in the recording you are watching updates the preview and makes
the playback stutter).
For the moment I am working around this by moving mythpreviewgen to
mythpreviewgen.real and putting this script in its place:
{{{
$ cat bin/mythpreviewgen
#!/bin/bash
ionice -c 2 -n 7 nice -n 19 /usr/bin/mythpreviewgen.real --seconds 250
"$@"
exit
}}}
(this is less annoying, but the --seconds parameter is there because I
can't find another way of telling Myth how far too seek)
It would be neater if MythTV could automatically reduce the priority of
the mythpreviewgen process.
This seems to have been mentioned on the mailing list in the past, but I
couldn't find any tickets relating to it - apologies if I missed one.
--
Ticket URL: <http://code.mythtv.org/trac/ticket/11026>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
More information about the mythtv-commits
mailing list