Files
reims-vgpu/scripts
Anees Iqbal f90784e8a6 ✨ The thing worth pricing on this host is not one of this crate's switches, and the A/B could only express this crate's switches
`scripts/perf-ab/perf-ab.sh`. x86/Vulkan tooling; no crate code changed.

An arm was comma-joined `NAME=value` pairs, every one exported as
`REIMS_VGPU_NAME=value`. That cannot express a driver arm, and a driver arm is
what this host now needs priced: the macos-11/12 GPU hang is Mesa's SIMD16/32
shader codegen — `INTEL_DEBUG=no16,no32` turns the Maps freeze into `ok` with
zero device recreates — so "what would working around it cost" is a question
about a Mesa variable and nothing this device spells.

Running that as two blocks instead would break the script's own first rule. A
macos-13 boot latches one of two compositing regimes for its life and the rate
at which it picks the slow one drifts across a day, so two blocks are two base
rates and the comparison is against the drift as much as the arm. Interleaving
is the only ordering that cancels it, and interleaving requires both arms to be
expressible in one run.

A pair whose name begins with `INTEL_` is now exported verbatim; everything else
keeps the `REIMS_VGPU_` prefix. Values use `+` where the variable wants a comma,
since the arm string is already comma-separated —
`INTEL_DEBUG=no16+no32` exports `INTEL_DEBUG=no16,no32`.

The stale-variable sweep between arms now clears `INTEL_*` as well as
`REIMS_VGPU_*`. Without that a driver arm would leak into every later round and
turn the whole interleaved run into one arm while still printing two — the
failure mode that reads as a result.

Verified: `bash -n` clean, and the arm parser exercised directly on
`INTEL_DEBUG=no16+no32,LAYOUT_CHURN=off`, which expands to
`INTEL_DEBUG=no16,no32` and `REIMS_VGPU_LAYOUT_CHURN=off`.

Not verified: no A/B has been run through the changed path yet — the machine is
booting the SIMD narrowing arms. The `shipping` arm is untouched, so an existing
invocation behaves exactly as before.
2026-08-12 15:31:43 +03:00
..