Skip to content

3.x.x: #555's session points and #521's mainnet shapes in the weekly reduced L3 (#555) - #614

Merged
RobertClarke merged 2 commits into
3.x.xfrom
Anatolie/555a-session-points
Oct 6, 2026
Merged

RobertClarke merged 2 commits into
3.x.xfrom
Anatolie/555a-session-points

Conversation

@Anatolie

@Anatolie Anatolie commented Sep 30, 2026 •

Copy link
Copy Markdown
Member

Refs #555 (S17 of #487), part a. Restacked onto 3.x.x after #608 (#550) landed.

Two parts of #555 remain: the 10,000-recipient point and the evaluation of the 50,000-recipient trigger against it. #548 (CTV fanout settlement in qbit-prism-load) has since landed as #644, so the point's preset can now be written with --ctv-settlement on. This does not close #555.

What this adds

  • Session points (decision 7): session-point-5000-sessions-400k-2fe-async and session-point-10000-sessions-400k-2fe-async.
    • Each is throughput-400k-window-2fe-async (400k window, 2 async frontends, the D1 plan, 500 shares/s for 300 s) at 5,000 and 10,000 sessions.
    • Only --sessions and --stratum-max-pending-initial-jobs differ. Admission is sessions per frontend + 16 (2516 and 5016), the harness's pre-3.x.x: launch load-harness frontends at the production initial-job admission (#275) #497 rule that the 2,000-session cell ran at 1016. A test checks that exactly these two flags differ.
    • Burst variant: the D1 plan's burst phase is already 2,000 shares/s for 60 s (cli::phases, pinned --burst-rate 2000 --burst-seconds 60). So the 10,000 point's burst is the variant, and no third preset is needed.
    • Capacity-envelope points, not D1 verdicts (decision 5): d1_verdict_table: false, gated on reconciliation and on steady_state shortfall 0. Refused and unanswered shares are reported, not gated. The collation shows their rows with "not a D1 cell".
    • They name the 32 vCPU runner and a 90-minute timeout.
  • l3-reduced now also runs these two, and 3.x.x: pre-mainnet end-to-end scenarios on regtest, plus a nightly load-harness job #521's mainnet-shape-{130,650,2600}-addresses and rental-churn-bursts-and-storms (decision 11): 9 jobs a week, about 200 runner-minutes on the 32 vCPU class.
  • Manifest:
    • session-points (2,000 / 5,000 / 10,000) and mainnet-shapes-reduced-l3 now run, citing l3-reduced.
    • recipient-point-10000 stays runs = false. Its reason now says the preset can be written with --ctv-settlement.
  • The 50,000-recipient trigger, in the README L3 section and in recipient-point-10000's notes. The 50,000 run is triggered when the 10,000-recipient point costs more than 25% more per recipient than the same preset at 1,000 recipients (one fanout chunk), on the same runner class in the same week, in either:
    • window rebuild: the tip-to-last-notify p99;
    • payout revision: from a landing until every session holds the new revision's work, the median over landings.
    • A fixed cost can only lower the per-recipient figure at the larger size, so a linear cost never fires the trigger. It is to be evaluated once the 10,000-recipient point's preset runs.

Verification

  • cargo test --locked -p qbit-prism-load --test realism --test collate: pass. realism.rs validates both presets through the harness's entry checks. qbit-prism-load-compare --validate-preset passes on both.
  • python3 -m unittest tests.test_prism_load_matrix tests.test_check_e2e_scenarios tests.test_prism_l3_promote and python3 scripts/check_e2e_scenarios.py pass. actionlint is clean.
  • One local run of session-point-10000-sessions-400k-2fe-async through .github/scripts/prism-load-run.sh, on a shared 22-core dev VM with 40 GiB, release build of this branch. This shows the preset runs; it is not a measurement.
    • Harness exit 0, gate PASS, 15,013 connects.
    • steady_state 499.997 shares/s, shortfall 0, ACK p99 752 ms.
    • The burst variant reached 643 shares/s against 2,000 (shortfall 71,688, 9,704 valid shares refused, ACK p99 15.0 s).
    • Warm-up refused 451 valid shares; slow_database refused 25,105 and left 4,817 unanswered. Both are reported, not gated.
  • Not done: the 5,000 point was not run locally. Nothing ran on Blacksmith.

