I have an LSF queue, say it's queue A. I only want higher priority jobs in queue A to preempt lower priority jobs in queue A, but not jobs in any other queues. If I set queue A to be preemptable, could I set it to be preemptable only by itself (queue A)? Or if this is not allowed, what could achieve my goal?


LSF support 2 modes of preemption: Queue based and license based. In your case, since the queue priority of your two jobs is the same (both are in the same queue) preemption won't be triggered.

If your two jobs are part of different license scheduler projects, and the running job is borrowing a license from the project of the pending job, then preemption can happen. But from your description I'm guessing that this isn't the case.

Unfortunately preemption based on (for example) job priority or fairshare weight is not supported.

  • 1
    Thanks. Yeah it looks like LSF only supports preemption based on queue priority, instead of job priority. I'd have to use 2 queues with different priorities maybe. – Peng Dec 28 '18 at 0:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.