Skip to content

perf lab: validate ARM64, thermal, and energy behavior #513

Open

Description

Current status - 2026-11-08

PAUSED / DEPENDENCY-GATED RESEARCH. Toolchain inventory is available; canonical x64 confirmation, actual ARM64 player acceptance, sustained thermal behavior and energy measurements are unfinished. No campaign experiment was resumed by this cleanup.

Implementation baseline: master a2f096f1068f7951d193b95a03e76b480b7ef8a8, merged through #693 (same tree as qualified source 03f08cbecb156b7958dfc3e570d92d3deac04b4b). Shared release-wide review, cost and evidence gates remain in #575/#503. Historical observations and stopped studies below retain their original scope and verdict.

Part of #500. Depends on #506, #508, #510, and #512. Run after a candidate passes canonical x64 confirmation.

Question

Do confirmed x64 mechanisms retain their direction on ARM64 without unacceptable tail-latency, energy-per-delivery, or thermal-sustainability regressions?

Mechanism

IL2CPP toolchains, ARM64 code generation, cache hierarchy, big.LITTLE scheduling, worker topology, DVFS, thermal limits, and device state can reverse an x64 result. Short floods can reward an implementation that throttles in a real session.

Contract

Keep Windows x64 IL2CPP as the canonical confirmation platform and label ARM64 results by device and toolchain. Never average architectures or devices.

Separate uninstrumented verdict sessions from profiler attribution. Declare device, SoC, ABI, OS/firmware, Unity/toolchain, workers, core/cluster behavior, battery/charging state, thermal entry/exit, cooling rule, and performance mode. Run fixed-performance and normal/sustained mobile lanes separately.

Measure fixed completed work. Prefer a synchronized external power meter. Report gross and active-minus-idle energy with instrument uncertainty; on-device power estimates are diagnostic.

Factors and workloads

  • Canonical Windows x64 plus available macOS, Android, and iOS ARM64 players.
  • Oldest-supported Unity and current pinned Unity line.
  • Normal/adaptive, fixed-performance, and sustained modes where supported.
  • Cold start, GlobalToOne, StructNoBox, middleware, SubUnsub, frame bursts, and promoted queued/Burst tiers.
  • Short warm and sustained thermal runs.
  • Candidate/control order, device session, day, battery band, worker count, and thermal block.
  • Throughput, p99, joules per delivered callback, temperature/state, frequency/core residency, and time to throttling.

Primary response

The preregistered platform interaction contrast:

log(candidate/control on ARM64) - log(candidate/control on canonical x64).

Independent unit

One complete device session beginning inside the battery and thermal entry band. Frames and windows inside it are nested.

Effect threshold

An absolute interaction beyond 3 percentage points is material and requires platform qualification. An ARM64 win requires its target to pass the calibrated threshold while energy per delivered callback and p99 pass preregistered noninferiority/equivalence bounds. Alternative architectures retain the 20% promotion threshold.

RED proof

  • Add fixed CPU work and prove energy per operation and sustained thermal behavior worsen.
  • Run identical binaries and prove the protocol does not invent an interaction.
  • Violate battery/charging/thermal entry rules and prove the whole session is rejected while raw data remains.
  • Change workers or performance mode and prove provenance distinguishes the run.

GREEN suites

Pass ARM64 shipping-player correctness, differential replay, lifecycle/reentrancy, AOT-root/stripping, separate supported allocation attribution, thermal-state validation, energy-tool controls, and repeated uninstrumented sessions.

Stop rule

Do not make energy claims when completed work, device state, or instrument resolution is unknown. Do not make sustained claims when thermal criteria fail. Do not substitute Editor or simulator data. If an accepted mechanism cannot pass oldest-Unity and ARM64 non-regression, keep it architecture/toolchain-conditional.

Immutable evidence

Retain player/APK/IPA hashes, device/SoC/OS/firmware, Unity/native toolchains, profile/candidate hashes, session order, battery/charging/thermal logs, workers/cores, raw timing and power traces, attribution hashes, analysis, interaction interval, and qualified decision.

Dependencies

This task consumes #506, #508, #510, and #512. It gates cross-platform default promotion, not early x64 screening.

Completion checklist

  • Freeze device and session manifests.
  • Add battery, charging, thermal, mode, and instrument validation.
  • Calibrate identical and positive-control sessions.
  • Run repeated x64 and ARM64 candidate/control sessions.
  • Measure sustained throughput, p99, energy, and throttling.
  • Analyze the platform interaction.
  • Publish qualified conclusions and limits.
  • Retain replayable device and tool evidence.

