Repository navigation
Description
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
- Sealed prediction 3 cannot be scored from
coldAcquireRate. Earlier runs recorded it as
inconclusive for threshold-derivation reasons (METAL-RUNBOOK.md section 5). The actual problem is
that the metric does not measure pool coldness at all. - The narrative that "at c>=16 every Exec pays a restore" (#259's runbook, E11: the density knee may be a driver artifact — host resource signals are sampled post-load, and the driver spawns ~9 processes per Exec moca#291) is false.
At c=16 more than 99% of acquires were warm. The restore was never on the hot path; that
reading is what sent P4: worker-process parallelism — does N microvm-worker processes give N× throughput? moca#259/#260 looking for a restore-path serializer that does not exist
(#303). - Any capacity reasoning that used
coldAcquireRateas evidence of pool starvation should be
revisited.
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) accumulatePhases.Coldand expose counts by
ColdCause.vmpoolalready keepscounters.warmAcquire()/coldAcquire(cause)in
stats.go;Statsmay 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
feat(vmpool): surface Exec/restore phases and add opt-in pprof
Merge pull request #311 from pdettori/fix/306-cold-acquire-rate-true
fix(relay): a failed Exec must not return a gRPC OK status (#295)
docs(e11): correct the c=8 knee before merge — it is the 4-slot cap, …
docs(e259): correct the recommendation — do not scale out; the cap wa…
docs(e259): correct the recommendation — do not scale out; the cap wa…
docs: address review on rossoctl#327 — label the cold metric, fix the…
docs: publish the Exec/s campaign results and preserve #303's dead ends
pdettori commentedon Sep 22, 2026
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:
coldAcquireRateTrueis recorded per rung, diffed from the worker'svmpool.Statscounters across the rung.MaxConcurrentis 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:coldAcquireRate(proxy)coldAcquireRateTrueThe 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 atc=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
coldAcquireRateTruecan, 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, anddeploy/microvm/predictions.jsonmust not be edited.[-]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[/+]feat(e11): record the REAL cold-acquire rate from the worker's counte…
pdettori commentedon Oct 2, 2026
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.mdin moca).Bare
#Nreferences 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,#253means rossoctl/moca#253. The issues moved together, old number to new:coldAcquireRateProduct-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 (
Destroycost) and #338 (workspace lifetime).pdettori commentedon Nov 12, 2026
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(theproxyLimitationsstring) andRESULTS-SUMMARY.md. Renaming it would churn the committed rung records and the golden tests of a frozen experiment. Reopen if E11 is ever rerun.