This content has been marked as final. Show 1 reply
The job priority that is calculated for each job is more complex than simply the -p value that you use during job submission. Values which affect the calculated value include the project under which the job is submitted, the requested resources, submit time and a few others.
To summarise, the following formula is used to calculate a job's priority:
prio = weight_priority * pprio + weight_urgency * nurg + weight_ticket * ntckts
where weight_priority, weight_urgency and weight_ticket are all values defined and configured in the scheduler configuration.
Of course, this is only the short answer. For a full understanding of how the job priorities are calculated you should see the sge_priority man page. This gives a much more in-depth explanation of all the values used to derive the final priority.
Hope this helps you understand how job priority is calculated.