Stable-provider traffic diagnostic

Actual canonical Wasm capture of frozen MAIN with the selected dense working cache and the stable-page-reuse diagnostic passed. It used the same small four-canister heavy mix, at most eight explicitly driven 600 ms rounds. The planned partial workload ended at eight rounds (finished=false); this is not complete-work performance qualification.

There are 32 nonempty synchronous controller_turn observations, turns 0–7 for each canister. Provider requests are counted below the working cache, after success, in observed order. Capture resets per controller turn and includes Store frame finalization and final dirty flush, before wake arming. Earlier/later work in the IC execution and other handlers outside the interval are excluded.

Across observed controller turns Read Write
Physical calls 1,020 1,539
Physical bytes 4,177,920 4,048,196
Sum of per-turn distinct 64 KiB regions 195 208
Repeated 64 KiB region occurrences 825 1,331
Sum of per-turn distinct 4 KiB granules 1,020 1,539
4 KiB granule occurrences 1,020 1,539

Of the 1,020 nonempty successful reads, 1,020 were wholly novel in the observed controller-turn interval, 0 had known prior read/write overlap, and 0 had unknown history. Every observed read was an aligned 4,096-byte cache fill. The 825 repeated 64 KiB read-region occurrences therefore represent different observed 4 KiB source granules here, not repeated reads of the same source 4 KiB granule within a turn.

Whole-turn 4 KiB read/write overlap sums to 918. That includes writes occurring after a read; it is consistent with zero reads overlapping earlier observed reads or writes. Whole-turn 64 KiB overlap sums to 183. Unique/overlap counts restart per turn and are summed here; they are not global distinct-address counts. There were no crossing 64 KiB calls, zero-length calls, traps, missing log indices or omitted tracker occurrences. All counts are exact within the stated interval. Maximum tracked state in a turn: nine 64 KiB regions and 99 4 KiB granules.

Novel source granules need not contain zero bytes. The interval excludes other work in the same IC execution, so this result does not establish true IC execution-level first-access or mapping-bypass eligibility. It supplies no fee conversion, counterfactual cache benefit or ordinary-artifact performance comparison. Instrumented instruction samples include observer overhead and are not used as benchmark totals.

The observer is feature-only and has a fixed 262,144-byte table, 65,536 bytes more than its earlier 64 KiB-only version, plus small counters/output. It admits at most 4,096 region IDs with two 16-bit granule masks per region and no second table or initialization pass. At overflow, omitted occurrences are explicit; known novelty/overlap and distinct counts are lower bounds, while reads without known overlap and without complete tracked coverage become unknown. The existing 64 KiB counters, first-16 limit and bounded huge-request handling remain.

Provenance and verification:

  • Feature Wasm SHA-256: 80ed163a51e8c0ff33b3ce4554a3076e353af8c368372166def537a9205ebe5e.
  • final-build/manifest.json records canonical locked/offline native descriptor generation, wasm64 preparation, typed Wire check, exact selected ordinary public Wire equality, archived source and typed block verifier.
  • Pinned PocketIC SHA: 1fc9e6f58f7b329a0deb0c1944306a74625293fa56decf9df653ba8ec41fa45c.
  • Both harnesses use installed @dfinity/pic 0.16.1 and @icp-sdk/core 6.1.0; package/client/lock hashes and runtime helper hashes are preserved.
  • All 618 canonical records and runtime source guards verified after capture. MAIN diagnostic Rust files match frozen extension commit 7516e9d0bb722ebd92eda1fe9be7ddfa14493955 exactly. Fourteen focused native tests and independent read-only review passed before integration.
  • final-summary.json, final-capture/capture.json, audit-final-capture.py contain the audited counts, raw records and arithmetic checks.
  • capture-final.mjs, final-capture.log, final-build.log preserve runner and build provenance. Capture selected /srv/shared/code/icrustmem at runtime.

The instance/server were cleaned up after saving evidence, and the exclusive ver1/target lease was released. No MAIN source, package README or commits were changed in this lane. Historical b4147b38 / c267fe40 files and the earlier 32-turn capture remain unchanged; final evidence uses separate paths.

Use and interpretation

Build the RRts Fourcans app with --features stable-page-reuse through the canonical rrts/tools/build.py builder. The ordinary build omits this feature; all wrappers, tracking tables and controller observers then compile out. The fresh feature artifact must pass its own descriptor/Wasm/public-Wire checks. Use the matching generated Wire client and a bounded capture, not the ordinary complete-work auditor against deliberately partial output. Reusable runner: rrt/tmp/stable-round4/page-reuse/capture-final.mjs.

Read and write repetitions count API range occurrences within each observed turn. They do not mean another 80k fee. The 4-KiB classes check prior read OR write masks before adding the current successful request, so later writes do not turn a previously novel read into a prior-overlap read. Unknown history is explicit on overflow. A controller turn is a subset of an IC execution; no runtime source bytemap or stable page-fault set is exposed. See pricing evidence and next opportunities.

The new diagnostics passed fourteen focused native tests and independent source review at 7516e9d0. Historical b4147b38 / c267fe40 measurements with only 64-KiB counters retain their own immutable source archive/capture. Their records are not rewritten to pretend that they collected 4-KiB classifications.