Skip to content

Moonshot P4b: record the running-limit preflight (128 running in both arms) - #164

Merged
SamMausberg merged 2 commits into
mainfrom
moonshot/p4-preflight-result
Oct 1, 2026
Merged

SamMausberg merged 2 commits into
mainfrom
moonshot/p4-preflight-result

Conversation

@SamMausberg

Copy link
Copy Markdown
Owner

This PR records the result of P4b's amended admission preflight in evidence/moonshot/README.md 2c. The running-limit amendment (#123) predicted that --max-running-requests 129 at client concurrency 128 lets every wave reach 128 running. The preflight confirms it in both arms.

The run is 20261001T212044Z, 2026-10-01 21:20-21:24 UTC, repo fc76655, engine c29a91692b, run with run_p4_admission.sh. The client sent 128 requests at concurrency 128, and the servers resolved a running limit of 129.

Results, in both arms

  • check_admission.py reports a peak of 128 running in the profiling phase.
  • No scheduler decode line shows fewer than 128 running while a request is queued. All 31 decode lines show 128.
  • The 128th request finishes together with the 127th. The profiling phase took 9.38 s, against 11.1 and 11.4 s in the third void attempt, where that request decoded alone for 1.8-2.1 s after the wave.
  • The decode CUDA graphs were captured up to batch 129.

Not included

The full P4b job is queued from main at 14c6dd1 and its results are not in. The raw preflight outputs stay in ~/vp-data/moonshot/p4_admission_20261001T212044Z/; this PR is a text record only.

Use downstream

The upstream workstream plans a comment on SGLang issue #38118. This record is the committed evidence for the M + 1 workaround it mentions.

The amended preflight (run 20261001T212044Z, --max-running-requests 129
at concurrency 128) admitted all 128 requests in both arms, with no
decode step below 128 while a request was queued and no single-request
tail after the wave; the profiling phase took 9.38 s against 11.1-11.4 s
in the third void attempt. README 2c records it; the full job is queued.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 1, 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-01T21:30:58.670153Z 1167d71 Manual request
ℹ️ 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.

@SamMausberg

Copy link
Copy Markdown
Owner Author

Verdict: APPROVE (provisional, on 0e52698: Codex has not finished on this head yet. I will confirm once it does.)

Every statement in the new bullet checks against the raw preflight in ~/vp-data/moonshot/p4_admission_20261001T212044Z/ and p4_admission_129.log.

  • Run identity. The log header gives repo fc76655 and engine c29a91692b. Both arms report effective max_running_requests=129, cuda_graph_covers_capacity: target decode graph batch sizes up to 129, and 128/128 requests ok at c = 128.
  • Peak running. check_admission.py prints a peak #running-req of 128 in the profiling phase for both arms.
  • Decode lines. Each arm's server.log has 31 decode lines, all at #running-req: 128 with #queue-req: 0. No line shows fewer than 128 running, queued or not.
  • No single-request tail. From requests.csv (start_ns + latency_ms), the 128th request ends together with the 127th, and all 128 ends fall within 0.03 s in both arms. phase_manifest.json gives profiling phases of 9.381 s in both arms. The 11.1 and 11.4 s for the third void attempt are the README's own numbers (lines 313-314).
  • Checks. This PR is text only. Pre-commit from main is clean, and there is no hostname or AI attribution.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 0e52698868

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +336 to +340
- Running-limit preflight passed (run 20261001T212044Z, 2026-10-01 21:20-21:24 UTC, repo
fc76655, engine c29a91692b, `run_p4_admission.sh`). The client sent 128 requests at
concurrency 128, and the servers resolved a running limit of 129. Every prediction of the
amendment held in both arms:
- `check_admission.py` reports a peak of 128 running in the profiling phase;

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Mark the completed admission preflight as measured

Recording the successful preflight here leaves the experiment inventory contradictory: experiments/moonshot/README.md:31 still lists run_p4_admission.sh and check_admission.py as pending, while line 37 defines that status as having no committed evidence. Update that row to point to this newly committed result so readers do not treat the preflight as outstanding.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in 1167d71: the script index row for run_p4_admission.sh and check_admission.py now points at evidence/moonshot/README.md 2c (preflight 20261001T212044Z; a text record, raw outputs outside git) instead of "pending".

@SamMausberg

Copy link
Copy Markdown
Owner Author

Verdict: REQUEST CHANGES (0e52698; withdraws my provisional approval. Codex r4160668847 is valid and needs a one-row fix.)

experiments/moonshot/README.md:31 still lists run_p4_admission.sh and check_admission.py as "pending", which line 37 defines as "no committed evidence yet". This PR records the preflight's result. Point the row at the new record, for example "evidence/moonshot/README.md 2c (preflight 20261001T212044Z; text record, raw outputs outside git)". Everything I verified on 0e52698 stands.

The script index still listed run_p4_admission.sh and check_admission.py
as pending; the preflight's result is now recorded in
evidence/moonshot/README.md 2c (Codex and reviewer on #164).
@SamMausberg

Copy link
Copy Markdown
Owner Author

@codex review

@SamMausberg

Copy link
Copy Markdown
Owner Author

Verdict: APPROVE (provisional, on 1167d71: Codex has not reviewed this head yet. I will confirm once it does.)

1167d71 changes only the inventory row Codex flagged. It now points run_p4_admission.sh and check_admission.py at evidence/moonshot/README.md 2c (preflight 20261001T212044Z, a text record with the raw outputs outside git). My checks of 0e52698 stand.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 🚀

Reviewed commit: 1167d71190

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@SamMausberg

Copy link
Copy Markdown
Owner Author

Verdict: APPROVE (confirmed on 1167d71)

This confirms my provisional approval. Codex found no issues on this head.

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.

1 participant