Skip to content

Phase 5 — measure the executor against the in-process monolith #650

Done

Description

@athvin

.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:

  1. 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.
  2. 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 from 70f31c54^ or
    descope.
  • quota-wait and pending-age series. The in-flight cap was never reached,
    because a run_all chain 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

  1. added
    mvp
    docs-backlog
    on Nov 6, 2026
  2. athvin commented on Nov 7, 2026

    @athvin
    OwnerAuthor

    Unblocked: Phase 4 landed in #756 (merge 70f31c54, 2026-11-07). The in-process monolith this is meant to measure against no longer exists on main — dispatcher.rs went 2,616 → 894 lines and reporter.rs is 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:

    • the executor path is the only path; there is no per-kind allowlist and no fallback (ER_DISPATCH_IN_PROCESS and executor.dagKinds are both deleted).
    • a dispatcher with no executor claims nothing, so a host "before" measurement cannot be taken by simply not configuring one.

    Also relevant to the quota-wait and pending-age series: log_cpu_budget reported 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    docs-backlogmvp

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions