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

Re: [HTCondor-users] rank by memory?



On 06/18/2015 04:17 PM, Greg Thain wrote:
> On 06/18/2015 04:11 PM, Dimitri Maziuk wrote:
>> Hi,
>>
>> I had
>>
>> "rank = memory" in my submit file since forever and I expect it worked
>> back when I added it. I'm running single-job tests now and my job
>> consistently lands on the same node with 2GB/core RAM. Here's the
>> problem:
>>
>>
> 
> The job "rank" is trumped by the NEGOTIATOR_PRE_JOB_RANK setting in the
> negotiator.  I suspect that this is overriding the per-job preference.

Here's what I get from condor_config_val -dump, AFAIK this is the
default that came with the rpms:

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?

-- 
Dimitri Maziuk
Programmer/sysadmin
BioMagResBank, UW-Madison -- http://www.bmrb.wisc.edu

Attachment: signature.asc
Description: OpenPGP digital signature