Skip to content

Commit f75fd6a

Browse files
committed
Document 24 MiB server isolation
1 parent 1806bbc commit f75fd6a

1 file changed

Lines changed: 38 additions & 0 deletions

File tree

connect/perfvar/MEASUREMENTS.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1841,6 +1841,43 @@ focused path then passed three non-race repetitions (121.646 seconds) and its
18411841
race run (57.859 seconds). The DB-dependent full suite remains an external
18421842
rerun, not a silently green result.
18431843

1844+
### 24-MiB mobile rebalance: exact server isolation
1845+
1846+
The 2026-08-24 mobile SDK candidate raises only the mobile steady target to 24
1847+
MiB, fixes Auto quality/speed at 4/1, uses a 512-KiB mobile warm set, and changes
1848+
Android/iOS GC pacing from 10 to 25. Linux/server keeps `GOGC=100`, the existing
1849+
20-MiB default `DeviceLocal` target, the 1-MiB server pool wrapper, and no mobile
1850+
packet-pressure or idle-reclaim path.
1851+
1852+
An initial comparison against the retained prior-day log moved the time
1853+
geomeans +1.75% for `server/connect`, +2.59% for its PERFVAR link primitives,
1854+
and -2.37% for `server/proxy`. A second current-source cohort repeated the first
1855+
within -0.02%, -1.02%, and +0.71%, respectively. Because that cross-day result
1856+
could not distinguish code from host state, it was not accepted as the change
1857+
impact.
1858+
1859+
The retained result is an exact same-session A/B. Temporary worktrees held
1860+
server at `1806bbc9` and every non-SDK dependency fixed; the baseline SDK was
1861+
`49f756f`, while the candidate worktree contained only the 24-MiB patch. Every
1862+
benchmark in `server/connect`, `server/connect/perfvar`, and `server/proxy` ran
1863+
for 300 ms with `-benchmem`, `GOMAXPROCS=10`, and six repetitions per side. The
1864+
process order was baseline/candidate/candidate/baseline for each of three
1865+
cycles, balancing warm-up and thermal drift.
1866+
1867+
| Package | Baseline geomean | Candidate geomean | Time change | Allocation result |
1868+
|---|---:|---:|---:|---|
1869+
| `server/connect` | 8.954 us/op | 8.949 us/op | -0.05% | B/op +0.01%; allocs/op unchanged |
1870+
| `server/connect/perfvar` | 585.8 ns/op | 584.8 ns/op | -0.17% | B/op and allocs/op unchanged |
1871+
| `server/proxy` | 5.844 us/op | 5.847 us/op | +0.05% | every B/op and allocs/op result unchanged |
1872+
1873+
No individual timing comparison was statistically significant. The exact A/B
1874+
therefore rejects a server performance regression and identifies the earlier
1875+
1.5--1.7% same-source offset as cross-session host drift. No server-specific
1876+
reclaim tuning is warranted. The broad `go test ./connect ./proxy -short`
1877+
attempt remained environment-blocked by absent `WARP_ENV` and vault `pg.yml`,
1878+
matching the documented fixture limitation; benchmark processes and focused
1879+
mobile/server policy tests passed.
1880+
18441881
### Known test-fixture failures
18451882

18461883
`TestConnectMultiClientPerformance` failed identically on the parent and
@@ -1888,6 +1925,7 @@ throughput aggregates.
18881925
|---|---|
18891926
| `/tmp/urnetwork-server-pool-perf-20260822.yaQOM8/{baseline,current,lazy}-server-bench.txt` | Eight-repeat parent, initial memory commit, and lazy-capacity Connect/PERFVAR/proxy microbenchmarks |
18901927
| `/tmp/urnetwork-server-m20-ab.lDDp1P/{baseline,current}.txt` | Five-repeat exact-parent/current 20-MiB follow-up across server Connect, PERFVAR link, and proxy benchmarks |
1928+
| `/tmp/urnetwork-m24-exact-ab.zQn7v9/{base,current}.txt` | Six-repeat order-balanced exact SDK baseline/24-MiB candidate comparison across every server Connect, PERFVAR link, and proxy benchmark |
18911929
| `/tmp/urnetwork-server-pool-perf-20260822.yaQOM8/{baseline,current,lazy}-perfvar.txt` | Canonical five-run clean-LAN TCP matrices used for payload correctness and stable-route comparison |
18921930
| `/tmp/urnetwork-server-pool-perf-20260822.yaQOM8/paired-{parent,current}-{1..20}.txt` | Alternating-process H3 diagnostic for whole-commit variance |
18931931
| `/tmp/urnetwork-server-pool-perf-20260822.yaQOM8/isolate-{parent,pool}-{1..12}.txt` | Parent versus pool-only H3 isolation |

0 commit comments

Comments
 (0)