[gridengine users] sanity check on usage of "-p" priority value: per-user effect or global across waitlist?

Reuti reuti at staff.uni-marburg.de
Thu Apr 30 16:58:19 UTC 2015


> Am 30.04.2015 um 18:21 schrieb Chris Dagdigian <dag at sonsorol.org>:
> 
> 
> GE and UGE man pages are not clear about the scope of "-p" priority values when a user uses it. It's been a long time since I needed this and I wanted to confirm the scope of the behavior ..
> 
> Use case:
> 
> - I need to submit 100 personal jobs as "dag" with 10 jobs being slightly more important than others
> - I'm not an admin so I can't use priority values higher than 0
> 
> What I'd like to do:
> 
> - Submit 90 jobs with "-p -100" since I can't use value higher than zero
> - Submit 10 jobs with "-p -10" to give priority to my 10 special tasks
> 
> My question:
> 
> - Does my use of "-p" to send lower-than-zero values for my submitted jobs affect just MY jobs and the order in which they get dispatched or will I end up penalizing myself globally because all the other jobs from other 
> users on the cluster are running with default "-p" values of 0 assigned to them?

AFAIK this is global (you can peek at `qstat -pri` to check it).

But you can use `qsub -js ...` to give a job a preference.

-- Reuti



More information about the users mailing list