|
Lines 2606-2611
if the value of \fBbf_window\fR is increased, then it is generally advisable
Link Here
|
| 2606 |
to also increase \fBbf_resolution\fR. |
2606 |
to also increase \fBbf_resolution\fR. |
| 2607 |
This option applies only to \fBSchedulerType=sched/backfill\fR. |
2607 |
This option applies only to \fBSchedulerType=sched/backfill\fR. |
| 2608 |
.TP |
2608 |
.TP |
|
|
2609 |
\fBbf_window_linear=#\fR |
| 2610 |
For performance reasons, the backfill scheduler will decrease precision in |
| 2611 |
calculation of job expected termination times. By default, the precision starts |
| 2612 |
at 30 seconds and that time interval doubles with each evaluation of currently |
| 2613 |
executing jobs when trying to determine when a pending job can start. This |
| 2614 |
algorithm can support an environment with many thousands of running jobs, but |
| 2615 |
can result in the expected start time of pending jobs being gradually being |
| 2616 |
deferred due to lack of precision. A value for bf_window_linear will cause |
| 2617 |
the time interval to be increased by a constant amount on each iteration. |
| 2618 |
The value is specified in units of seconds. For example, a value of 60 will |
| 2619 |
cause the backfill scheduler on the first iteration to identify the job ending |
| 2620 |
soonest and determine if the pending job can be started after that job plus |
| 2621 |
all other jobs expected to end within 30 seconds (default initial value) of the |
| 2622 |
first job. On the next iteration, the pending job will be evaluated for |
| 2623 |
starting after the next job expected to end plus all jobs ending within |
| 2624 |
90 seconds of that time (30 second default, plus the 60 second option value). |
| 2625 |
The third iteration will have a 150 second window and the fourth 210 seconds. |
| 2626 |
Without this option, the time windows will double on each iteration and thus |
| 2627 |
be 30, 60, 120, 240 seconds, etc. The use of bf_window_linear is not recommended |
| 2628 |
with more than a few hundred simultaneously executing jobs. |
| 2629 |
.TP |
| 2609 |
\fBbf_yield_interval=#\fR |
2630 |
\fBbf_yield_interval=#\fR |
| 2610 |
The backfill scheduler will periodically relinquish locks in order for other |
2631 |
The backfill scheduler will periodically relinquish locks in order for other |
| 2611 |
pending operations to take place. |
2632 |
pending operations to take place. |