Skip to content

Phase 1b: prove allocator artifact equivalence and benchmark/profile the Linux matrix #93

Closed

Description

@zackees

Parent: #92
Blocked by the Phase 1a allocator integration issue.

Add and run reproducible evidence for system allocator vs mimalloc-pprof with MI_PPROF=OFF vs sampled profiling.

Requirements:

  • Pin baseline revision, toolchain, workload, arguments, and environment.
  • Run each deterministic fixture twice and require raw artifact identity across allocator modes.
  • Require native execution with exact observable output.
  • Measure wall time, CPU time, peak RSS, allocation profile, repetition count, and variation.
  • Any published performance conclusion must follow DESIGN.md §3.1.
  • Keep evidence reproducible through committed harness/configuration and update Linux guidance.
  • One validated PR; attach results and close this issue on merge.

Activity

  1. zackees commented on Aug 27, 2026

    @zackees
    CollaboratorAuthor

    Authoritative Linux allocator evidence is complete.

    Run: https://github.com/zackees/reld/actions/runs/33068576290
    Artifact: allocator-evidence-bacc628ae2f14f15db198b1587ce6e524edb3435 (artifact ID 9645699405)

    Correctness gates passed for no-LTO, ThinLTO, and full-LTO: two deterministic links per allocator; raw SHA-256 identity across system and mimalloc artifacts; exact native exit/stdout/stderr; timed artifacts rechecked; authoritative sampled pprof compiled/runtime off and DHAT runtime off; separate pprof and DHAT diagnostic profiles generated successfully.

    workload system median wall mimalloc median wall paired wall improvement 95% CI
    no-LTO 0.38 s 0.38 s [-1.316%, 0.000%]
    ThinLTO 0.43 s 0.43 s [-2.326%, +2.273%]
    full-LTO 0.28 s 0.28 s [-3.704%, 0.000%]

    Geometric aggregate:

    • wall: 0.000%, 95% CI [-1.610%, +0.385%]
    • CPU: 0.000%, 95% CI [-14.471%, +12.642%]
    • peak RSS: -0.098%, 95% CI [-0.384%, +0.361%]

    Report decision: inconclusive_or_worse; keep_allocator=false. The proposed speedup is not demonstrated, and CPU uncertainty fails the declared non-regression gate. Per #97, mimalloc should be reverted in a separate one-cause PR; PR #99 retains the reusable evidence harness.

  2. zackees commented on Aug 27, 2026

    @zackees
    CollaboratorAuthor

    Closed by the validated policy outcome: benchmark harness #99; authoritative run https://github.com/zackees/reld/actions/runs/33068576290; raw artifact ID 9645699405; aggregate wall 0.000% with 95% CI [-1.610%, +0.385%]; aggregate CPU 0.000% with 95% CI [-14.471%, +12.642%]; decision inconclusive_or_worse and keep_allocator=false; system allocator restored as production default by #100. Exact mimalloc-pprof 0.9.5 remains available only through explicit sampled-pprof/internal-DHAT diagnostic features, with one global allocator.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions