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

Re: [HTCondor-users] about START and RANK



Dear christoph,
    Thanks.  I catch your meaning.
    And I have another question. As the condor manual:
    (a) If machine.requirements evaluates to False or job.requirements evaluates to False, skip this machine
    (b) If the machine is in the Claimed state, but not running a job, skip this machine.
    (c) If this machine is not running a job, add it to the potential match list by reason of No Preemption.
    (d) If the machine is 
running a job
            â If the machine.RANK on this job is better than the running job, add this machine to the 
                potential match list by reason of Rank.
            â If the EUP of this job is better than the EUP of the currently running job, and
                PREEMPTION_REQUIREMENTS is True, and the machine.RANK on this job is not
                worse than the currently running job, add this machine to the potential match list by rea-
                son of Priority.

    The machine.requirement considers the START. 
    As step (d), only the machine is running a job, machine.RANK is effective. But in our environment, we disable preemption. 
    I hope there are some ways making machine prefer getting jobs in step (c) when the machine is not running a job.
    If it can not solved in step (c), is there other ways?
    Could you help me? Thanks.

Cheers,
Jiang Xiaowei


NAMEïJiang Xiaowei
MAILïjiangxw@xxxxxxxxxxxxxxx
TELï010 8823 6024
DEPARTMENTïComputing Center of IHEP
 
From: Beyer, Christoph
Date: 2016-11-03 13:45
To: HTCondor-Users Mail List
Subject: Re: [HTCondor-users] about START and RANK
Hi Jiang,
 
That's a sequential thing, the startd chooses a job that he prefers the most according to your rank _expression_.
 
Than before starting the job the startd evaluates the start _expression_ to have a look if everything is ok to start the job.
 
For ex you could use the rank _expression_ to prefer a multicore job and the start _expression_ to only run it if the free disk space at start time is >200gb ...
 
best regards
        ~christoph
 
 
--
/*   Christoph Beyer     |   Office: Building 2b / 23     *\
*   DESY                |    Phone: 040-8998-2317        *
*   - IT -              |      Fax: 040-8994-2317        *
\*   22603 Hamburg       |     http://www.desy.de         */
 
 
----- UrsprÃngliche Mail -----
Von: jiangxw@xxxxxxxxxxxxxxx
An: johnkn <johnkn@xxxxxxxxxxx>
CC: htcondor-users <htcondor-users@xxxxxxxxxxx>
Gesendet: Thu, 03 Nov 2016 04:27:03 +0100 (CET)
Betreff: Re: [HTCondor-users] about START and RANK
 
Dear John,
    Thanks.  As your reply I see the meaning of START and RANK.
    We used START and RANK in the same startds.  
    Dose negotiator  use START and RANK in some ordor when choose these startds.
    START first or RANK first?
    We got a problem as follow:
        START = TARGET.AcctGroup == "A" || TARGET.AcctGroup =="B" ||  TARGET.AcctGroup =="C"
        RANK = TARGET.AcctGroup =="C"
    As above,  we  want the startd prefer the job with AcctGroup "C".
    But we found more jobs with B scheduled to these startd.
    There's no quota limits, dose START cause it? 
 
Cheers,
Jiang Xiaowei
 
 
NAMEïJiang Xiaowei
MAILïjiangxw@xxxxxxxxxxxxxxx
TELï010 8823 6024
DEPARTMENTïComputing Center of IHEP
From: John M Knoeller
Date: 2016-11-03 01:13
To: HTCondor-Users Mail List
Subject: Re: [HTCondor-users] about START and RANK
If A is true, then START is true B and C will never be evaluated.
START is a Boolean result that indicates whether a STARTD is willing to run a given job or not
RANK is an number that Indicates which jobs a STARTD would prefer. (higher is better)
Depending on other configuration, a STARTD may choose to preempt a job that it is currently running in order to run a job that it gives a higher RANK to.  The actual decision to preempt or not happens in the negotiator, which uses the RANK value published by the STARTD in its decision
From: HTCondor-users [mailto:htcondor-users-bounces@xxxxxxxxxxx] On Behalf Of jiangxw@xxxxxxxxxxxxxxx
Sent: Wednesday, November 2, 2016 9:38 AM
To: htcondor-users <htcondor-users@xxxxxxxxxxx>
Subject: [HTCondor-users] about START and RANK
Dear all,
  
    I have a quetion about START.
    Example:
         START = A || B || C
    if A == True,  does condor calculate  B and C continuely, or condor judge the START is True without considering B and C.
 
 
    Besidesï what's the difference between START and RANK.
    Thanks for help.
Cheers,
Jiang xiaowei
 
 
NAMEïJiang Xiaowei
MAILïjiangxw@xxxxxxxxxxxxxxx
TELï010 8823 6024
DEPARTMENTïComputing Center of IHEP
 
 
_______________________________________________
HTCondor-users mailing list
To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/htcondor-users
 
The archives can be found at:
https://lists.cs.wisc.edu/archive/htcondor-users/