>>>>> On Wed, 5 Oct 2005 10:52:05 -0700, Ross Boylan <[EMAIL PROTECTED]> said:

  Ross> On Wed, Oct 05, 2005 at 11:42:09AM +0100, Russell Howe wrote:
  >> Ross Boylan wrote:
  Ross> ...
  >> > Given jobs scheduled at different times, does priority add anything to
  >> > when they are run?
  >> 
  >> If a higher priority job is running, a lower priority job will not start.
  >> 
  >> "higher priority" means a low value for Priority
  >> "lower priority" means a higher value for Priority

  Ross> If you only allow a single job to run at a time, whichever starts
  Ross> first runs first and will complete before the next job.  So it sounds
  Ross> as if priority matters under two scenarios

  Ross> 1) concurrent jobs allowed (which is what most of the snipped
  Ross> discussion concerns).  Priorities can guarantee that certain waves of
  Ross> jobs will finish completely before other start.  Without priorities, a
  Ross> lower priority job might start while a higher priority one is running
  Ross> (high priority = low priority number), even if the start time of that
  Ross> job is scheduled later.

  Ross> 2) single jobs.  Priorities may influence which of several
  Ross> simultaneously scheduled jobs start first, but this is not completely
  Ross> reliable.

  Ross> Am I following correctly?

The scheduler adds all the jobs for the next hour to the run queue in priority
order and then runs them, so it isn't obvious to me how this can go wrong for
scenario 2 with scheduled jobs.  I suppose there might be problems if jobs are
scheduled interactively.

FWIW, I've been scheduling 18 jobs with different priorities at the same time
every day for almost a year now without seeing any variance in the run order.

__Martin


-------------------------------------------------------
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
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to