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

Re: [Condor-users] Advice on job suspension vs preemption with partitionable slots



On Wed, Feb 22, 2012 at 02:01:22PM +0100, Michael Hanke wrote:
> PREEMPT = False
> PREEMPTION_REQUIREMENTS = ((RemoteUserPrio > $(INSANE_THRESHOLD)) || NiceUser == True)
> WANT_SUSPEND = ( (TARGET.PleasePleaseSuspend =?= TRUE) || (MY.NiceUser == True) )
> SUSPEND = ( $(StateTimer) > (1 * $(HOUR)) && RemoteUserPrio > TARGET.SubmitterUserPrio * 1.2 ) || (MY.NiceUser == True)
> CONTINUE = ( $(SUSPEND) =!= True )
> MAXSUSPENDTIME = 48 * $(HOUR)
> 
> Does this sound sane?

Apparently not, as it seems SUSPEND is not evaluated into the context of
a candidate job matching. The question remains, how I can achieve
particular jobs getting suspended instead of being evicted (until other
resources except cpus in a partitionable slot are exhausted).

Thanks in advance,

Michael

-- 
Michael Hanke
http://mih.voxindeserto.de