You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
perf(eval): avoid full manifest rewrites for sparse execution reservations #4360
Follow-up to #3302; intentionally outside its evaluation-recovery scope.
The collector reserves execution identities durably before sending requests. It currently rewrites the run manifest for each admitted batch. Batching improves concurrent admissions, but a large input inventory still makes individual admissions expensive, and these writes run synchronously.
A bounded Lustre measurement during #3302 development used a 100,000-task manifest and 64 admitted requests: individual reservations took 1.71 seconds versus 0.028 seconds for one batch. This measures reservation overhead, not end-to-end rollout throughput; repeat the measurement on representative filesystems before choosing a design.
Evaluate a compact append-only reservation log, or another design that avoids rewriting the whole inventory on sparse admissions. Coordinate its ownership and execution-identity contract with the rollout checkpointing work (#3024 / #3893).
Acceptance criteria:
Preserve durable reservation before dispatch, unique increasing execution identities, and exclusive controller ownership.
Preserve the distinction between execution identities and the recorded-failure retry budget; interruption alone must not consume the latter.
Define safe recovery, migration, and any log compaction. Interrupted writes must not permit identity reuse; conflicting or foreign-run history must remain detectable.
Compare isolated and batched admissions at realistic inventory sizes, including event-loop responsiveness and shared-filesystem behavior.
Keep ordinary saved-result selection and resume compatibility covered by crash/interruption and concurrent-owner tests.
This issue does not introduce a new reservation journal into #3302 and does not add execution checkpoint restoration to that PR.
Activity