﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc	mlocked
11026	mythpreviewgen is run with too high a scheduling priority; causes stuttering playback	O Lupton <oliverlupton@…>	Raymond Wagner	"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."	Bug Report - General	closed	minor	0.27	MythTV - Mythpreviewgen	0.25-fixes	medium	fixed	mythpreviewgen, nice, ionice		0
