Page-local allocator: final main Heavy16 comparison
2026-10-21. Selected with explicit tradeoffs. The global free-block lists are replaced with page-local buddy bitmaps and bins of available pages. Small slab geometry and ordinary Rust lifetimes stay unchanged; empty pages return immediately. Both std allocations and Nyxus use the strategy with separate ownership. No cache or legacy allocator path is retained.
Complete workload instructions
| Engine | Previous allocator | Selected main | Change |
|---|---|---|---|
| Nyxus total | 105,147,079,081 | 95,877,333,318 | −8.82% |
| Nyxus heap-page charges | 61,367,040,000 | 51,660,160,000 | −15.82% |
| Hylix total | 382,407,040,226 | 379,336,556,097 | −0.80% |
| Hylix heap-page charges | 62,022,160,000 | 56,373,840,000 | −9.11% |
The remaining charges rise about 1% for Nyxus and 0.8% for Hylix. The latter includes stable memory charges and APIs, not pure computation. Savings come from fewer metered heap accesses/writes; changed allocation placement also contributes, so the trace totals do not attribute every saved page to a particular instruction.
Latency and memory
| Metric | Nyxus before → after | Hylix before → after |
|---|---|---|
| Complete rounds | 49 → 49 | 66 → 64 |
| Simulated completion | 29.4s →29.4s | 39.6s →38.4s |
| Median workflow latency | 4.8s →4.8s | 19.8s →20.4s |
| p95 latency | 11.4s →11.4s | 28.2s →28.2s |
| Maximum latency | 18.6s →18.6s | 31.8s →31.2s |
| Fleet Wasm capacity | 269,484,032B → same | 269,484,032B → same |
| Fleet stable capacity | 0 → 0 | 277,544,960B →282,853,376B |
Hylix's median rises one 600 ms round and stable high-water rises 5.0625 MiB. The
comparison helper therefore retains REGRESSION and false Hylix latency/memory
flags. Selection is a separate instruction-priority judgment: Nyxus gains
substantially, both engines spend fewer instructions, and Hylix completes sooner
with unchanged p95 and lower maximum latency. This is not an all-metrics win.
Capacity is committed high-water, not live application bytes or host RSS.
Method and validation
Each paired run uses 16 canisters, 18,000 root admissions plus 1,200 child workflows, 594,000 steps, 202,800 task attempts, 27,600 blocks and 360,000 Wire items. All seven graphs and the application/transport algorithms are unchanged. Both complete the same verified work with zero traps/reoffers and 1,024 verified canonical blocks. Thirty 600 ms arrival rounds at 1,000 root requests/s use the same 500M turn budget, 1,024-item batches,1.9MB batch bytes and 40 callback permits. Setup is excluded; complete counters include the bounded maintenance tail. Observer queries are accounted separately. Host wall time under parallel runs is diagnostic.
Pinned PocketIC 16.1.0 SHA256:
2e1dae35a83d8169533630c06fb0a7cb4086f71fa10fa60a5fd4137ea5f3672f.
Compiler: nightly-2026-10-15. Complete prepared main Wasms:
- Nyxus:
317c45e91955ef7a1dcb30dbefa2e6e86d24960e24ebced88dc26b6e34279cc1. - Hylix:
9dc08e735fa37e21a42ff955deb79ae1d9043515aa24db143b03e20e5aae8bc8.
All 203 focused native tests, actual final-main install/KEEP checks, strict full source/byte/work audits and process guards pass. The allocator's prototype format changes deliberately: old images reject before pointer access, with rollback checks preserved. No compatibility adapter is added.
The experiment and main source files match exactly, but rebuilt Wasm code/table/ data bytes differ. Final main received its own full pair; its complete instruction and page counters match the worktree results exactly. Qualification belongs to these artifacts, not to source similarity or later rebuilds.
Four paper-guided trials records mixed SDK regressions and rejected variants. The evidence packet retains sources, prepared Wasms, common traces, final comparison, lifecycle and strict live audit receipts. Full raw Heavy16 traces remain at recorded external paths; this compact packet cannot independently reconstruct those full traces.