Examine Jobs Queue by Queue
Specify whether all jobs that can be run from the highest-priority queue are run.
When a scheduler examines waiting jobs, it can either consider all of the jobs in its partition(s) as a whole, or it can consider jobs queue by queue. When considering jobs queue by queue, a scheduler runs all the jobs it can from the first queue before examining the jobs in the next queue, and so on. This behavior is controlled by the Schedule By Queue parameter.
When the Schedule By Queue parameter is enabled, jobs in the highest-priority queue are evaluated as a group, then jobs in the next-highest priority queue are evaluated. In this case, PBS runs all the jobs it can from each queue before moving to the next queue, with the following exception: if there are jobs in the Reservation, Express, Preempted, or Starving job execution classes, those are considered before any queue.
The Schedule By Queue parameter applies to all of the queues in a scheduler’s partition(s). This means that either all jobs are scheduled as if they are in one large queue, or jobs are scheduled queue by queue.
All queues are always sorted by queue priority. A queue with a higher value is examined before a queue with a lower value. If you do not assign priorities to queues, their ordering is undefined.