Bacula-users

Re: [Bacula-users] Question about Priorities and Maximum Concurrent Jobs

2009-03-23 16:31:37
Subject: Re: [Bacula-users] Question about Priorities and Maximum Concurrent Jobs
From: John Lockard <jlockard AT umich DOT edu>
To: Kevin Keane <subscription AT kkeane DOT com>
Date: Mon, 23 Mar 2009 16:26:07 -0400
On Sat, Mar 21, 2009 at 05:10:09AM -0700, Kevin Keane wrote:
> John Lockard wrote:
> > The minimum setting I have on Max Concurrent Jobs is on the
> > Tape Library and that's set to 3.  It appears that priority
> > trumps all, unless the priority is the same or better.
> >
> > So, if I have one job that has priority of, say, 10, then
> > any job running on any other tape drive or virtual library
> > will sit and wait till that higher priority job to finish
> > before they'll begin.
> >
> > This also makes priority mostly useless for me as well.  I
> > guess it would take care of situations where I'd want one
> > job to finish before a secondary or tertiary job starts, but
> > then I run the risk of another job postponing the 2nd and
> > 3rd job, which wouldn't be my intention
> I notice in the bacula sample configuration that priority is used to 
> make sure the catalog backup always runs last. In that case, the 
> behavior you describe (any other job postpones the lower-priority one, 
> regardless of storage or pool) is exactly the desired behavior.

But, priority also postpones any jobs of higher priority.
If a job, of priority 20 is currently running and you start
off several other jobs, with priorities of 10, 20 and 30, then
the only jobs which will run concurrently will be the jobs
of priority 20.  Once all the priority 20 jobs are complete,
only then will jobs of other priorities be examined and run.
In my example, after all of the P-20 jobs run, the P-10 jobs
will run, followed by the P-30 jobs.

It seems to me that priority is running as described in the
manual, but it runs counter to how you would logically expect.
If I'm running a P-20 job, and storage devices are available,
I would expect that jobs of P-<20 would also be able to run,
rather than having to wait till *all* of the queued P-20 jobs
are finished.

-John

-- 
Brain: Pinky, Are you pondering what I'm pondering?
Pinky: I think so Brain, but if we get Sam spayed,
       we won't be able to have puppies, will we?
-------------------------------------------------------------------
         John M. Lockard |  U of Michigan - School of Information
 Unix and Security Admin |      1214 SI North - 1075 Beal Ave.
      jlockard AT umich DOT edu |        Ann Arbor, MI  48109-2112
 www.umich.edu/~jlockard |     734-615-8776 | 734-647-8045 FAX
-------------------------------------------------------------------

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users