[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Condor-users] Negotiate to a different box

On Wed, Jan 20, 2010 at 9:42 AM, Mag Gam <magawake@xxxxxxxxx> wrote:
If I submit 100 jobs all these jobs go in linearly into the our 200
server farm. Is it possible to distribute the jobs evenly so jobs go
to different servers?

NEGOTIATOR_POST_JOB_RANK can help here. See: http://www.cs.wisc.edu/condor/manual/v7.4/3_3Configuration.html#20450

I use:

##  Break ties by looking for machines that have Idle longer than others
##  and use them first. Also try and use faster machines before slower
##  machines and assign jobs to separate machines before we start putting
##  two jobs on a machine.
ALTERA_NEGOTIATOR_POST_JOB_RANK = (((Activity =?= 'Owner') * (State =?= 'Idle')) * 1000000000) + ((Activity =?= 'Unclaimed') * 100000000) + (KFlops * 0.001) - (SlotID * 10)

- Ian