Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions pkgs/id/benches/BASELINES.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
9 changes: 6 additions & 3 deletions pkgs/id/benches/baseline.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,17 @@
# 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.
# 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
Comment thread
coderabbitai[bot] marked this conversation as resolved.
Resolved
# 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.
Expand Down