[slurm-users] Preemption Priority

Paul Edmon pedmon at cfa.harvard.edu
Fri Oct 25 14:15:47 UTC 2019


You might want to look at these options for SchedulerParamtesr:

*preempt_strict_order*
    If set, then execute extra logic in an attempt to preempt only the
    lowest priority jobs. It may be desirable to set this configuration
    parameter when there are multiple priorities of preemptable jobs.
    The logic to support this option is only available in the
    select/cons_res and select/cons_tres plugins. 
*preempt_youngest_first*
    If set, then the preemption sorting algorithm will be changed to
    sort by the job start times to favor preempting younger jobs over
    older. (Requires preempt/partition_prio or preempt/qos plugins.) 

-Paul Edmon-

On 10/25/19 7:21 AM, Oytun Peksel wrote:
>
> Hi,
>
> Let’s say I have two partitions assigned to the same single load in 
> the cluster.
>
> LowPrio with PreemptMode=suspend Priority=1
>
> HighPrio with PreemtMode=off Priority=5
>
> I have 4 identical jobs requiring 1/2 of resources in the cluster. So 
> only 2 jobs can run at the same time.
>
> I queue up two of these jobs to LowPrio partition one after the other. 
> Let’s say one have jobid=10 and the next one has jobd=11
>
> Then I queue up a third job to HighPrio partition. One of the LowPrio 
> jobs immediately get suspended.
>
> *Q1. How can I make sure the one submitted latest(jobid=11 in this 
> case) gets suspended and not jobid=10?*
>
> Then before any job is finished I submit the final job to LowPrio 
> partition.
>
> So the queue looks like this
>
> *Q2. When HighPrio job (12) finishes how can I make sure suspended 
> job(10) would start instead of the pending job(13)?*
>
> Thanks
>
> *Oytun Peksel*
>
>
>
> /When you communicate with us or otherwise interact with Semcon, we 
> will process personal data that you provide to us or we collect about 
> you, please read more in our Privacy Policy 
> <https://semcon.com/data-privacy-policy/>./
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20191025/e93b7c89/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 10973 bytes
Desc: not available
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20191025/e93b7c89/attachment.png>


More information about the slurm-users mailing list