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 16:05:14 -0700
- From: "Finch, Ralph" <rfinch@xxxxxxxxxxxx>
- Subject: Re: [Condor-users] How to view computed rank?
Thanks very much. With your hint I was able to make some progress.
Still can't figure out what string is being returned for Owner.
But I'm making progress.
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 Thomas Materna
> Sent: Friday, October 14, 2005 11:18 AM
> To: 'Condor-Users Mail List'
> Subject: Re: [Condor-users] How to view computed rank?
>
> Hi,
>
> I don't know the details about CurrentRank but from your own
> explanation, it is the machine's rank with respect to the
> job's classad. The rank expression that you put in your
> submit file (Rank = Kflops) is the opposite (computed from
> the machine classad). Remember that there are 2 ranks: the
> one on the machine to select the jobs, and the one of each
> job to select a machine.
>
> Thomas
>
>
> > -----Original Message-----
> > From: condor-users-bounces@xxxxxxxxxxx
> > [mailto:condor-users-bounces@xxxxxxxxxxx] On Behalf Of Finch, Ralph
> > Sent: Friday, October 14, 2005 12:59
> > To: Condor-Users Mail List
> > 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
> > >
> > >
> >
> > _______________________________________________
> > Condor-users mailing list
> > Condor-users@xxxxxxxxxxx
> > https://lists.cs.wisc.edu/mailman/listinfo/condor-users
> >
>
> _______________________________________________
> Condor-users mailing list
> Condor-users@xxxxxxxxxxx
> https://lists.cs.wisc.edu/mailman/listinfo/condor-users
>
>