Research: seven-component aggregation performance stack - #5
Draft
latifkasuli wants to merge 23 commits into
Draft
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This draft preserves an evidence-backed aggregation performance research stack and integrates upstream
mainate9cd16d49ef33909d9732778451ec73fbbedfd4a.It is a research handoff, not a merge-ready patch. Replay selectors and the measurement seam remain so the retained campaigns are reproducible. The mechanisms should be split into smaller review units after the target architecture and acceptance budget are agreed.
Source and evidence boundary
b61a0ee64a9e5f41c368f937c56cdbb74fd3908bon the older84fbd3efreeze.256928f9127c812749e40b08b4cf9744185c6b61on that same freeze.a5477b369ee44ef7aea91b0799f7b920b349632fon integrated upstreame9cd16d.e8e873f47f4f03743f1e1bbc95e26026063016e8adds only review hardening, exactness coverage and evidence-disclosure corrections after the measured commit. It has no replacement performance campaign.The earlier six-component and L0 percentages are not relabeled as current-main results.
Earlier seven-component result
On the older measured freeze:
After seven components, the N2 phase cluster was Bus 0.687050 s, PCS opening 0.527055 s, constraints 0.518037 s and Flock reduction 0.336672 s. This moves the previous PCS bottleneck; it does not prove that aggregation meets a production budget.
Current-source two-kernel result
Two default-off, fail-closed experiments were measured on the integrated stack:
LEANVM_CONSTRAINT_NODE_SKIP=1derives one Boolean constraints-sumcheck endpoint from the running claim, including the exactzeta == 1branch.FLOCK_PACKED_128_PARALLEL=1serializes the three live packed witnesses concurrently into disjoint, completely initialized outputs.The canonical N2 campaign used one AMD EPYC 9354 NUMA domain, CPUs 8–15, four pilots and 32 measured fresh processes in a repeated 2×2 Williams-square design.
All 36 proofs were byte-identical at 230,804 bytes, SHA-256
c05561327b52c3a11466511dc4ccde942d89086f4541b13eb9d27ae1cf0d3e79, and passed the unchanged inspection path. The 548-entry campaign manifest has SHA-256d7f9bedf61556cd6b0d17f052d70d4e791dfb77047bca45e054ac47228d3f03a.Methodology disclosure
The single-NUMA repeat was selected after the valid split-NUMA
_02campaign. In_02, packed copy and Flock were favorable in 8/8 blocks, constraints in 6/8, and combined outer and wall effects in only 4/8; effective CPU service varied from 2.136 to 2.885 cores.The analysis decision record was not a prospective preregistration. It was authored after 16 measured processes had completed and copied to the host after 18 of 32 had completed. The exposed console observation contained admission lines rather than outcomes, but non-observation of already-written result files is not independently provable.
Under that record, the mechanism and direction gates passed, but the system-materiality gate required at least −350 ms of outer-prove improvement and failed at −189.041 ms. The direct mechanism measurements are exact and repeatedly favorable. The system deltas are descriptive paired measurements, not a confirmatory end-to-end or production-acceptance claim.
Review hardening
write_packed_128now requires[MaybeUninit<u8>; 16], making complete initialization a type-level contract with a release-mode boundary check rather than a debug-only length assertion.tau = 12, including the exceptionalzeta == 1recovery path.Validation
On exact measured commit
a5477b3, the sealed Linux receipt recordscargo testall: 293 passed, 0 failed and 10 ignored, including doctests. Clippy, formatting and documentation also passed.On review head
e8e873f, both complete local release suites, Clippy, formatting and documentation passed. This is regression/exactness evidence, not a sealed replacement performance campaign. GitHub reported no CI checks when this body was prepared.The full external evidence pack contains raw run order, commands, environment, memory samples, phase records, serialized proofs, inspection results, source bundles and checksum manifests and can be transferred separately.
RESEARCH_HANDOFF.mdcontains the detailed source identities and fast-upstream procedure.Feedback requested
mainthe intended architecture for splitting and productionizing these changes?