Mailing List Archives
Authenticated access
|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Condor-users] How to view computed rank?
- Date: Fri, 14 Oct 2005 10:59:24 -0700
- From: "Finch, Ralph" <rfinch@xxxxxxxxxxxx>
- Subject: Re: [Condor-users] How to view computed rank?
Well, in trying to understand RANK, START, and so on, I found
CurrentRank:
CurrentRank : A float which represents this machine owner's affinity for
running the Condor
job which it is currently hosting. If not currently hosting a Condor
job, CurrentRank is
0.0. When a machine is claimed, the attribute's value is computed by
evaluating the machine's
Rank expression with respect to the current job's ClassAd.
However, when I set Rank = Kflops in the submit file, I still get
d:\models\Studies\planning-Condor-q5-test>condor_status -l clifton
condor_status -l clifton
<cut>
CondorVersion = "$CondorVersion: 6.6.9 Mar 10 2005 $"
CondorPlatform = "$CondorPlatform: INTEL-WINNT40 $"
<cut>
State = "Claimed"
CurrentRank = 0.000000
<cut>
Why is CurrentRank still zero? It makes debugging the preferred Rank
calculation below difficult.
Ralph Finch, P.E.
Dept. of Water Resources
Bay-Delta Office, Room 215-13
Sacramento, CA 95814
916-653-7552
rfinch@xxxxxxxxxxxx
> -----Original Message-----
> From: condor-users-bounces@xxxxxxxxxxx
> [mailto:condor-users-bounces@xxxxxxxxxxx] On Behalf Of Finch, Ralph
> Sent: Thursday, October 13, 2005 5:12 PM
> To: Condor-Users Mail List
> Subject: [Condor-users] How to view computed rank?
>
> Sorry for the flurry of questions, but here's another...
>
> I want to generate a rank based on user at the console
> (negative), relative kflops in the pool (positive), and if
> the machine is the user's login machine (positive--use your
> own machine first!)
>
> So here are my entries in condor_config:
>
> #################################
> # DWR additions here #
> #################################
>
> # Machine must have enough disk space in KB for tidefile
> START = TotalDisk > 5000000
>
> # set up ranking:
> # higher preference to submitter's machine SelfMachine =
> Owner == MachineOwner # performance relative to pool,
> normalized to roughly 0 to 1 RelKFlops = (KFlops - 600000.) / 200000.
> # Current Virtual Machine load
> VMLoad = 1. - LoadAvg
> # redefine keyboard busy to be past 90 minutes
> KeyboardBusy = (KeyboardIdle < 90 * $(MINUTE))
> # Don't want to use both VMs if keyboard is busy; don't use 2nd VM
> MachineBusy = -10. * (KeyboardBusy && VirtualMachineID == 2)
> # Overall ranking
> RANK = SelfMachine + RelKFlops + VMLoad + MachineBusy
>
>
> Then in the .sub file I have:
>
> Rank = RANK
>
> Question: How can I view the computed rank that each machine
> is offering to the jobs? I want to see how the actual
> selection is made; all I can tell from condor_q -run are
> which machines ended up selected.
>
> _______________________________________________
> Condor-users mailing list
> Condor-users@xxxxxxxxxxx
> https://lists.cs.wisc.edu/mailman/listinfo/condor-users
>
>