From 6161c4c99b13909f5c8db3d362bbd19d5e5ebbc3 Mon Sep 17 00:00:00 2001 From: repo-worker-tmp-code-b Date: Sat, 14 Nov 2026 07:31:18 -0600 Subject: [PATCH 1/2] bench(id): record many_worlds re-measurement after #8316 fix (#7064) Clean full world_bench run at main a824f622ae (queue task 12126): many_worlds p99 4,549.272 ms vs 5,650.792 ms reference (-19.5%), target still not met; checkpoint/evict/reopen 100/100/100. New line appended to baseline.txt under a dated comment and a re-measurement block added to BASELINES.md; existing baselines unchanged. Remaining gap is the #8239 group-commit work. --- pkgs/id/benches/BASELINES.md | 24 ++++++++++++++++++++++++ pkgs/id/benches/baseline.txt | 6 ++++++ 2 files changed, 30 insertions(+) diff --git a/pkgs/id/benches/BASELINES.md b/pkgs/id/benches/BASELINES.md index 8fecaacc5a..1d6024baa4 100644 --- a/pkgs/id/benches/BASELINES.md +++ b/pkgs/id/benches/BASELINES.md @@ -152,6 +152,30 @@ latency criterion remains open for follow-up. The matching measurement is appended to `baseline.txt`; the four existing F11.8 baselines above are unchanged. +Re-measurement (2026-11-14; rustc 1.99.0, cargo 1.99.0; AMD Ryzen 7 +7840U, 16 threads, Linux 6.18.60, NixOS; the laptop was under shared +fleet load during the run), at `main` a824f622ae, after the #8316 +restore fix (PR #9995) unblocked a clean run: + +```text +bench many_worlds unit=ms_per_command median=1065.462 min=4.841 reps=1 p50_ms=1065.462 p95_ms=3602.663 p99_ms=4549.272 target_p99_ms=50 target_met=false idle_worlds=1000 active_worlds=100 events_per_second=20 duration_secs=10 commands=20000 load_elapsed_secs=12.784 completed_events_per_second=1564.5 checkpoint_triggers=100 checkpoints=100 evicted=100 reopened=100 +``` + +The checkpoint/reopen assertions passed again for all 100 active +worlds (checkpoints=100, evicted=100, reopened=100). The latency +target still did **not** pass: p99 was 4,549.272 ms versus the 50 ms +target — an improvement of 1,101.520 ms (−19.5%) against the +2026-11-02 reference above, with completed throughput up slightly +(1,564.5/s versus 1,523.1/s) — but queueing behind per-append +fdatasync still dominates, exactly as the #7064 profiling recorded +(journal_append_fsync this run: median 5,443.164 us, in line with the +5,180 us reference). The remaining gap is the group-commit work, +split to #8239 (journal `append_batch` + actor-side drain), which is +the next phase; #557 stays open until a recorded run shows +target_met=true. The matching measurement is appended to +`baseline.txt` under its own dated comment; the 2026-11-02 line is +unchanged. + ## Fuel-spin isolation measurement (#1067, F12.10 exit criterion) The `fuel_spin_isolation` workload measures one victim counter world diff --git a/pkgs/id/benches/baseline.txt b/pkgs/id/benches/baseline.txt index d1a30c0c85..876623ff6a 100644 --- a/pkgs/id/benches/baseline.txt +++ b/pkgs/id/benches/baseline.txt @@ -12,6 +12,12 @@ bench checkpoint_compaction unit=us_per_compact median=10971.985 min=10683.191 r bench guest_replay unit=us_per_event median=0.170 min=0.145 reps=5 bench session_fanout unit=us_per_delivery median=1.437 min=1.383 reps=5 bench many_worlds unit=ms_per_command median=1076.753 min=6.368 reps=1 p50_ms=1076.753 p95_ms=4547.595 p99_ms=5650.792 target_p99_ms=50 target_met=false idle_worlds=1000 active_worlds=100 events_per_second=20 duration_secs=10 commands=20000 load_elapsed_secs=13.132 completed_events_per_second=1523.1 checkpoint_triggers=100 checkpoints=100 evicted=100 reopened=100 +# many_worlds re-measured 2026-11-14 on the same reference machine (rustc 1.99.0, +# Linux 6.18.60) at main a824f622ae, after the #8316 restore fix (PR #9995) made a +# clean run possible again; the laptop was under shared fleet load during the run. +# p99 improved 5,650.792 -> 4,549.272 ms (-19.5%) but target_met is still false; +# the remaining gap is the #8239 group-commit work. See BASELINES.md. +bench many_worlds unit=ms_per_command median=1065.462 min=4.841 reps=1 p50_ms=1065.462 p95_ms=3602.663 p99_ms=4549.272 target_p99_ms=50 target_met=false idle_worlds=1000 active_worlds=100 events_per_second=20 duration_secs=10 commands=20000 load_elapsed_secs=12.784 completed_events_per_second=1564.5 checkpoint_triggers=100 checkpoints=100 evicted=100 reopened=100 # fuel_spin_isolation measured 2026-11-10 on the same reference machine (rustc 1.99.0, # Linux 6.18.60); the F12.10 target is NOT met (ratio 2.517 vs target_ratio 1.10) - the # recorded gap the #1067 scheduler work must close. See BASELINES.md. From 6592922db8f481921c1a15108b4c3328dba8204d Mon Sep 17 00:00:00 2001 From: repo-worker-tmp-code-b Date: Sat, 14 Nov 2026 10:30:09 -0600 Subject: [PATCH 2/2] benches: keep a single many_worlds baseline line (#7064) The 2026-11-14 re-measurement was appended alongside the 2026-11-02 line; the CI comparison parser marks a duplicate benchmark name malformed, so the many_worlds report carried no regression verdict (CodeRabbit finding on PR #10002). baseline.txt now keeps only the current measurement; both results remain recorded in BASELINES.md. --- pkgs/id/benches/baseline.txt | 3 --- 1 file changed, 3 deletions(-) diff --git a/pkgs/id/benches/baseline.txt b/pkgs/id/benches/baseline.txt index 876623ff6a..9108f47622 100644 --- a/pkgs/id/benches/baseline.txt +++ b/pkgs/id/benches/baseline.txt @@ -4,14 +4,11 @@ # guest_replay line re-taken 2026-10-30 on the same machine after the #1403 harness fix: # the 2026-10-28 line was restore-only (the guest saw zero events); see the correction # note in BASELINES.md. The other three lines remain the 2026-10-28 run. -# many_worlds measured 2026-11-02 on the same reference machine; p99 misses the 50 ms -# target. The checkpoint/eviction/reopen integrity assertions passed; see BASELINES.md. # Format: the harness's own output lines, one per benchmark; slice 3 diffs medians. bench journal_append_fsync unit=us_per_append median=5180.353 min=5128.725 reps=5 bench checkpoint_compaction unit=us_per_compact median=10971.985 min=10683.191 reps=5 bench guest_replay unit=us_per_event median=0.170 min=0.145 reps=5 bench session_fanout unit=us_per_delivery median=1.437 min=1.383 reps=5 -bench many_worlds unit=ms_per_command median=1076.753 min=6.368 reps=1 p50_ms=1076.753 p95_ms=4547.595 p99_ms=5650.792 target_p99_ms=50 target_met=false idle_worlds=1000 active_worlds=100 events_per_second=20 duration_secs=10 commands=20000 load_elapsed_secs=13.132 completed_events_per_second=1523.1 checkpoint_triggers=100 checkpoints=100 evicted=100 reopened=100 # many_worlds re-measured 2026-11-14 on the same reference machine (rustc 1.99.0, # Linux 6.18.60) at main a824f622ae, after the #8316 restore fix (PR #9995) made a # clean run possible again; the laptop was under shared fleet load during the run.