[mythtv] [mythtv-commits] Ticket #2782: automatic simultaneous jobs scaling

Chris Pinkham cpinkham at bc2va.org
Thu Dec 7 18:00:04 UTC 2006


* On Thu Dec 07, 2006 at 12:11:52PM -0500, Steven Adeff wrote:
> > #2782: automatic simultaneous jobs scaling

> >   * owner:  ijr => cpinkham
> 
> sweet, I've been looking for something like this to get put together!
> I'll have to apply this to my next backend fixes compile.

I haven't looked at it yet to check the feasibility.  We tried something
like this in the commercial flagger a long time ago where it would throttle
itself based on the system load at the time, but it caused problems when
using framegrabbers.  With ?most? people using non-framegrabbing capture
cards now, this is more of a possibility, but there are other things that
we need to consider than just CPU.   Just because my system can run X jobs
before the CPU usage gets above Y% doesn't mean I want to run X jobs because
that will affect things like storage, potentially network throughput, etc..
Users will probably always prefer a late commercial flag or transcode rather
than a corrupted recording.

All that being said, I haven't even looked at the patch yet, I just wanted
to put it in my queue since it is JobQueue related.  Even if it is perfect,
don't expect it to go in over the next few weeks because my holidays are a
bit busy.  That is one of the reasons I wanted to get Storage Groups committed
a few weeks ago to give it time to stabilize.

--
Chris


More information about the mythtv-dev mailing list