[slurm-users] Time-based partitions

Chris Samuel chris at csamuel.org
Tue Mar 13 03:25:17 MDT 2018


On Tuesday, 13 March 2018 5:46:09 AM AEDT Keith Ball wrote:

> 1.) For a “night” partition, jobs will only be allocated resources one the
> “night-time” window is reached (e.g. 6pm – 7am). Ideally, the jobs in the
> “night” partition would also have higher priority during this window (so
> that they would preempt jobs in the "day" partition that were still
> running, if there were resource contention).
> 
> 2.) During the “day-time” window (7am-6pm), jobs in the “day” queue can be
> allocated resources, and have higher priority than jobs in the “night”
> partition (that way, preemptive scheduling can occur if there is resource
> contention).

If you are willing to give up preemption then could you do that by having 
repeating reservations on each of the partitions that are accessible to nobody 
(just root) during the times that you don't want each of them used?

https://slurm.schedmd.com/reservations.html

Best of luck!
Chris
-- 
 Chris Samuel  :  http://www.csamuel.org/  :  Melbourne, VIC




More information about the slurm-users mailing list