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

Re: [HTCondor-users] Desktop Policy renders workstations unusable



Hi Christoph,

START seems to be false from the policy: Desktop by default, slightly different from [1]:

ÂÂÂ $ condor_config_val -dump | grep StartIdleTime
ÂÂÂ START = ((KeyboardIdle > $(StartIdleTime)) && ( $(CPUIdle) || (State != "Unclaimed" && State != "Owner")) )
ÂÂÂ StartIdleTime = 15 * $(MINUTE)

The preemption setting is set to false by default. Is that a problem?

ÂÂÂ $ condor_config_val -dump | grep PREEMPTION_REQUIREMENTS
ÂÂÂ PREEMPTION_REQUIREMENTS = False
ÂÂÂ SCHEDD_PREEMPTION_REQUIREMENTS =

I will check how/when the status changes (Unclaimed -> Owner), but from what I've seen so far it does not seem consistent across machines and OSes (Debian 11/12) to me.

Thanks,
Alexander

[1] https://htcondor.readthedocs.io/en/lts/admin-manual/policy-configuration.html#examples-of-policy-configuration

On 1/26/24 13:12, Beyer, Christoph wrote:
Hi,

I would think that the START expression should be something like

START = KeyboardIdle > 15 * $(MINUTE)

Can you check the IS_OWNER state on the machines that are actually used interactively - it should be 'true' if that's not the case you nedd to investigate why

I think the preempt expression should involve something like:

PREEMPTION_REQUIREMent = IS_OWNER == true

That is only out of the top of my head and is probably just something you should consider to look after using 'condor_config_val -dump | grep <...>'

best
christoph

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature