[mythtv-commits] Ticket #2782: automatic simultaneous jobs scaling
MythTV
mythtv at cvs.mythtv.org
Tue Jul 8 04:05:30 UTC 2008
#2782: automatic simultaneous jobs scaling
-------------------------+--------------------------------------------------
Reporter: oa at iki.fi | Owner: cpinkham
Type: enhancement | Status: accepted
Priority: minor | Milestone: 0.22
Component: mythtv | Version: head
Severity: medium | Resolution:
Mlocked: 0 |
-------------------------+--------------------------------------------------
Changes (by cpinkham):
* status: new => accepted
Comment:
Can you take a look at the attached scaling_jobqueue_ctp_1.diff patch and
see if it still has the desired effect on your server. I don't have time
to test my changes thoroughly over the next few days, so you may have more
time to run it through it's paces than I can.
I'd like to keep the max jobs setting for people who don't want the
JobQueue to consume all available CPU such as those running the JobQueue
on machines doing software encoding or on workstations doing other things.
I moved some things around in the patch to accomplish this. Just to be
safe, the code also falls back to a max of 1 job if the user sets the
setting to 'Auto' but runs the JobQueue on a machine that isn't supported
by the getCPUStats() call.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/2782#comment:5>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list