Files
reims-vgpu/scripts
Anees IqbalandClaude 23a6e3080f 📝 The load probe's WebGL dial collapses the guest rather than the device, and the layers dial is the one that drives the gather rail hardest
Pathway: x86 macOS / Linux Vulkan. Probe only; no device code.

Four driven macos-13 boots of one binary put numbers on the three dials, and
one of them does not do what the probe was written to make it do.

  dials                                     duty   draws/s  gather regions/s
  (sustained-animation probe, for scale)    0.83    26 800           427 000
  layers=24&boxes=6                         0.68    11 525           270 807
  layers=16&boxes=6&verts=30000&tex=512     0.14     1 390            34 976
  layers=8&boxes=6&verts=60000              0.11     1 017            26 592

**Any WebGL at all collapses the guest to ~1 000 draws a second at duty 0.11.**
The device is then idle seven eighths of the time and the boot measures
Safari's WebGL path rather than this device — the exact failure the probe
exists to avoid, one layer further out. The dial is kept and documented as not
usable for ranking, because the collapse is worth being able to reproduce in
one command; it is not quietly left looking like a working axis.

Two fixes went in first, so the reading above is not measuring the page:

  - the vertex array is built once and only re-uploaded. The first version
    rewrote all `verts * 2` floats per frame, which at verts=90000 gave 1 329
    draws/s at duty 0.12 — indistinguishable from the collapse above, and
    caused by the page rather than the guest. `bufferData` re-uploads the whole
    array regardless, so eight mutated entries per frame keep the device
    traffic and stop a browser eliding the call.
  - the 2D canvas draws two fills rather than twenty-five, for the same reason:
    the upload is `tex * tex` either way and the rest was guest paint time
    bought at the device's expense.

`layers` is the axis that works, and its value is the *shape* rather than the
size: at 24 layers it drives 23.5 gather regions per draw against the sustained
probe's 15.8, so it is the heavier arm for anything about the guest buffer
gather despite the lower absolute draw rate. Nothing here beats the
sustained-animation probe for total device load, and the doc now says so.

Verification performed:
  - the four driven macos-13 boots above, quiesced host, `bash -n` on the script
  - each boot's dials are recorded in its own `load-url.txt`

Not verified: `tex` has not been measured on its own, and no rail but macos-13
has run this probe.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-08-11 08:08:59 +03:00
..