HTCondor Project List Archives



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

Re: [Condor-devel] help with preemption



On 1/13/2012 10:34 AM, Nathan Panike wrote:
Hi Dan:


Hi Nathan -

You may also want to read the section in the man titled "Disabling Preemption" :


http://research.cs.wisc.edu/condor/manual/v7.7/3_5Policy_Configuration.html#27425

It is section 3.5.9.5 - how could you have missed it? ;-)

Todd

On Fri, Jan 13, 2012 at 09:36:19AM -0600, Dan Bradley wrote:


On 1/13/12 9:00 AM, Nathan Panike wrote:
Dear colleagues:

I have the following configuration:

CountDeNovoJobs = int(( slot1_IsDeNovoJob =?= True ) +( slot2_IsDeNovoJob =?=
True ) +( slot3_IsDeNovoJob =?= True ) +( slot4_IsDeNovoJob =?= True ))
WantsDeNovoJobs = ( CountDeNovoJobs<= 1 )
STARTD_SLOT_ATTRS = $(STARTD_SLOT_ATTRS) IsDeNovoJob
STARTD_JOB_EXPRS = $(STARTD_JOB_EXPRS) IsDeNovoJob
STARTD_ATTRS = $(STARTD_ATTRS) CountDeNovoJobs WantsDeNovoJobs
KILL = ($(KILL))&&   ( MY.IsDeNovoJob =!= True )
PREEMPT = ($(PREEMPT))&&   ( MY.IsDeNovoJob =!= True )
SUSPEND = ($(SUSPEND))&&   ( MY.IsDeNovoJob =!= True )

What is RANK set to?

RANK = (Group =?= "lmcg") * (1000 + Tier)

If I change this to

RANK = (Group =?= "lmcg") * (1000 + Tier) * ( MY.IsDeNovoJob =!= True )

then will it do what I want (wrt machine rank)?


The preemption happened because the new job had higher machine rank
than the existing job.

It's a continual source of surprise to users that when PREEMPT is
false, jobs can still be preempted.  Our terminology sucks.

--Dan

Thanks for the explanation

Nathan Panike
_______________________________________________
Condor-devel mailing list
Condor-devel@xxxxxxxxxxx
https://lists.cs.wisc.edu/mailman/listinfo/condor-devel


--
Todd Tannenbaum                       University of Wisconsin-Madison
Center for High Throughput Computing  Department of Computer Sciences
tannenba@xxxxxxxxxxx                  1210 W. Dayton St. Rm #4257
Phone: (608) 263-7132                 Madison, WI 53706-1685