I realizedÂPREEMPT is not what I was supposed to use.ÂOn worker node:ÂSTARTD_JOB_ATTRS = $(STARTD_JOB_ATTRS), JobPrio
PREEMPTION_REQUIREMENTS = Â( My.JobPrio < Target.JobPrio )
PREEMPTION_RANK = -My.JobPrio
RetirementTime = 2 * $(MINUTE)
MAXJOBRETIREMENTTIME = $(RetirementTime)Still it doesn't work to preempt lower priority jobs from worker node.ÂThanks & Regards,Vikrant Aggarwal_______________________________________________On Thu, May 15, 2025 at 1:08âPM Vikrant Aggarwal <ervikrant06@xxxxxxxxx> wrote:After going through a couple of presentations and official docs. I realized that to make PREEMPT work I don't need any other configuration.This minimal configurationÂon the worker node doesn't work to evacuate the jobs with less priority.ÂSTARTD_JOB_ATTRS = $(STARTD_JOB_ATTRS), JobPrioPREEMPT = Target.JobPrio > My.JobPrioMy requirement is a single user submitting multiple jobs, Jobs with high job priority should evacuate the running jobs with low priority.ÂThanks & Regards,Vikrant AggarwalOn Wed, May 14, 2025 at 4:46âPM Vikrant Aggarwal <ervikrant06@xxxxxxxxx> wrote:Hello Experts,Following settings on negotiator:Â# condor_config_val ALLOW_PSLOT_PREEMPTION NEGOTIATOR_CONSIDER_EARLY_PREEMPTION NEGOTIATOR_CONSIDER_PREEMPTION PREEMPTION_RANK PREEMPTION_REQUIREMENTS
True
True
true
(RemoteUserPrio * 1000000) - ifThenElse(isUndefined(TotalJobRuntime), 0, TotalJobRuntime)
TrueFollowing settings on worker node.ÂSTARTD_JOB_ATTRS = $(STARTD_JOB_ATTRS), JobPrio
ALLOW_PSLOT_PREEMPTION = True
PREEMPT = (Target.JobPrio > My.JobPrio)
SHUTDOWN_GRACEFUL_TIMEOUT = 1 * $(MINUTE)I have the jobs running and other jobs waiting with a higher JobPrio submitted from the same user. But they can't preempt existing jobs. Am I missingÂsomething?# condor_who -af JobPrio Â| sort | uniq -c
   8 20
   8 200Thanks & Regards,Vikrant Aggarwal
HTCondor-users mailing list
To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
Join us in June at Throughput Computing 25: https://osg-htc.org/htc25
The archives can be found at: https://www-auth.cs.wisc.edu/lists/htcondor-users/