[GE users] SGE6 and priorities

Charu Chaubal Charu.Chaubal at Sun.COM
Mon Aug 9 21:29:57 BST 2004



John Coldrick wrote:
> 	In previous versions, we used priority extensively and dynamically as a way 
> to allow any given task to jump ahead of another.  It was fast and easy.  
> Things have changed with SGE6 - throughout the docs I see repeated references 
> to "priority allows the user to change priority *within their own jobs*".  
> This infers that if I'm running a series of jobs, someone else could set 
> their priority to +1000 and still not jump ahead of me because it only 
> applies relatively to their own jobs.  Practical experimentation seems to 
> indicate this *isn't* true, though - I can change it on the fly and 
> regardless of who you are, multiple user's jobs can jump ahead or fall behind 
> as before.
> 

In SGE 6, users should use the flag "-js" to sort priorities within their own jobs.

By contrast, "-p" operates at a higher level, and sorts priorities globally, but 
only if the POSIX priority weighting factor is non-zero.  Also, the degree of 
influence of the "-p" priority is set by the relative weights of the ticket, 
urgency, and POSIX priority policies.

Hope that helps,
	Charu




> 	Am I misunderstanding the docs?  I know there's a lot more flexibility in 
> there now, but all we really need for now is the ability to say "job X is pri 
> = -20, job Y is pri = -10.   Y will run before X".  Should we continue to use 
> the -p setting as before?  I'd like to avoid having to manage whole new 
> layers of this.
> 
> 	Also, there's now a delay - a job first submitted will remain with a priority 
> of zero until "processed", and then is assigned a positive floating point 
> value between zero and one - which doesn't jive with the priority settings of 
> +-1024.  This is confusing...seems that these should have different names if 
> they are in fact different measurements...
> 
> 	Cheers,
> 
> 	J.C.
> 

-- 
####################################################################
# Charu V. Chaubal              # Phone: (650) 786-7672 (x87672)   #
# Grid Computing Technologist   # Fax:   (650) 786-4591            #
# Sun Microsystems, Inc.        # Email: charu.chaubal at sun.com     #
####################################################################


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
For additional commands, e-mail: users-help at gridengine.sunsource.net




More information about the gridengine-users mailing list