LSF Version 7.3 - Platform LSF Configuration Reference

Configuration to control how many times a job can be preempted
By default, if preemption is enabled, there is actually no guarantee that a job will ever actually
complete. A lower priority job could be preempted again and again, and ultimately end up
being killed due to a run limit.
Limiting the number of times a job can be preempted is configured cluster-wide
(lsb.params), at the queue level (lsb.queues), and at the application level
(lsb.applications). MAX_JOB_PREEMPT in lsb.applications overrides
lsb.queues, and lsb.queues overrides lsb.params configuration.
Files Parameter Syntax and description
lsb.params
lsb.queues
lsb.applications
MAX_JOB_PREEMPT
MAX_JOB_PREEMPT=integer
Specifies the maximum number of times a job can be
preempted.
Specify a value within the following ranges:
0 < MAX_JOB_PREEMPT < INFINIT_INT
INFINIT_INT is defined in lsf.h
By default, the number of preemption times is
unlimited.
When MAX_JOB_ PREEMPT is set, and a job is preempted by higher priority job, the number
of job preemption times is set to 1. When the number of preemption times exceeds MAX_JOB_
PREEMPT, the job will run to completion and cannot be preempted again.
The job preemption limit times is recovered when LSF is restarted or reconfigured.
Preemptive scheduling commands
Commands for submission
Command
Description
bsub -q queue_name
Submits the job to the specified queue, which may have a run limit
associated with it
bsub -W minutes
Submits the job with the specified run limit, in minutes
bsub -app
application_profile_name
Submits the job to the specified application profile, which may have a run
limit associated with it
Commands to monitor
Command
Description
bjobs -s
Displays suspended jobs, together with the reason the job was suspended
Feature: Preemptive scheduling
56 Platform LSF Configuration Reference