Configuring time-based slot reservation
About this task
Greedy slot reservation is the default slot reservation mechanism and time-based slot reservation is disabled.
Procedure
Scheduling examples
- Job5 requests –n 6 –R “span[ptile=2]”, which will require three hosts with 2 CPUs on each host. As in the greedy slot reservation example, four jobs are running in the cluster: Job1, Job2, Job3 and Job4. Two CPUs are available now, 1 on host A, and 1 on host D:
Job2 finishes, freeing 2 more CPUs for future allocation, 1 on host A, and 1 on host C:
Job4 finishes, freeing 4 more CPUs for future allocation, 2 on host A, and 2 on host C:
Job1 finishes, freeing 2 more CPUs for future allocation, 1 on host C, and 1 host D:
Job5 can now be placed with 2 CPUs on host A, 2 CPUs on host C, and 2 CPUs on host D. The estimated start time is shown as the finish time of Job1: