On Tuesday 04 October 2005 20:51, Phil Stracchino wrote:
> Ross Boylan wrote:
> > The description of the priority option for Job says that
> > "If by chance Bacula treats a lower priority first, then it will run
> > before your high priority jobs. To avoid this, start any higher
> > priority a few seconds before the lower ones."
> >
> > I don't understand what good priorities do then. If I schedule the
> > jobs in the sequence I want them to run, that alone should determine
> > their sequence (at least if I follow the recommendation for one job at
> > a time). The discussion seems to imply that priority is relevant
> > both with and without concurrent jobs.
>
> I believe the answer is that the prioritizing code doesn't actually work
> as well as it is intended to.
>
> A suggestion here, Kern: Since the Director already "preschedules"
> upcoming jobs, could it not sort and queue them in order of priority at
> that time?
I believe that it already does exactly that. It is just that it is *very*
hard to guarantee something 100% if the times are identical.
If someone wants to invest the time to look at this, and if it is broken,
submit a patch, great. Otherwise, I stick to my (perhaps poorly worded)
advice above.
>
> > Second, is there any easy way to vary the scheduling of jobs by a few
> > seconds, other than writing a completely new schedule? This seems a
> > maintanence headache.
>
> Not really, no. I simply stagger job starts by a minute or more in
> their Schedules. (Actually, all my jobs but one run at the same
> priority; the remaining job is my Catalog backup, which starts both at a
> lower priority AND an hour later to let the other jobs finish first.)
>
> > Finally, the language is a bit unclear, though I think I know what's
> > intended. For "treats" I read "processes," and I insert "jobs" after
> > "start any higher priority".
>
> I believe that's a good read. I'd never spotted that myself; it's good
> to have fresh eyes on the documentation at times.
--
Best regards,
Kern
(">
/\
V_V
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users