Repository navigation
Description
.claude/skills/er-engine-ops/references/batch-orchestration-design.md §11 Phase 5:
A measurement record comparing S/M/L wall-clock and node-hours
before and after, the quota-wait and pending-age series, and the Kueue
revisit decision against observed contention.
Revised 2026-11-07 — the before/after half of this ticket lost its baseline.
The legacy in-process dispatch arm was deleted by #645 (merged as 70f31c54),
so the monolith comparison this issue ordered "take it first" can no longer be
taken against live code. The two honest options:
- Reconstruct the baseline from history. Check out
70f31c54^(the arm
exists one commit back), build, and run the same corpus on the same cluster
class. Doable, and the only way to get the number Phase 5 actually asked
for. - Descope the before/after and keep the rest (S/M/L series, quota-wait,
pending-age). If the decision goes this way, amend
batch-orchestration-design.md §11 Phase 5 (:1160) in the same change, or the
doc keeps promising a measurement nothing can take.
What exists
One run_all_full on er-dev as seven pods, recorded in
docs/measurements/dag-pipeline-eks-20261105.json — no longer in the tree:
the per-campaign measurements/*.json captures were deliberately removed
(ducklake-performance's SKILL.md:24; the file is in git history). It answers
the orchestration question and says so in its own timings_excluded field:
- wall clock 37.2 s; the seven stage bodies sum to 13.9 s
- so 23.3 s (63%) is inter-stage overhead — settle, readiness, Job create,
schedule, container start, six times over - that share is a FIXED per-stage cost, so it falls as a corpus grows, and this
corpus is 26 rows
What is missing
- S and L class wall-clock and node-hours (the recorded run is M only).
- The before/after comparison against the in-process monolith — see the
revision note: the baseline is deleted; reconstruct from70f31c54^or
descope. - quota-wait and pending-age series. The in-flight cap was never reached,
because arun_allchain runs one stage at a time. - Node instance and capacity type, which consolidation reclaimed before the
labels were read.
Sequencing
The before/after half of this is ordered against Phase 4: deleting the
legacy arm removes the baseline. If the comparison matters, take it first.
Phase 4 is done (#645). The sequencing question is now the one above:
reconstruct, or formally descope.
Revised 2026-11-07 against origin/main: doc citations repointed
(docs/batch-orchestration-design.md moved under the er-engine-ops skill;
the measurements capture removed from the tree), and the Phase-4 ordering note
rewritten for a merged #645.
Activity
athvin commentedon Nov 7, 2026
Unblocked: Phase 4 landed in #756 (merge
70f31c54, 2026-11-07). The in-process monolith this is meant to measure against no longer exists onmain—dispatcher.rswent 2,616 → 894 lines andreporter.rsis gone — so the "before" arm has to come from git history or a pinned image rather than from a flag.Two inputs this will want, both now fixed facts:
ER_DISPATCH_IN_PROCESSandexecutor.dagKindsare both deleted).Also relevant to the quota-wait and pending-age series:
log_cpu_budgetreported 4000m allocatable / 1250m requested on the kind runner, so the in-flight cap has still never been reached — there is no contention data yet, which is the same blocker #654 is parked on.docs(engine): the Phase 5 measurement record — S/M/L on er-dev, no qu…