[mythtv-users] Force Comm Flagger to FE

Ma Begaj derliebegott at gmail.com
Tue Oct 23 21:54:52 UTC 2007


2007/10/23, Alan Calvert <cal at graggrag.com>:
> 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.
>

I just compiled kernel 2.6.23.1.
Do you need schedtool for SCHED_IDLEPRIO? Or can I set it with something else?

Thanks

M.


More information about the mythtv-users mailing list