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

Re: [HTCondor-users] rank by memory?



On 06/18/2015 04:55 PM, Dimitri Maziuk wrote:
On

NEGOTIATOR_PRE_JOB_RANK = (10000000 * My.Rank) + (1000000 * (RemoteOwner
=?= UNDEFINED)) - (100000 * Cpus) - Memory

So on a 16-core, 4GB/core node (100K * 16 + 4000) is greater than (10M *
4000 + whatever that remoteowner thing evaluates to)? Or am I reading it
wrong?



So, this expression is trying to do a "best fit" of the jobs to the partitionable slots, in order to minimize fragmentation. In your case, if you want to put the selection of the machines completely in the users hands, I would change this to

NEGOTIATOR_PRE_JOB_RANK = (RemoteOwner =?= Undefined)

So that the system sorts unclaimed slots first, but punts the rest of the sorting to your job rank.

-greg