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

Re: [HTCondor-users] Preemption doubts



Hi all,

I have continued with my tests and unfortunately, my doubts are still there... although the Startd Rank is correctly taken once the job is running, the jobs with lower Startd Rank are not preempted.Â

Is anybody using the preemption in this way? Or am IÂmissing something?

Thank you!

Carles



On Fri, 27 Nov 2020 at 13:25, Carles Acosta <cacosta@xxxxxx> wrote:
Hi all,

We are running HTCondor 8.8.11 and we are using "Priority preemption" effectively on our farm.ÂÂ

However, if I'm not wrong, preemption can also work using the Startd Rank without consideringÂthe priority of the jobs, am I right? As long as you have NEGOTIATOR_CONSIDER_PREEMPTION to True (we also have ALLOW_PSLOT_PREEMPTION = True). I understand that the PREEMPTION_REQUIREMENTS that we use for our "Priority preemption" has no effect with "Startd Rank preemption".

Thus, for example, one machine with 2 cpus and this config:

RANK = regexp("test",AccountingGroup)
MAXJOBRETIREMENTTIME = 60

It is running 2 jobs that are asking for 1 cpu from an AccountingGroup that does not contain "test". When I submit another one that asks for 1 Cpus for the AccountingGroup that contains "test", the Rank should be better and, then, preempt one job in just 1 minute, if this works as I've understood.Â

But this is not working, the job with AccountingGroup test remains Idle while the other two, that have to be preempted (with Rank false and CurrentRank 0) are still running. I've also checked that when the job with AccountingGroup is running, the Rank is true and CurrentRank 1.0, so, the rank definition seems to be fine.

I'm sure that I'm not doing something correctly and I am not sure if the preemption works as I expected. Someone can help me?

Thank you in advance.

Best regards,

Carles

--
Carles Acosta i Silva
PIC (Port d'Informacià CientÃfica)
Campus UAB, Edifici D
E-08193 Bellaterra, Barcelona
Tel: +34 93 581 33 08
Fax: +34 93 581 41 10
AvÃs - Aviso - Legal Notice: Âhttp://legal.ifae.es


--
Carles Acosta i Silva
PIC (Port d'Informacià CientÃfica)
Campus UAB, Edifici D
E-08193 Bellaterra, Barcelona
Tel: +34 93 581 33 08
Fax: +34 93 581 41 10
http://www.pic.esÂ
AvÃs - Aviso - Legal Notice: Âhttp://legal.ifae.es