Mailing List Archives
Authenticated access
|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Condor-users] High vs. low priority jobs
- Date: Tue, 28 Sep 2010 11:57:03 -0400
- From: Ben Cotton <bcotton@xxxxxxxxxx>
- Subject: Re: [Condor-users] High vs. low priority jobs
Elke,
We're doing something similar of a few of our clusters at Purdue.
Here's the config we use on the startd side:
# Prefer doubletake jobs
RANK = ( DoubletakeJob )*9000
# suspend or preempt if current job isn't a doubletake job and
# incoming one is. Should also have the effect of not preempting
# doubletake jobs for anything on these nodes
MaxJobRetirementTime = 24*3600*( DoubletakeJob )
SUSPEND = ($(SUSPEND)) && ( DoubletakeJob =!= True )
PREEMPT = ($(PREEMPT)) && ( DoubletakeJob =!= True )
And then on the submit side, we have:
# Set a ClassAd for jobs submitted from here to use in premption
DoubletakeJob = True
SUBMIT_EXPRS = $(SUBMIT_EXPRS),DoubletakeJob
This means every job from this submitter gets marked as a Doubletake
job (which is appropriate for our setup). If you're submitting both
priority and non-priority jobs from the same submitter, you can add a
line like such to your submit file
+DoubletakeJob = True
Hope this helps!
BC
--
Ben Cotton
Systems Research Engineer
IT Research Systems
Purdue University