[mythtv-users] Force Comm Flagger to FE

Alan Calvert cal at graggrag.com
Tue Oct 23 07:32:06 UTC 2007


Doug Young wrote:
> On 10/22/07, Ma Begaj <derliebegott at gmail.com> wrote:
>> 2. give mythfrontend the highest (or higher) priority then commflaging
>> process. you can define commflaging command in mythtv-setup. the
>> command is usually "mythcommflag". you can change this to "nice -n 19
>> mythcommflag" to give it the lowest priority. mythfrontend is usually
>> run with priority 0 (zero) I believe. This works for me pretty well.
> 
> 1: Top-posting reminder ;-)
> 
> 2: Check the following link on "nice"ing mythcommflag.  Several people
> have had issues with this, and Chris Pinkham pointed out that changing
> the command line as suggested changes the behavior.  He also points
> out what the proper command line would be.
> 
> http://www.gossamer-threads.com/lists/mythtv/users/292015?search_string=nice%20mythcommflag;#292015
> 

Drifting a little toward off topic, but not too far... kernel 2.6.23 features a
new scheduler (old news). It includes provision of SCHED_IDLEPRIO, which
originated with the now defunct ck kernel series -
  <http://ck.wikia.com/wiki/SchedulingPolicies#SCHED_IDLEPRIO>

I'm a long time user of ck kernels and value SCHED_IDLEPRIO highly. On my myth
systems I use it for commflag and transcode jobs, and it's just brilliant -
maximum throughput on the backstage grinds with zero impact on front of house
stuff.

Granted, this is dependent on kernel >=2.6.23, but eventually that will permeate
to the distributions so it's possibly worth some thought somewhere along the way.

Cheers.


More information about the mythtv-users mailing list