[mythtv] JobQueue Suggestion: Average Load of Backend

Jon Larson jtlarson at u.washington.edu
Mon Jan 8 23:07:56 UTC 2007


If this was implemented, it could be very useful for determining which 
computers are assigned queued user jobs as well...

Jon Larson

Blammo wrote:
> I'll make this quick and easy. My primary system at home has (1)
> dedicated backend, and two FE/SBE's. All machines have lots of
> horsepower, and help out with commercial flagging. However, given that
> my families watching habits vary from day to day, sometimes there will
> be a couple flagging jobs running, which, for example, someone is
> trying to watch a show. My only recourse, right now, is to block out
> the times during the day, for both frontends, on the CHANCE that
> someone might be watching something.
>
> I've experimented with changing hours jobs can run, etc, but I had an
> idea. Do something like sendmail/others do, and check average load of
> a machine before deciding whether it will take a job.
>
> Examples:
> Frontend1 (single core machine, used a lot) : average load of 0.50 or
> less, over a 5 minute period
> Frontend2 (dual core machine, used less) : average load of 1.00 or
> less, over a 5 minute period
> Backend1 (4 cores, recording only) : average load of 2.00 or less,
> over a 1 minute period.
>
> Then you could set the allowed hours to 24/7 and any time there were
> free cycles, jobs could be taken. If I sit down to watch some TV for a
> couple hours, I could know that once the existing job (if there was
> one running) ended, nothing else would run till i was done watching
>
> Thoughts?
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
>   


More information about the mythtv-dev mailing list