Activity

  1. wallstop commented on Sep 14, 2026

    @wallstop
    CollaboratorAuthor

    Repository/device readiness audit (2026-09-14)

    This issue has no ARM64 player or device-session evidence yet. The repository's existing ARM64 result must not be counted toward this checklist:

    Safe admission sequence after the dependencies land

    1. Freeze a versioned device/session manifest and RED tests that reject missing or out-of-band battery, charging, thermal-entry, performance-mode, worker/core/cluster, toolchain, and instrument fields while retaining raw evidence.
    2. Add one explicitly manual ARM64 shipping-player lane first; do not relabel the devcontainer job. Preserve player/package hashes and keep each device/architecture as a separate stratum.
    3. Calibrate the meter and synchronization with idle and fixed-CPU-work controls, then require fixed completed work and record both gross and active-minus-idle energy plus uncertainty.
    4. Prove an identical-binary null interaction and the positive control before evaluating a candidate. Run short and sustained sessions separately, with the complete device session as the independent unit.
    5. Only after those controls pass, reduce candidate/control ratios per device and compute the preregistered ARM64-vs-x64 log interaction. Apply the 3 percentage-point interaction rule and the separately frozen p99/energy noninferiority bounds.

    No completion box is supported by the present repository evidence. This audit deliberately makes no claim that Android, iOS, or macOS ARM64 hardware is available; that inventory and the external meter must be recorded when infrastructure is selected.

  2. wallstop commented on Oct 7, 2026

    @wallstop
    CollaboratorAuthor

    Host ARM64 availability audit (2026-10-07)

    The restored MCP connection permits a bounded, read-only inventory. The host Editor was ready, stopped, outside the Test Framework, and on its original saved scene before admission. No player build, timing run, target switch, settings mutation, import, or host process launch was performed.

    Observed at 18:48:39 UTC through Unity 6000.4.6f1:

    Field Observed value
    CPU / logical processors Apple M3 Max / 16
    Process / OS architecture Arm64 / Arm64
    OS / RAM Mac OS X 27.0.1 / 65,536 MiB
    Model / graphics Mac15,9 / Apple M3 Max
    Job workers 15
    Battery level / status 0.8 / NotCharging
    Active target / current backend StandaloneOSX / Mono2x
    Standalone architecture setting Raw integer 0; no architecture change
    Playback engine directory MacStandaloneSupport
    Known Xcode paths Bundle, Developer directory, clang and macOS SDK exist
    Mobile build support Android and iOS report not installed

    The bridge reports macOS build support installed. This and Xcode path existence establish a possible local ARM64 lane; they do not establish an IL2CPP compiler invocation, successfully built player, or runnable campaign profile. Unity's macOS requirements require Xcode for IL2CPP. Xcode selection/terms, player architecture, supported-version strata, core-cluster mapping, performance mode, thermal/cooling controls, mobile devices, and external power-meter calibration remain unobserved. Battery status does not establish charging or power-mode conditions for a later session.

    The original build settings and open-scene data compare exactly before/after. The Editor remains ready; the passive observer confirms no active test job and a clean original scene.

    Local retained evidence: .artifacts/perf-lab/513-host-capability-audit/, including requests, raw responses, protocol, normalized inventory and preservation proof.

    • Pre-query protocol SHA-256: f8ff04889ca2e586e9bbbcfa9aff351669376939cc36893b38b953c4761c0a47.
    • Normalized capability SHA-256: 6062bcba61ff5394e2bab2351b54d0b4355c0208c9d614d339338b24d21b27a1.
    • Preservation proof SHA-256: f066f43590850c40cb8b159363d01d13aabb716941875eb8e541ead31b62a1cc.

    This replaces the earlier unknown host-availability field. It is preparation only: no #513 checklist item, ARM64 transfer, energy, thermal, allocation, or shipping verdict is complete. Device-session experiments still follow #510/#512 and canonical candidate confirmation.

  3. wallstop commented on Oct 7, 2026

    @wallstop
    CollaboratorAuthor

    macOS ARM64 IL2CPP installation preflight (2026-10-07)

    Read-only MCP queries on Unity 6000.4.6f1 now establish two previously unknown installation details:

    • MacStandaloneSupport contains ARM64 development and nondevelopment IL2CPP player variations, alongside x64 and universal variations.
    • The compiler payload is installed at Unity.app/Contents/Resources/Scripting/il2cpp/build/deploy: il2cpp, il2cpp.dll, the dependency/runtime configuration files, and UnityLinker were observed by file existence and size.

    The current host settings remain Mono2x, architecture x64ARM64 (universal), C# and IL2CPP compiler configurations Release, and API compatibility NET_Standard_2_0. These are inventory observations; they do not establish an ARM64 player build or the required shipping profile. The Unity 6.4 manual still names the older Contents/Frameworks/il2cpp location; its absence on this host did not establish a missing compiler.

    No processes, assets, settings, builds, or timing experiments were started. The fresh observer at 20:38:13.9153370Z shows framework inactive, editor idle, and the original scene clean. Actual Xcode selection/compiler invocation, player ABI, shipping correctness, allocation attribution, sustained behavior, and energy remain unverified.

    Keep this issue's canonical x64 confirmation and #510/#512 dependencies. No completion checkbox is satisfied by installation inventory. Raw queries and observations are retained locally under .artifacts/perf-lab/513-arm64-toolchain-readiness/; protocol SHA-256 d457aa025dafe98ebefdf7482a94c390777eb04ab35562f78435da51b7468b4c, observation JSON SHA-256 f8f2b5deac48ee61e3f0330d19cabc1ae39b043d0b9534011ceb480c070b4d7d.

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

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions