docs: pipeline demand - queued is not a backlog, and 200 compiles at 3/min is 67 minutes #47

Manually merged
github merged 1 commit from gh-pr/47/head into gh-pr/47/base 2026-11-27 03:07:23 +00:00
Owner

@⁠sub-north on GitHub · 2026-11-24 15:35 UTC · original
sub-north:publish/pipeline-demand → main · +147 −1 · 2 files · 1 commits · merged 2026-11-24 15:35 UTC

What

docs/PIPELINE-DEMAND.md — the load is about 200 compiles, not 57 560, and the reason a run does not
finish it is arithmetic.

The correction. 0 running, 34 done, 57 560 queued does not mean 57 560 jobs are pending. queued
counts lazy stand-ins (pso_async::counts().2), done counts DXC calls that returned, so the reading is
an idle compiler with 34 compiles finished. At the measured tail rate the backlog reading would need
13 days; the run aborts 455 s in.

The demand. Fresh compiles per run are flat — 221, 211, 239 — while only 16-31 driver blobs persist
per run. Each run redoes the same ~200 compiles; the cache frontier does not advance. A run returns
about 239 compiles and banks 16-31, because the longest ones are still arriving when the title aborts.

The serialisation. In-flight maximum is 1 from 180 s onward (12 only during startup), at about 20 s
per blocking compile: ~3/min, so 200 compiles is ~67 minutes. A 300 s tolerance buys 15 of them. That is
why raising the tolerance moves the abort and not the frontier.

The rate curve. 290 / 137 / 9 / 5 / 2 / 1 per minute across the busy windows: it falls and never
rises, and blob replay is over by 180 s.

Therefore two levers: persist more compiled blobs (5 ms replay against 20 s) and admit more
concurrent compiles (16 in flight puts 200 in ~250 s). Patience is arithmetically insufficient and the
page says so with the numbers.

Verification

Every figure is from the run logs and the source, with the two log lines named so the counts can be
reproduced. The one inferred step — why the frontier stalls — is labelled as such. The caveat that
XCL_PSO_TIMING=1 is required to see in-flight counts is stated, so a log without it is not read as
evidence of serial execution.

Scanned before commit: no credentials, local paths, machine names, shipped-file hashes, binaries or game
references.

**@⁠sub-north** on GitHub · 2026-11-24 15:35 UTC · [original](https://github.com/sub-north/xbox-hle-lab/pull/47) `sub-north:publish/pipeline-demand` → `main` · +147 −1 · 2 files · 1 commits · merged 2026-11-24 15:35 UTC ## What `docs/PIPELINE-DEMAND.md` — the load is about 200 compiles, not 57 560, and the reason a run does not finish it is arithmetic. **The correction.** `0 running, 34 done, 57 560 queued` does not mean 57 560 jobs are pending. `queued` counts lazy stand-ins (`pso_async::counts().2`), `done` counts DXC calls that returned, so the reading is an idle compiler with 34 compiles finished. At the measured tail rate the backlog reading would need 13 days; the run aborts 455 s in. **The demand.** Fresh compiles per run are flat — 221, 211, 239 — while only 16-31 driver blobs persist per run. Each run redoes the same ~200 compiles; the cache frontier does not advance. A run returns about 239 compiles and banks 16-31, because the longest ones are still arriving when the title aborts. **The serialisation.** In-flight maximum is 1 from 180 s onward (12 only during startup), at about 20 s per blocking compile: ~3/min, so 200 compiles is ~67 minutes. A 300 s tolerance buys 15 of them. That is why raising the tolerance moves the abort and not the frontier. **The rate curve.** 290 / 137 / 9 / 5 / 2 / 1 per minute across the busy windows: it falls and never rises, and blob replay is over by 180 s. **Therefore** two levers: persist more compiled blobs (5 ms replay against 20 s) and admit more concurrent compiles (16 in flight puts 200 in ~250 s). Patience is arithmetically insufficient and the page says so with the numbers. ## Verification Every figure is from the run logs and the source, with the two log lines named so the counts can be reproduced. The one inferred step — why the frontier stalls — is labelled as such. The caveat that `XCL_PSO_TIMING=1` is required to see in-flight counts is stated, so a log without it is not read as evidence of serial execution. Scanned before commit: no credentials, local paths, machine names, shipped-file hashes, binaries or game references.
Fresh compiles per run are flat at 221/211/239 while only 16-31 driver blobs persist, so each run redoes the same work and the cache frontier does not advance. In-flight maximum is 1 from 180 s onward at ~20 s per compile (~3/min), which is why raising the stall tolerance moves the abort rather than the load. The rate curve falls 290/137/9/5/2/1 per minute and never rises. Levers: persist more blobs (5 ms vs 20 s) and admit more concurrent compiles; patience is arithmetically short.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 03:07:22 +00:00
github manually merged commit 4080108ad0 into gh-pr/47/base 2026-11-27 03:07:23 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.