-sp

Specifies user-assigned job priority that orders jobs in a queue.

Categories

properties

Synopsis

bsub -sp priority

Description

Valid values for priority are any integers between 1 and the value of the MAX_USER_PRIORITY parameter that is configured in the lsb.params file. Job priorities that are not valid are rejected. LSF administrators and queue administrators can specify priorities beyond MAX_USER_PRIORITY for any jobs in the queue.

Job owners can change the priority of their own jobs relative to all other jobs in the queue. LSF administrators and queue administrators can change the priority of all jobs in a queue.

Job order is the first consideration to determine job eligibility for dispatch. Jobs are still subject to all scheduling policies regardless of job priority. Jobs are scheduled based first on their queue priority first, then job priority, and lastly in first-come first-served order.

User-assigned job priority can be configured with automatic job priority escalation to automatically increase the priority of jobs that are pending for a specified period (JOB_PRIORITY_OVER_TIME in lsb.params).

When absolute priority scheduling is configured in the submission queue (the APS_PRIORITY parameter in the lsb.queues file), the user-assigned job priority is used for the JPRIORITY factor in the APS calculation.

Note: If you enable the RELAX_JOB_DISPATCH_ORDER parameter in the lsb.params file, which allows LSF to deviate from standard job prioritization policies, LSF might break the job dispatch order as specified by the user priority.