Repository navigation
spec: desk open-fast, the band re-run on main (board #108) - #327
Conversation
The 100–300 band again at load 150 and 280 on a GCE Spot host, on main (aec6f74, sminos 1.5.1, the Linux read_proc_start fix in), with the first run's instruments and load method, plus a control at each point (stress-ng at nice 19: load1 kept, the benches' CPU share restored). - Surprises & Discoveries: the comparison with the first run; what the /proc fix moved (A3's stream and +30 s small opens, A1 at 280); what remains and why (A6, A3's large +30 s opens, A2 at 280: each passes in the control, so CPU starvation); A4's pair sized to the host (buffers capped, heartbeat lengthened), which sees the blocked write and shows a machine-side cost: the uplink verifies an inbound backlog's codes on its main thread, ahead of the opens behind it, in a per-character encoder. - Outcomes: the band paragraph's open question answered. - The report: the band section, its table, causes and the run's cost. - The runbook, with its scripts, since their /tmp copies do not last. Sminos-Session: smns-erb-71#b4948247 (doperpowers on macbook)
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Sminos-Session: smns-erb-71#b4948247 (doperpowers on macbook)
Sminos-Session: smns-erb-71#b4948247 (doperpowers on macbook)
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 1b6310983f
ℹ️ 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".
| R=us-east4 | ||
| D=/tmp/dsk-scripts/band2 | ||
| MYIP="$1" | ||
| [[ -f $D/key/id_dof ]] || ssh-keygen -q -t ed25519 -N '' -f $D/key/id_dof -C $N |
There was a problem hiding this comment.
Create the key directory before invoking ssh-keygen
On a fresh rerun, mk-tars.sh creates only $D/tar, so $D/key does not exist when this command tries to write id_dof; ssh-keygen then fails before any GCE resources are created. Since the runbook is intended to reconstruct the expired /tmp/dsk-scripts/ working copy, create $D/key before generating the key and metadata.
Useful? React with 👍 / 👎.
| ## The 100–300 band (board #108) | ||
|
|
||
| The band was re-run on main on the same GCE host shape as the first band | ||
| run, at load 150 and 280. Main was aec6f74c, sminos 1.5.1, which carries the |
There was a problem hiding this comment.
Update the report summary after completing the band rerun
Adding the completed rerun here leaves the same report internally contradictory: its opening “What's left” list still says the 100–300 band is waiting for a host, and the figures heading still labels that band incomplete. Readers relying on the report summary will therefore see the opposite status from this new section, so update those earlier status lines alongside the results.
Useful? React with 👍 / 👎.
| read. It is never enrolled at a hub: every bench runs `--hub local`, the | ||
| hub's own Worker on a local runtime. The API key reaches the host only |
There was a problem hiding this comment.
Limit the local-hub claim to benchmarks that use it
This blanket description is false for the recorded A3 runs: in the reviewed aec6f74c tree, bench_scale.py opens starts hub_standin.py via standin(env), while bench_index.py uses no hub at all. Saying every bench uses the hub's real Worker can make readers interpret the A3 figures as exercising the real local-hub path, so qualify this statement to the bench_open.py runs.
Useful? React with 👍 / 👎.
Board #108: the desk-open-fast 100–300 band, re-run on main with the Linux
read_proc_startfix in. A4's pair is sized to the loaded host. Docs only, so there is no version bump.What changed
2026-10-20-desk-open-fast-band-runbook.md) holds the scripts, since their/tmpcopies do not last.Results
Causes:
The ps fork (most likely). It accounted for A3's stream readiness and its small +30 s opens, and for A1's misses at 280. A1's N at 280 went from 1.35 s to ≤ 0.09 s. It was not behind A6.
CPU starvation. A6, A3's large +30 s opens and A2 at 280 all pass in the control at the same load1:
A6's time is the successor bridge child's Python start. Its imports alone took 1.0–1.1 s wall at 150 and 2.2–2.4 s at 280, against 0.06 CPU-s unloaded.
A sminos cost, described and not fixed here. A4's open after the resume waits on the uplink's main thread, which verifies the inbound backlog's codes before it reaches the subscribe:
json.dumps.The run
Validation Evidence
ci-gate --gates repo-checkson 1b63109: GREEN, https://github.com/SSFSKIM/doperpowers/actions/runs/39586358031Sminos-Session: smns-erb-71#b4948247 (doperpowers on macbook)