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

AW: [Condor-users] Using JobPrio to adjust the RANK on machines

>First question: I'm confused. Section 3.6.2 says that the higher the
JobPrio number the worse the priority. But the man page for condor_submit in
>9 says of the "priority = [-20:+20]" setting that jobs with higher
numerical priority will run before jobs with lower numerical priority. This
>strange, is it not? Is the documentation wrong in one instance or is there
some relationship between the priority setting in the submission ticket at
> JobPrio ClassAd that I can't find? 

With this one I can help you. Section 3.6.2 talks about the priority off all
users. This means, User A has a better priority with 0.5 than User B with a
priority of 5.0. Because of that, if there is a lack of machines, than the
job of User A will start before the job of User B.
Section 9 talks about the priority You are giving to your own jobs. This
means, if You have two jobs (A and B) and you want to start Job A before Job
B, then you give Job A a priority of 20 and job B a priority of -20.

Thomas Bauer
Westfaelische Wilhelms-Universitaet Muenster
Institut fuer Festkoerpertheorie
Wilhelm-Klemm-Str. 10
D 48149 Muenster
++49 (251) 8339040

-----Ursprüngliche Nachricht-----
Von: condor-users-bounces@xxxxxxxxxxx
[mailto:condor-users-bounces@xxxxxxxxxxx] Im Auftrag von Ian Chesal
Gesendet: Mittwoch, 8. September 2004 21:18
An: Condor-Users Mail List
Betreff: [Condor-users] Using JobPrio to adjust the RANK on machines

The situation: my office is not a fair-share type of place. I'd like to
exploit the RANK attribute on startd machines to achieve a non-fair share
environment. Section 3.6.2 of the 6.6.7 manual lists "JobPrio" as a job
ClassAd that's available when forming the machine's RANK expression.

What I'm thinking of doing is using JobPrio to adjust the rank expression on
machines so that user priorities influence job matching and I can say to my
users "only change your user priority if you want to trump everyone else on
machines". So what I'm thinking of doing is:

	RANK = (JobPrio * -1)

I'm using -1 because the JobPrio says higher is worse, so this makes JobPrio
= -20 jobs rank above JobPrio = 20 jobs.

Second question: Is this a good idea? Can someone comment on using JobPrio
to help create an environment where users can unfairly gain access to
resources when they need them.


Ian R. Chesal <ichesal@xxxxxxxxxx>
Senior Software Engineer
Altera Corporation
Toronto Technology Center
Condor-users mailing list