Bacula-users

Re: [Bacula-users] Problem with concurrent mixed priority jobs

2013-03-05 10:10:28
Subject: Re: [Bacula-users] Problem with concurrent mixed priority jobs
From: stefano scotti <scottistefano91 AT gmail DOT com>
To: Uwe Schuerkamp <uwe.schuerkamp AT nionex DOT net>, stefano scotti <scottistefano91 AT gmail DOT com>, bacula-users <bacula-users AT lists.sourceforge DOT net>
Date: Tue, 5 Mar 2013 16:07:36 +0100

2013/3/5 Uwe Schuerkamp <uwe.schuerkamp AT nionex DOT net>
On Tue, Mar 05, 2013 at 03:19:29PM +0100, stefano scotti wrote:
> Hi,
>
> My director allows 5 concurrent jobs, and each job has *Allow Mixed Priority
> * set to yes.
>
> My aim is that even if a slow job takes a lot of time to finish, there will
> be other 4 job slots to use so that the backup system can still work
> despite of a really really slow job.
>
> So i can have 4 slow jobs and my system will keep scheduling fast jobs
> anyway.
>
> Now, the problem is that only jobs with an higher priority will be
> scheduled, lower priority jobs still have to wait even if there are 4 free
> job slots!
>
> Is it possible to instruct bacula to let lower priority job be scheduled
> not worrying about the priority of current scheduled jobs but only on the
> number of free job slots?
>
> Thanks.

Hi Stefano,

I don't understand why you're using mixed priorities to begin with as
these have nothing to do with how fast or slow a job runs. You can
simply run all jobs at the same priority and a slow job of a different
priority won't hog your scheduling slots at all. Depending on your
hardware it's usually safe to up the number of concurrent jobs. We
generally use 8-16 concurrent jobs on our bacula directors.

Cheers, Uwe


--
NIONEX --- Ein Unternehmen der Bertelsmann SE & Co. KGaA





Hi Uwe,

I'm using mixed priorities because i want to handle the case in which all job slots are occupied.

For example, if there are only a free slot i'd like to assign it to a more important job (like mailboxes) instead of a not critical job (like server configurations).

Are you suggesting that, because of bacula behavior, i should increment the number of slots instead of assign priorities to the critical jobs?

I don't like very much this solution... a lot of job will eat my bandwidth slowing every job scheduled in that time, included the critical ones that should be completed as fast as possible!
That's exactly what i want to avoid.

Thank you again.




--
 Please consider the environment before printing this email
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users