Skip to content

Commit 95c53ef

Browse files
committed
Optimize NetIPC benchmark hot paths
1 parent fc24009 commit 95c53ef

18 files changed

Lines changed: 2534 additions & 1248 deletions

.agents/sow/current/SOW-0021-20260613-netipc-at-scale.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
## Status
44

5-
Status: in-progress
5+
Status: paused
66

7-
Sub-state: implementation active; supersedes SOW-0007 and owns the full C/Rust/Go, POSIX/Windows, interop, coverage, benchmark, review, vendoring, and downstream PR scope. Server learned-capacity cap governance is implemented and validated; downstream topology-containers post-vendor validation passed; the 2026-06-15 full POSIX/Windows validation rerun passed; remaining review focuses on any broader adversarial matrix gaps before the SOW can close.
7+
Sub-state: paused on 2026-06-15 by user request to create and investigate SOW-0022 for cross-language benchmark anomalies before deciding whether the anomalies are implementation problems or benchmark artifacts. Server learned-capacity cap governance is implemented and validated; downstream topology-containers post-vendor validation passed; the 2026-06-15 full POSIX/Windows validation rerun passed.
88

99
## Requirements
1010

.agents/sow/done/SOW-0022-20260615-benchmark-language-deltas.md

Lines changed: 535 additions & 0 deletions
Large diffs are not rendered by default.

.agents/sow/done/SOW-0023-20260615-benchmark-hot-path-fixes.md

Lines changed: 409 additions & 0 deletions
Large diffs are not rendered by default.

benchmarks-posix.csv

Lines changed: 344 additions & 344 deletions
Large diffs are not rendered by default.

benchmarks-posix.floor-retries.csv

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
11
scenario,client,server,target_rps,min_throughput,original_throughput,retry_samples,median_throughput,min_retry,max_retry,stable_ratio,status
2-
snapshot-baseline,go,c,0,100000,92647,7,107500.000,105358,117000,1.110499,recovered
3-
snapshot-baseline,go,go,0,100000,93605,7,104212.000,101257,109259,1.079027,recovered
4-
apps-lookup-mixed-16,go,go,0,350000,296177,7,377175.000,329963,383826,1.163240,recovered
2+
snapshot-shm,go,go,0,800000,520442,7,804650.000,774769,831082,1.072684,recovered

benchmarks-posix.md

Lines changed: 350 additions & 345 deletions
Large diffs are not rendered by default.

benchmarks-posix.notes.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
## Benchmark Notes
2+
3+
- 2026-06-15: `snapshot-shm,go,go,0` missed the enforced Go SHM snapshot floor in the first full POSIX run at `520442` req/s. The POSIX floor-retry mechanism replaced it with the validated retry median `804650` req/s. Retry details are recorded in `benchmarks-posix.floor-retries.csv`.
4+
- 2026-06-15: `uds-pipeline-batch-d16,go,rust,0` used a targeted rerun after the full-suite row measured `13133928` item/s, which was inconsistent with repeated isolated runs of the same row. The isolated runs measured `65534043`, `70190250`, and `65409370` item/s; the published row uses the CPU-accounted targeted rerun at `66261510` item/s with `p50=99us`, `p95=205us`, `p99=279us`, client CPU `84.1%`, server CPU `89.797%`, and total CPU `173.897%`.

benchmarks-windows.csv

Lines changed: 201 additions & 201 deletions
Large diffs are not rendered by default.

benchmarks-windows.md

Lines changed: 206 additions & 202 deletions
Large diffs are not rendered by default.

benchmarks-windows.notes.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
## Benchmark Notes
2+
3+
- 2026-06-15: `snapshot-baseline,rust,c,0` used a targeted rerun after the full Windows matrix failed the stability policy twice for that row. The two failed attempts showed warm-up ramp ratios of `2.572475` and `1.689472` against the `1.35` limit. The published row uses the validated targeted rerun at `71467` req/s with `p50=14.600us`, `p95=29.500us`, `p99=74.200us`, and stable ratio `1.006983`.

0 commit comments

Comments
 (0)