Supernodal Cholesky, step by step
A 10 × 10 matrix whose factor L has five supernodes. The same factorization twice: once on one rank, then split over three.
Each supernode applies the updates it is owed, factors its diagonal block, then solves the block below. Each cell shows the number it holds after the current step; the panel shows the arithmetic that produced it. This fan-in grouping is the order of sTiles' owner-pull collector; the default push collector does the same arithmetic grouped by source supernode instead, which is what the parallel tab shows.
Computation
The same matrix on three ranks. One tick = one task per rank, every task costed the same, which is the only fiction here; the partition, the task lists, the order inside each rank and every wait are the ones sTiles' sparse path actually produces for this matrix. Serial takes 16 tasks, this schedule takes 8 ticks.
Updates still owed as the tick began (updates_remaining)
Computation
Timeline
How the work was split
Supernodal elimination tree, level in brackets:
S1[0] → S3[1] S2[0] → S3[1] S4[0] → S5[2] S3[1] → S5[2]
- Level 0 holds three supernodes, so three ranks can be busy; levels 1 and 2 hold one each.
- Owner flops, used by the partitioner: S3 34.0, S5 28.7, S1 10.7, S4 10.7, S2 2.3.
- Heaviest first to the least loaded rank gives R0 = S1, S5 (39.3), R2 = S2, S3 (36.3), R1 = S4 (10.7).
- Each rank then runs its supernodes in level order, and inside a supernode: FACTOR, its TRSMs, then its updates.
What the counters do
progress: one byte per cell, set when a FACTOR or TRSM finishes it. A TRSM waits on its diagonal cell; an update waits on both of its source cells.updates_remaining: per cell, started at the number of updates aimed at it (here (S3,S3) 2, (S5,S3) 1, (S5,S5) 3) and counted down by each scatter. A FACTOR or TRSM may not touch a cell until its count is 0.- Concurrent scatters into one cell are serialised by that cell's spinlock, so they land in arrival order, not in source order.
- No barrier between levels. Levels only shape the static assignment; at run time a rank blocks on cells, not on phases.
Two honest caveats. sTiles would not use three ranks here: its structural cap works out to exactly 3 for this tree, but the work floor then sees 86 flops in total and drops the matrix to one rank, where the serial tab is what runs. And the spin waits above are per cell, so a rank blocked on one cell does nothing else; there is no work stealing.