📝 The slow-latching boots are not low-clock boots, and that was the last device-side cause anyone here could name

Component: `crates/reims-vgpu` — doc on `runtime::drain::census`'s
`VBL_REPORT_EARLY`, and the exclusion list in `AGENTS.md`. No behaviour change.

f1765e27 left one lead: with the device made ~20 % slower, boots latched fast
more often rather than less. The obvious carrier on this host is the governor —
`gpupin.sh`'s doc records this part idling at 180 MHz against a 3090 MHz cap —
so more GPU work would mean a higher clock and lower latency for everything the
guest waits on.

Sixteen driven macos-13 boots with `nvidia-smi` sampled at 2 Hz throughout, each
boot bracketed by epoch marks so the window before the guest latches could be
scored separately from the driven one:

           early (0-25 s)          driven (25 s-end)
           med MHz   p90   util    med MHz   util
    fast     1040   1590    24 %     1547    31 %
    slow     1044   1594    26 %     1266    24 %

The early window is identical — 1040 against 1044 MHz, p90 1590 against 1594. The
clock does not decide the latch.

The driven window differs, and reading it alone would have produced a confident
wrong answer: a guest presenting 60 frames a second asks for half the work and
clocks lower **because** it latched slow. The run split the windows before
scoring precisely because the causality there is guaranteed to run backwards, and
that split is what turned an apparent 1547-vs-1266 effect into a null.

So the lead is closed, and with it every device-side cause anyone here has been
able to name: not the limiter, not the claim ordering, not the display mode, not
the early delivery window, not a frame-time cliff, not the host GPU clock.

The docs now say what to do about that rather than inviting a seventh exclusion.
A guest-internal race — the order the guest's own daemons and window server
happen to start in from one snapshot revert to the next — is the hypothesis left
standing, nothing in this device can observe it, and a device change aimed at it
would be aimed at nothing. The next twenty boots should be spent on a reading
that DISTINGUISHES a guest-internal race from a device cause; another exclusion
is worth less than that.

Verified: clippy `-D warnings` clean on the Vulkan arm. Sixteen boots as above,
no guest panic.

Not verified: one boot reported `present_hz=0.4` and was scored slow on that
reading alone; excluding it does not change the early-window null. This run read
12 fast to 4 slow, which is the base rate drifting upward again and is why it is
not compared against the earlier runs. macos-13 / x86 / Vulkan / one discrete
host.

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Anees IqbalandClaude committed 2026-08-11 23:51:48 +03:00
1 parent f1765e271c
commit 03b8205611
2 files changed
+34 -3

No files matched your search

+3 -1
View File
@@ -682,7 +682,9 @@ What the split is **not**: not the display mode (both populations report `1920 x
not the VBL limiter (~118 Hz on fast and slow boots alike), not the claim ordering (40 interleaved
boots, p≈0.7), not anything visible in the guest's first sustained VBL window, and not this device
sitting on a frame-time cliff — making it ~20 % slower with `REIMS_VGPU_COMPUTE_GATHER=off` did not
raise the slow rate. The cause is open. Read `VBL_REPORT_EARLY` beside
raise the slow rate — and not the host GPU clock, which is identical across both populations in the
window before the guest latches. The cause is open, and every device-side cause anyone has named is
now excluded. Read `VBL_REPORT_EARLY` beside
`runtime::drain::census::VblCensus` before spending boots on a new theory: a run of eight holds one
or two slow boots and so cannot tell a cause from a coincidence, which has already produced one
confident wrong answer here.
+31 -2
View File
@@ -131,13 +131,42 @@ const VBL_REPORT_EVERY: u64 = 1024;
/// interleaved run of twelve an arm is not enough to claim it), it rules out the
/// cliff, which predicted the opposite and predicted it strongly.
///
/// # Nor is it the host GPU's clock
///
/// The direction above pointed at the governor: this part idles at 180 MHz
/// against a 3090 MHz cap, so "more GPU work" plausibly means "higher clock"
/// means "lower latency for everything the guest waits on". Sixteen boots with
/// `nvidia-smi` sampled at 2 Hz throughout, split at the 25 s mark so the window
/// *before* the guest has latched is read separately from the driven one:
///
/// ```text
/// early (0-25 s) driven (25 s-end)
/// med MHz p90 util med MHz util
/// fast 1040 1590 24 % 1547 31 %
/// slow 1044 1594 26 % 1266 24 %
/// ```
///
/// The early window is **identical**. The driven window differs, and that is the
/// causality running backwards rather than a cause: a guest presenting 60 frames
/// a second asks for half the work and so clocks lower by construction. Reading
/// the driven column alone would have produced a confident wrong answer, which
/// is why the run split the windows before scoring.
///
/// So the cause of the split is **open**. What is closed is that it is not the
/// limiter (which holds ~118 Hz on every boot, fast or slow), not the claim
/// ordering (40 interleaved boots, p≈0.7, see
/// [`super::signal_display_refresh_classes`]), not the display mode (see
/// [`super::fill_display_descriptor`]), not anything visible in the deciding
/// window this instrument was built to expose, and not a frame-time threshold
/// this device sits near.
/// window this instrument was built to expose, not a frame-time threshold this
/// device sits near, and not the host GPU clock.
///
/// Every device-side cause anyone here has been able to name is now excluded,
/// which makes a guest-internal race — the order its own daemons and window
/// server happen to start in, from one snapshot revert to the next — the
/// hypothesis left standing. Nothing in this device can observe that, and a
/// device change aimed at it would be aimed at nothing. Before spending another
/// twenty boots, find a reading that would *distinguish* a guest-internal race
/// from a device cause; a further exclusion is worth less than that.
///
/// One methodological result came with it and belongs to anyone testing the next
/// theory: the base rate **drifts**. It was 12 slow in 40 early in a session and