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

Re: [Condor-users] RANK certain attributes



Note that machine based RANK subverts all preemption related configuration, if a machines ranks a job higher than the currently executing job it will attempt to transition to the preempting/vacating state immediately.

The only way to avoid this actually triggering pre-emption is to use retirement policies that mean the job is allowed to continue to completion.

-----Original Message-----
From: condor-users-bounces@xxxxxxxxxxx [mailto:condor-users-bounces@xxxxxxxxxxx] On Behalf Of Mag Gam
Sent: 29 January 2010 13:27
To: Condor-Users Mail List
Subject: Re: [Condor-users] RANK certain attributes

Steve,
Thanks for this tip. I hope we document this on the NMI wiki or the manual.

I will add "Department" to STARTD_ATTRS . I have preemption off
therefore I don't have to worry about it.


Basically, your rank statement is saying:

RANK=(ifThenElse(isUndefined(Target.Department),0,ifThenElse(Target.Department=="Chemistry",1000,0)

If Department is undefined the rank will be 0. Meaning everyone has
the same fair rank.
Else If department is defined then chemistry has 1000 of a better
chance than other departments

Correct?

Is there an easier way to rewrite this statement :-) It looks
complicated for newbie condor admins.


On Thu, Jan 28, 2010 at 10:49 PM, Steven Timm <timm@xxxxxxxx> wrote:
> On Thu, 28 Jan 2010, Mag Gam wrote:
>
>> Is it possible to place a RANK statement so condor prefers a certain
>> department?
>>
>> For example, if I want to have
>> Chemistry department to have a higher priority?
>>
>> In my Submit file I usually do:
>> +Department="Chemistry"
>>
> Yes, but you have to add Department to STARTD_ATTRS in the config
> file in order to get it considered by the negotiator in calculating
> the rank.  Also you have to allow for the fact that DEPARTMENT
> might not always be defined.
>
> RANK=(ifThenElse(isUndefined(Target.Department),0,ifThenElse(Target.Department=="Chemistry",1000,0)
>
> Be aware that doing it with the RANK statement can result in
> jobs of other non-chemistry departments being pre-empted to make
> room for yours.  You could also define an
> +AccountingGroup=chemistry.myusername
> and then define GROUP_QUOTA_chemistry=nnn and/or
> GROUP_PRIO_FACTOR_chemistry=nnn
>
> Steve Timm
>
>
>>
>> Any thoughts?
>> _______________________________________________
>> Condor-users mailing list
>> To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a
>> subject: Unsubscribe
>> You can also unsubscribe by visiting
>> https://lists.cs.wisc.edu/mailman/listinfo/condor-users
>>
>> The archives can be found at:
>> https://lists.cs.wisc.edu/archive/condor-users/
>>
>
> --
> ------------------------------------------------------------------
> Steven C. Timm, Ph.D  (630) 840-8525
> timm@xxxxxxxx  http://home.fnal.gov/~timm/
> Fermilab Computing Division, Scientific Computing Facilities,
> Grid Facilities Department, FermiGrid Services Group, Assistant Group
> Leader.
> _______________________________________________
> Condor-users mailing list
> To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a
> subject: Unsubscribe
> You can also unsubscribe by visiting
> https://lists.cs.wisc.edu/mailman/listinfo/condor-users
>
> The archives can be found at:
> https://lists.cs.wisc.edu/archive/condor-users/
>
_______________________________________________
Condor-users mailing list
To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/condor-users

The archives can be found at:
https://lists.cs.wisc.edu/archive/condor-users/

----
Gloucester Research Limited believes the information provided herein is reliable. While every care has been taken to ensure accuracy, the information is furnished to the recipients with no warranty as to the completeness and accuracy of its contents and on condition that any errors or omissions shall not be made the basis for any claim, demand or cause for action.
The information in this email is intended only for the named recipient.  If you are not the intended recipient please notify us immediately and do not copy, distribute or take action based on this e-mail.
All messages sent to and from this email address will be logged by Gloucester Research Ltd and are subject to archival storage, monitoring, review and disclosure.
Gloucester Research Limited, 5th Floor, Whittington House, 19-30 Alfred Place, London WC1E 7EA.
Gloucester Research Limited is a company registered in England and Wales with company number 04267560.
----