[mythtv-users] mythcomflag - how do I set nice level?
Robert Tsai
rtsai1111 at comcast.net
Fri Sep 23 02:01:39 UTC 2005
On Thu, Sep 22, 2005 at 06:52:15PM -0700, Mark Knecht wrote:
> Thanks very much.
>
> I did have it set to one job, but CPU usage was medium so I've set it
> to low. Additionally I saw an option to start commercial flagging when
> recording starts. I've disabled that also, at least as a test.
>
> Probably 70% of our recording is late night stuff so commercial
> flagging can get done between 3AM and 7AM and probably cause no
> problems at all.
I think your real problem was commercial flagging when recording
starts (a.k.a. "real-time commercial flagging).
You might be OK bumping CPU usage back up to medium so that
commflagging can go faster. The nicing should prevent mythcommflagging
from interfering with recordings. But I don't know the details of your
capture cards, maybe you need more CPU for software encoding.
My AMD64 always runs in powersave mode at 1GHz and lets me watch one
recording, record two more off of HD-3000 cards (digital broadcast so
no encoding), and mythcommflagging, all at the same time, with no
problems with anything.
> On 9/22/05, Robert Tsai <rtsai1111 at comcast.net> wrote:
> > On Thu, Sep 22, 2005 at 06:18:11PM -0700, Mark Knecht wrote:
> > > Is it possible to somehow nice mythcomflag? It appears that in
> > > cases where I'm recording two shows and also doing commercial
> > > detection on two shows that just completed that my poor 3GHz P4
> > > cannot keep up. This is resulting in bad recordings. I think
> > > that if I lowered priorities on mythcomflag I'd do better.
> >
> > In mythtv-setup General options there is a "Job Queue"
> > configuration page. Set the CPU Usage option:
> >
> > - High: no nicing
> > - Medium: nice 19
> > - Low: nice 19 + sleep() every so often in the main loop
> >
> > Also, you might want to reduce the number of maximum simultaneous
> > jobs to "1", unless you have hyperthreading enabled and are
> > running an SMP kernel.
--Rob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mythtv.org/pipermail/mythtv-users/attachments/20050922/be459d59/attachment.pgp
More information about the mythtv-users
mailing list