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

Re: [Condor-users] RANK from the "machine" point of view




The config file expressions NEGOTIATOR_PRE_JOB_RANK and NEGOTIATOR_POST_JOB_RANK allow you to steer jobs to the machines you prefer. When jobs are being matched to machines, the "pre job rank" is the first order rank expression, so whatever you put there will always be honored above all else. If that expression produces a tie in the rank between several machines, the user's rank expression (specified in the submit file) is applied next. If there is still a tie, the "post job rank" is applied next. Therefore, you can control whether your default preferences are applied with higher or lower precedence than the user's.

Example:

NEGOTIATOR_POST_JOB_RANK = KFlops/10000 + Memory

You may need to play around with the relative magnitude of the various terms in a rank expression to get the effect you want, given the machines that exist in your Condor pool. Or, as in your example below, you can simply rely on discrete attributes such as the machine name or other attributes that you configure in the machine ClassAds to advertise the what class of machine they are. Example:

NEGOTIATOR_POST_JOB_RANK = \
  1 * (Machine == "pc7.domain.name" || Machine == "pc8.domain.name") + \
  2 * (Machine == "pc4.domain.name" || ...) + \
  3 * (Machine == "pc1.domain.name" || ...)


--Dan

On Dec 27, 2005, at 10:10 AM, Nicolas GUIOT wrote:

Hi,

I'm a bit confused with the ranking scheme used in condor :

I have about 20 machines, quite different in CPU speed and RAM, and not always 100% used : I would like to automatically add (i.e. : not the users have to deal with it, unless specified by themselves)something like :

big_cpu="PC1, PC2, PC3"
mid_cpu="PC4, PC5, PC6"
small_cpu="PC7, PC8, PC9"

use big_cpu if available, else mid_cpu if available, else small_cpu

Should I trick the global condor_config file ? or elseway ?

Thanks

Nicolas
-----------------------------------------------
CNRS - UPR 9080 : Laboratoire de Biochimie Theorique
Institut de Biologie Physico-Chimique
13 rue Pierre et Marie Curie
75005 PARIS - FRANCE

Tel : +33 158 41 51 70
Fax : +33 158 41 50 26
------------------------------------------------
_______________________________________________
Condor-users mailing list
Condor-users@xxxxxxxxxxx
https://lists.cs.wisc.edu/mailman/listinfo/condor-users