Mailing List Archives
Authenticated access
|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Condor-users] only preempt "NiceUser" jobs
- Date: Wed, 16 May 2007 12:26:27 -0400
- From: "Jonathan D. Proulx" <jon@xxxxxxxxxxxxx>
- Subject: [Condor-users] only preempt "NiceUser" jobs
I only want to preempt jobs where "NiceUser == True", seems this
shouls be trivial but it's giving me trouble on the execute system I
have:
WANT_SUSPEND = ($(SmallJob) || $(KeyboardNotBusy) \
|| $(IsPVM) || $(IsVanilla) ) \
&& NiceUser
WANT_VACATE = ( $(ActivationTimer) > 10 * $(MINUTE) \
|| $(IsPVM) || $(IsVanilla) ) \
&& NiceUser
SUSPEND = ( ( (CpuBusyTime > 2 * $(MINUTE)) \
&& $(ActivationTimer) > 90 ) )\
&& NiceUser
CONTINUE = ( $(CPUIdle) && ($(ActivityTimer) > 10) )
PREEMPT = ( ( ((Activity == "Suspended") && \
($(ActivityTimer) > $(MaxSuspendTime))) \
|| (SUSPEND && (WANT_SUSPEND == False)) ) ) \
&& NiceUser
KILL = $(ActivityTimer) > $(MaxVacateTime)
cluster 370 is a NiceUser job that spins in CPU, 371 is a regular job
that just echos some variable to stdout:
[jon@borg-login-4 jon]$ condor_q -l 370|grep Nice
NiceUser = TRUE
[jon@borg-login-4 jon]$ condor_q -l 371|grep Nice
NiceUser = FALSE
but the regular job won't preempt the NiceUser job:
LastRejMatchReason = "PREEMPTION_REQUIREMENTS == False"
After changing the config values I ran condor_reconfigure, and when
that failed I shut down and restarted with the init script.
I've also tried NiceUser == True
Where am I going wrong?
-Jon