LSF Version 7.3 - Administering Platform LSF
Administering Platform LSF 343
Goal-Oriented SLA-Driven Scheduling
Submit jobs to a service class
You submit jobs to a service class as you would to a queue, except that a service class
is a higher level scheduling policy that makes use of other, lower level LSF policies
like queues and host partitions to satisfy the service-level goal that the service class
expresses.
The service class name where the job is to run is configured in
lsb.serviceclasses. If the SLA does not exist or the user is not a member of the
service class, the job is rejected.
Outside of the configured time windows, the SLA is not active, and LSF schedules
jobs without enforcing any service-level goals. Jobs will flow through queues
following queue priorities even if they are submitted with
-sla.
1 Run bsub -sla service_class_name to submit a job to a service class for
SLA-driven scheduling.
bsub -W 15 -sla Kyuquot sleep 100
submits the UNIX command sleep together with its argument 100 as a job to
the service class named Kyuquot.
Submitting with a
run limit
You should submit your jobs with a run time limit at the job level (-W option), the
application level (RUNLIMIT parameter in the application definition in
lsb.applications), or the queue level (RUNLIMIT parameter in the queue
definition in
lsb.queues). You can also submit the job with a run time estimate
defined at the application level (RUNTIME parameter in
lsb.applications)
instead of or in conjunction with the run time limit.
The following table describes how LSF uses the values that you provide for
SLA-driven scheduling.
If you specify… And… Then…
A run time limit and a
run time estimate
The run time estimate is less
than or equal to the run time
limit
LSF uses the run time
estimate to compute the
optimum number of running
jobs.
A run time limit You do not specify a run time
estimate, or the estimate is
greater than the limit
LSF uses the run time limit to
compute the optimum
number of running jobs.
A run time estimate You do not specify a run time
limit
LSF uses the run time
estimate to compute the
optimum number of running
jobs.
Neither a run time limit
nor a run time estimate
LSF automatically adjusts the
optimum number of running
jobs according to the
observed run time of finished
jobs.