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

[HTCondor-users] [HTCondor-Users] NEGOTIATOR_PRE_JOB_RANK is not working as expected



Hello Experts,

Sorry for flurry of questions:

We introduced some high memory nodes in existing condor cluster. I have added "highmemory = true" in machine classAD.

Without making any change in submit file I want to steer jobs demanding memory greater than certain value to high mem nodes. Prepared this _expression_ for it.Â

DEFAULT_RANK = (10000000 * My.Rank) + (1000000 * (RemoteOwner =?= UNDEFINED)) - (100000 * Cpus) - Memory
NEGOTIATOR_PRE_JOB_RANK = ifthenelse(Target.requestmemory > 1024, 10000000 * (highmemory == true), $(default_rank))

First job with 1000 request_memory landing on node without highmemory machine classAD
Second job with 1030 request_memory landing on node with highmemory machine classAD.
Third job with 1000 request_memory lands on node with highmemory machine classAD (not expected).

If the second job is with 1000 of request_memory then all jobs go to the same node without highmemory machine classAD.Â

I didn't find it's related to concept consumption_policy because for each job condor negotiator cycle is happening.Â

Without modifying anything in submit file, any other recommended method of steering high request_memory jobs to highmem nodes and if the resources are not available in highmem nodes then to normal nodes.ÂÂ

Thanks & Regards,
Vikrant Aggarwal