[mythtv-users] Force Comm Flagger to FE
cal at graggrag.com
Tue Oct 23 22:20:19 UTC 2007
Ma Begaj wrote:
> 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.
>> 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 -
>> 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
>> 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 18.104.22.168.
> Do you need schedtool for SCHED_IDLEPRIO? Or can I set it with something else?
Yes to Quest 1, I use 'schedtool -D -e progname' in a wrapper script, keeping in
mind the caveats on feeding parameters to the wrapper. I imagine it could be done
programmatically from within myth, but that prospect is some way off. To Quest 2,
no, I'm not aware of another suitable utility in place of schedtool.
More information about the mythtv-users