Skip to content

Commit 8659004

Browse files
Merge pull request #831 from hjoliver/runahead-limit-doc-tweak
Fix runahead limit documentation.
2 parents 90722fe + e76f586 commit 8659004

File tree

1 file changed

+28
-20
lines changed

1 file changed

+28
-20
lines changed

src/user-guide/writing-workflows/scheduling.rst

Lines changed: 28 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -2350,6 +2350,8 @@ held back, and are displayed in the GUI/Tui with a small circle above them.
23502350

23512351
Tasks in the :term:`n>=1 window <n-window>` are not displayed as runahead
23522352
limited; they form the future graph and are not yet being actively limited.
2353+
(Note this goes for all tasks downstream of actively limited ones, not just
2354+
those in future cycles).
23532355

23542356
As the workflow advances and active cycles complete, the runahead limit moves
23552357
forward allowing tasks in later cycles to run.
@@ -2384,13 +2386,19 @@ is four cycles after this (i.e. cycle 4). So the task ``foo`` will immediately
23842386
submit in cycles 1, 2, 3 and 4, however, the tasks in cycles 5 onwards will
23852387
wait until earlier cycles complete, and the runahead limit advances.
23862388

2387-
* 1 |task-submitted| - **initial cycle point**
2388-
* 2 |task-submitted|
2389-
* 3 |task-submitted|
2390-
* 4 |task-submitted| - **runahead limit**
2391-
* 5 |task-runahead-super| (held back by runahead limit)
2392-
* 6 |task-runahead-super| (held back by runahead limit)
2393-
* X |task-runahead-super| (held back by runahead limit)
2389+
* 1 |task-submitted| - :term:`active task` at the **initial cycle point**
2390+
* 2 |task-submitted| - active task
2391+
* 3 |task-submitted| - active task
2392+
* 4 |task-submitted| - active task
2393+
* 5 |task-runahead-super| - active task, held back by the **runahead limit**
2394+
* 6 |task-waiting| - (future task, beyond the runahead limit)
2395+
* ...
2396+
2397+
.. note::
2398+
2399+
Depending on graph structure and :term:`n-window extent <n-window>` you
2400+
may see tasks beyond the runahead limit displayed as waiting. They form
2401+
the future graph and are not yet actively runahead limited.
23942402

23952403
As the workflow advances and earlier cycles complete, the runahead limit
23962404
moves on. E.G. Once the cycles 1 & 2 have completed, the runahead limit will
@@ -2411,13 +2419,13 @@ interval, so if we change the cycling interval from ``P1`` to ``P2Y``:
24112419
Then, the task ``foo`` would submit immediately in the cycles 1, 3, 5 and 7.
24122420
Cycles from 9 onwards will be held back.
24132421

2414-
* 2000 |task-submitted| - **initial cycle point**
2415-
* 2002 |task-submitted|
2416-
* 2004 |task-submitted|
2417-
* 2006 |task-submitted| - **runahead limit**
2418-
* 2008 |task-runahead-super| (held back by runahead limit)
2419-
* 2010 |task-runahead-super| (held back by runahead limit)
2420-
* XXXX |task-runahead-super| (held back by runahead limit)
2422+
* 2000 |task-submitted| - :term:`active task` at the **initial cycle point**
2423+
* 2002 |task-submitted| - active task
2424+
* 2004 |task-submitted| - active task
2425+
* 2006 |task-submitted| - active task
2426+
* 2008 |task-runahead-super| - active task, held back by the **runahead limit**
2427+
* 2010 |task-waiting| - (future task, beyond the runahead limit)
2428+
* ...
24212429

24222430

24232431
Datetime Format
@@ -2437,12 +2445,12 @@ This approach *does* depend on the cycling intervals, e.g:
24372445
24382446
When this workflow starts, the task foo in the first three cycles will run:
24392447

2440-
* 2000 |task-submitted| - **initial cycle point**
2441-
* 2002 |task-submitted|
2442-
* 2004 |task-submitted| - **runahead limit**
2443-
* 2006 |task-runahead-super| (held back by runahead limit)
2444-
* 2008 |task-runahead-super| (held back by runahead limit)
2445-
* XXXX |task-runahead-super| (held back by runahead limit)
2448+
* 2000 |task-submitted| - :term:`active task` at the **initial cycle point**
2449+
* 2002 |task-submitted| - active task
2450+
* 2004 |task-submitted| - active task
2451+
* 2006 |task-runahead-super| - active task, held back by the **runahead limit**
2452+
* 2008 |task-waiting| - (future task, beyond the runahead limit)
2453+
* ...
24462454

24472455

24482456
Runahead Limit Notes

0 commit comments

Comments
 (0)