Since the handover (#626)

🤖 Generated with Claude Code


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 30, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-06T03:42:00.028643Z 7ce4a25 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@kiwidream

Copy link
Copy Markdown
Member

Heads-up: #644 (#548, CTV fanout settlement in qbit-prism-load) merged into 3.x.x as 3f1fba6b. Every checked-in preset must now pin --ctv-settlement, otherwise check_complete (realism.rs / preset.rs) fails after a rebase, without a textual conflict. The new presets in this stack need the key: dense-cadence-400k-*-async ×2, throughput-400k-window-2fe-async-3-blocks, and session-point-5000/10000. Use false, except #555's 10,000-recipient point, which can now set true to build fanout. Every preset's sha256 changed with #644, so each L2 trend series restarts once.

🤖 Generated with Claude Code

@RobertClarke

Copy link
Copy Markdown
Member

Taking this over per #626. After #608 lands, I'll do the following, then review and merge:

🤖 Generated with Claude Code

@RobertClarke
RobertClarke force-pushed the Anatolie/550-l3-matrix branch from b55301b to 6f5ca08 Compare October 6, 2026 02:40
@RobertClarke
RobertClarke force-pushed the Anatolie/555a-session-points branch from 9750866 to 1a0333d Compare October 6, 2026 02:47
@RobertClarke
RobertClarke force-pushed the Anatolie/550-l3-matrix branch from 6f5ca08 to ca5a774 Compare October 6, 2026 03:22
@RobertClarke
RobertClarke changed the base branch from Anatolie/550-l3-matrix to 3.x.x October 6, 2026 03:40
Anatolie and others added 2 commits October 5, 2026 23:40
…kly reduced L3 (#555)

Two capacity-envelope presets beside the 2,000-session 400k cell
(decision 7): session-point-{5000,10000}-sessions-400k-2fe-async, that
cell's workload at 5,000 and 10,000 sessions with admission sessions per
frontend + 16 as it ran. The D1 plan's burst, 2,000 shares/s for 60 s, is
the burst variant at 10,000 sessions. They gate reconciliation and a
steady_state that places every offer and carry no D1 verdict
(decision 5).

l3-reduced now also runs them and mainnet-shape-{130,650,2600}-addresses
and rental-churn-bursts-and-storms (decision 11) once a week on the L3
class. session-points and mainnet-shapes-reduced-l3 run;
recipient-point-10000 still waits on CTV fanout in the harness (#548),
and the 50,000-recipient trigger is written down for it: more than 25%
more per recipient than the same preset at 1,000 recipients, in window
rebuild or payout revision.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
… them in the lanes page, and note that #548 has landed (#555)

3.x.x added two result flags every checked-in preset must pin:
`--ctv-settlement` (#644) and `--faults` (#623). The two session
points pin `false` and `null`, as `throughput-400k-window-2fe-async`
does, so they still differ from it only in `--sessions` and
`--stratum-max-pending-initial-jobs`.

#548 (CTV fanout settlement in the harness) landed as #644. The
10,000-recipient point still has no preset, but the README, the suite
comment and the scenario manifest now say it can be written with
`--ctv-settlement` on, rather than that it waits on #548. The
50,000-recipient trigger is evaluated once that preset runs.

docs/prism-e2e-load-ci.md gets #626's parts for this change: the
`l3-reduced` row's nine presets, its cost of about 200 runner-minutes a
week, and the capacity-envelope paragraph.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@RobertClarke
RobertClarke force-pushed the Anatolie/555a-session-points branch from 1a0333d to 7ce4a25 Compare October 6, 2026 03:40
@RobertClarke
RobertClarke merged commit fc2c822 into 3.x.x Oct 6, 2026
40 checks passed
@RobertClarke
RobertClarke deleted the Anatolie/555a-session-points branch October 6, 2026 06:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants