Skip to content

e11: rename coldAcquireRate to execsOverLatencyThreshold — it reads 1.000 at every rung and is not a pool statistic #8

Closed as not planned

Description

@pdettori

coldAcquireRate is a disclosed latency proxy, and it is now measured against the real thing:
it reported 0.76 where the truth was 0.056. Sealed prediction 3 is a claim about the
shape of that curve, so it cannot be scored from this metric.

The measurement

vmpool.Phases.Cold is the pool's own answer — set by ExecPhased at the acquire, with a
ColdCause when the acquire had to warm a VM and "" when it popped a Ready standby. It is
already implemented and already used by vmpoolctl; the worker's relayed path just never
surfaced it.

Wiring the worker to ExecPhased and counting Phases.Cold directly, on
srv-r16b14s16, 2026-09-21, one worker, SH_E11_EXEC_CLIENT=go:

rung driver coldAcquireRate true cold rate (Phases.Cold != "") overstated by
c=8, MaxConcurrent=4 0.7625 0.056 (182 of 3232) 13.6x
c=16, MaxConcurrent=4 ~1.0 0.0039 (16 of 4088) ~250x

Cold causes at c=8 were exhausted (174) and first-exec (8). At c=16 only first-exec (16) —
i.e. essentially every acquire was warm at the rung the driver reports as fully cold.

Why the proxy fails

The threshold classifies an Exec as cold when its end-to-end relayed latency is at or above
SH_E11_COLD_LATENCY_MS. But that latency is dominated by terms which have nothing to do with
whether a standby was available (measured per-Exec means at c=16, MaxConcurrent=4):

phase mean share
acquire (the thing being classified) 158 us 0.3%
resume 23,496 us 38%
run 4,027 us 6.6%
destroy 33,694 us 55%

So the proxy is measuring resume + destroy, which are ~93% of the Exec and roughly constant,
against a threshold — and crossing it says nothing about the pool. Raising
SH_E11_COLD_LATENCY_MS cannot fix that: no threshold separates a warm from a cold acquire when
the signal is 0.3% of the quantity being thresholded.

This is worse than the header's disclosure implies. The disclosure says the figure is a proxy;
it does not say the proxy is uncorrelated with its target at the operating points we publish.

Consequences

Suggested direction

Report the real thing. ExecPhased/Phases already exist, the production path already has the
data, and Exec delegates to ExecPhased with a throwaway Phases — so surfacing it needs no
new measurement machinery:

  • Have the worker (or vmpool.Runner) accumulate Phases.Cold and expose counts by
    ColdCause. vmpool already keeps counters.warmAcquire() / coldAcquire(cause) in
    stats.go; Stats may already carry what is needed.
  • Record it per rung alongside the proxy rather than instead of it for one ladder, so the two
    can be compared on the same run and the proxy retired with evidence.
  • If the proxy stays for any reason, rename it to something that says what it measures (e.g.
    execsOverLatencyThreshold) so it cannot be read as a pool statistic.

Also worth recording MaxConcurrent per rung — at the measured points it, not the pool, set
throughput (#305).

Refs rossoctl/moca#303, rossoctl/moca#305, rossoctl/moca#291, rossoctl/moca#259

Activity

  1. pdettori commented on Sep 22, 2026

    @pdettori
    MemberAuthor

    Three of four asks are done — narrowing this to the rename, with the evidence it asked for

    The substance has landed. What remains is the fourth bullet.

    Done:

    • The worker surfaces the real statistic. coldAcquireRateTrue is recorded per rung, diffed from the worker's vmpool.Stats counters across the rung.
    • Recorded alongside the proxy on the same ladder, exactly as this issue asked, so the two can be compared on one run.
    • MaxConcurrent is recorded per rung (#312), so a rung is self-describing.

    Not done: the proxy is still named coldAcquireRate, behind a disclaimer string in the rung record. Retitling this issue to that.

    The evidence for retiring it is now stronger than 13.6x

    Both fields from the same records, one worker, srv-r16b14s16:

    rung coldAcquireRate (proxy) coldAcquireRateTrue
    64 slots 1.000 0.158
    128 slots 1.000 0.553
    256 slots 1.000 0.698
    1x64 (two-worker anchor) 1.000 0.138
    2x64 arm 1.000 0.542

    The proxy is not merely overstated at these rungs — it is saturated at exactly 1.000 everywhere, carrying no information at all, while the true metric spans 0.138 to 0.698 and tracks the ladder. That is this issue's thesis with nothing left to argue: a field that reads 1.000 whatever the pool is doing cannot be a pool statistic.

    So the rename matters more than it did when filed. execsOverLatencyThreshold (this issue's suggestion) is accurate and unambiguous.

    One important qualification on how this issue is cited

    Its finding is often quoted as "the restore was never on the hot path". That was measured under session.DefaultConcurrency = 4 (#305), where demand was four slots' worth and the pool kept up easily — so at c=16, >99% warm is correct. Past 64 slots demand outruns the replenishment rate and the true cold rate reaches 0.698: the restore is on the hot path in that regime.

    Both readings are right about their own configuration. The general lesson this campaign kept relearning applies here too — an interpretation inherits every configuration it ran under, so quote the config with the number. Recorded in docs/notes/2026-09-22-exec-throughput-campaign-results.md (PR rossoctl/moca#327) so the two documents are not read as contradicting each other.

    On sealed prediction 3

    This issue notes the proxy cannot score it. Worth confirming separately whether coldAcquireRateTrue can, or whether the prediction needs to be recorded as not-evaluable from the available fields — that is a question for the predictions set rather than for this rename, and deploy/microvm/predictions.json must not be edited.

  2. changed the title [-]e11: coldAcquireRate reported 0.76 where the true cold rate was 0.056 — the proxy does not measure pool coldness[/-] [+]e11: rename coldAcquireRate to execsOverLatencyThreshold — it reads 1.000 at every rung and is not a pool statistic[/+] on Sep 22, 2026
  3. transferred this issue fromrossoctl/mocaon Oct 2, 2026
  4. pdettori commented on Oct 2, 2026

    @pdettori
    MemberAuthor

    Transferred from rossoctl/moca on 2026-10-02, along with the other experiment issues, because their drivers moved here on 2026-09-25 (deploy/microvm/EXPERIMENTS-MOVED.md, deploy/knative/EXPERIMENTS-MOVED.md, experiments/MOVED.md in moca).

    Bare #N references in this issue's body and earlier comments point to rossoctl/moca, not to this repo. GitHub doesn't rewrite them on transfer. For example, #253 means rossoctl/moca#253. The issues moved together, old number to new:

    rossoctl/moca here title
    #130 #2 SWE-bench measurement driver polish
    #256 #3 P4 next-experiments epic
    #257 #4 real model think-time distribution
    #261 #5 E11 with a real model in the loop
    #262 #6 test the admission gate (sealed prediction 1)
    #280 #7 E13 root cause
    #306 #8 rename coldAcquireRate
    #298 #9 E11 bash/Go cause-vocabulary drift guard
    #254 #10 E8 capacity/realism arms
    #275 #11 E8 run
    #276 #12 E9 run

    Product-code issues they reference stay in moca, for example rossoctl/moca#274 (per-Exec VM lifetime), #277 (P4.1 egress), #297 (vmpool test flakes), #307 (Destroy cost) and #338 (workspace lifetime).

  5. pdettori commented on Nov 12, 2026

    @pdettori
    MemberAuthor

    Closing as won't fix. The proxy is retained deliberately, with an in-record disclosure of its 13x/250x error and a pointer to coldAcquireRateTrue: experiments/e10-e13-microvm/e11-density.sh (the proxyLimitations string) and RESULTS-SUMMARY.md. Renaming it would churn the committed rung records and the golden tests of a frozen experiment. Reopen if E11 is ever rerun.

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