Skip to content

perf(elf): preallocate fresh mmap outputs - #108

Merged
zackees merged 1 commit into
mainfrom
perf/linux/fallocate-reloc-cache-107
Sep 1, 2026
Merged

zackees merged 1 commit into
mainfrom
perf/linux/fallocate-reloc-cache-107

Conversation

@zackees

@zackees zackees commented Sep 1, 2026 •

Copy link
Copy Markdown
Collaborator

Scope

Phase A only: best-effort fallocate for fresh ext4/XFS mmap outputs, transparent huge pages opt-in only, explicit controls, and no dependencies. The relocation-resolution cache is not included: its four-core result was -1.4822%.

Correctness

Raw artifact identity, native execution oracle, focused tests, and hosted core/platform/competition CI passed.

Hosted evidence

Run 33523506586:

  • vs baseline: wall +1.7217% (CI +0.6610..+2.8553); RSS +0.0302% (CI -0.1025..+0.0994).
  • vs pinned Wild: wall +6.3660% (CI +5.2598..+7.1209); RSS -0.0756% (CI -0.1741..+0.0361).

The 10% target is not met; #107 remains open.

Refs #107

@zackees

zackees commented Sep 1, 2026

Copy link
Copy Markdown
Collaborator Author

Authoritative hosted failure evidence from Linux linker competition run.

  • PR head: 4ee5d137aa2405e66cd37a7bd8a564ee681b74e8; hosted merge-ref evidence: f6c424f8587bc5fee4715fcc1954f543630cc51d.
  • Workload filesystem: ext4; host: 4 CPUs; 12 randomized/interleaved samples per contender; peak RSS backend: cgroup-v2 process-tree VmRSS sum.
  • Raw artifact identity and native oracle both passed (candidate and baseline raw output SHA-256 matched on every sampled run).
  • Wall versus Wild: +4.2255% (95% bootstrap CI +3.2964%..+4.7691%), which fails the hard >=10% lower-CI gate.
  • Wall versus baseline: +0.2488% (95% bootstrap CI -0.8161%..+1.1338%): no supported gain.
  • RSS versus baseline: -0.0932% (95% bootstrap CI -0.2811%..+0.0287%): no supported regression; the point estimate is worse.
  • RSS versus Wild: -0.1854% (95% bootstrap CI -0.2445%..-0.1272%): candidate worse.

Evidence SHA-256:

  • report.json: 38b81167c92c5e22614097b7177f5e012eb1f83e65102f4f0c0a9f25c531f18f
  • raw-samples.jsonl: e4a4f4d1f62b4812496a2c21229dd3f59f3fa2ca5db655d89f760698e86c180a
  • provenance.json: 38cc1c868fc84c8e8bbb0580e80f05dfa25c356313524b32841f693dc646ddf7
  • render/competition.png: f43f7fad7401bec1db99c0f462dd62e5f537ab98cf2cd9f580e99f8163501ce0

The PR remains draft. Do not merge; do not close #107.

@zackees

zackees commented Sep 1, 2026

Copy link
Copy Markdown
Collaborator Author

Authoritative Phase-A-only hosted evidence: Linux linker competition run 33523506586, head 4743b9b0b09715271bd466e49cdcb6206429dfea versus baseline 3dfc8fb1c614485c82e8e59c17238b8c2411b0b8.

The frozen LLVM/Clang final link ran on ext4 with 4 CPUs, default fork behavior, 12 balanced samples per contender, and cgroup-v2 process-tree RSS. Raw reld artifact identity and the native oracle passed.

  • Phase A vs baseline — wall: +1.7217% (95% bootstrap CI +0.6610%..+2.8553%); RSS: +0.0302% (95% CI -0.1025%..+0.0994%).
  • Phase A vs pinned Wild — wall: +6.3660% (95% bootstrap CI +5.2598%..+7.1209%); RSS: -0.0756% (95% CI -0.1741%..+0.0361%).

Decision: fresh ext4/XFS mmap fallocate preallocation is retained and supported. The 512-slot resolver cache is rejected: the dedicated four-core 24-sample ablation was counterproductive by point estimate (Phase B vs Phase A -1.4822%, CI -4.7020%..+2.5056%). The hard >=10% Wild lower-CI gate still fails (Phase A lower bound: +5.2598%).

The PR remains draft; do not merge or close #107.

@zackees
zackees force-pushed the perf/linux/fallocate-reloc-cache-107 branch from 4ee5d13 to 4743b9b Compare September 1, 2026 15:17
@zackees zackees changed the title perf(elf): preallocate fresh outputs and cache relocation resolutions perf(elf): preallocate fresh mmap outputs Sep 1, 2026
@zackees
zackees marked this pull request as ready for review September 1, 2026 16:03
@zackees
zackees merged commit 92436c0 into main Sep 1, 2026
19 of 22 checks passed
@zackees
zackees deleted the perf/linux/fallocate-reloc-cache-107 branch September 1, 2026 16:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant