pd-export: QWEN36_PD_EXPORT_MAX_QUEUED_MB 8192→12288 in the ship-cdr8g lineage (owner-agreed) #406

Open
orchestra wants to merge 1 commit from perf/export-cap-12288 into master
Member

pd-export: raise the TT export queue cap to 12288 MiB in the ship-cdr8g lineage

QWEN36_PD_EXPORT_MAX_QUEUED_MB 8192 → 12288 (owner-agreed 2026-11-18 handover).

Why

The 8192 MiB cap shipped explicitly with the 11-16 arm (LEDGER
R-2026-11-16-ship-cdr8g, prepared in R-2026-11-12-pp10k-export8g-prepared: map3's
8192 default passed 3/3 250k-token exports). After the 2026-11-16 P/D oversubscription
incident (#334: 100–213k prompts, RTX re-prefill stall) the owner agreed to raise the
TT-side export budget to 12288 so 260k-token agentic exports have headroom and cannot
abort mid-handoff.

Where the change actually lives (handover correction)

The handover named bench/arms/s12phv-pd-export-mtp.toml; that file never contained the
value on master. The set-point of the prod lineage is bench/arms/pp10k-cdr8g.toml
(env QWEN36_PD_EXPORT_MAX_QUEUED_MB = "8192"), which ship-cdr8g inherits its env
from. Because [expect] banner lists replace on inherit, the parent change
silently re-resolves five sibling arms, so their authoritative cap_mib=8192 banner
copies would have refused the next boot identity check. All six tomls are re-resolved
to 12288, and both checked-in nix specs regenerated (ttx nix-spec):

  • bench/arms/pp10k-cdr8g.toml (set-point + resolved banner)
  • bench/arms/ship-cdr8g.toml, ship-col3-cdr8g.toml, pp10k-cdr8g-{ab,bk,map}.toml (banner re-resolution)
  • nix/serve-arms/ship-cdr8g.json, nix/serve-arms/ship-col3-cdr8g.json

Deliberately unchanged: pp10k-export8g{,-ab,-map}.toml keep their explicit 8192 —
they are the frozen measurement arms of R-2026-11-12-pp10k-export8g-prepared and are
pinned byte-exact by tests/test_pd_export_hardening.py:295,316.

Verification (orchestrator re-verified on the pushed head 0f16b49a)

  • ttx render ship-cdr8g → QWEN36_PD_EXPORT_MAX_QUEUED_MB=12288
  • ttx lint OK for all six changed arms (only the two pre-existing image-patch banner
    warnings AGMM_FWO 0063 / GDN_FUSED_UPMATH 0059, identical on master baseline)
  • ttx nix-spec --check: both regenerated specs fresh; the other four checked-in specs
    untouched
  • Diff is exactly the value + banner strings: 8 files, +11/−11, no other edits
  • No other cap_mib=8192 remain except the three frozen measurement arms

Review + ship

Review the inheritance reasoning (env merge vs banner-replace) and the two nix specs.
Merging does NOT deploy anything — production still runs the 8192 cap until the
owner's nixos-llm pin bump + cfx-llm0 deploy (owner's call; expect the banner to read
cap_mib=12288 on the next unit boot after that deploy).

## pd-export: raise the TT export queue cap to 12288 MiB in the ship-cdr8g lineage `QWEN36_PD_EXPORT_MAX_QUEUED_MB` 8192 → **12288** (owner-agreed 2026-11-18 handover). ### Why The 8192 MiB cap shipped explicitly with the 11-16 arm (LEDGER `R-2026-11-16-ship-cdr8g`, prepared in `R-2026-11-12-pp10k-export8g-prepared`: map3's 8192 default passed 3/3 250k-token exports). After the 2026-11-16 P/D oversubscription incident (#334: 100–213k prompts, RTX re-prefill stall) the owner agreed to raise the TT-side export budget to 12288 so 260k-token agentic exports have headroom and cannot abort mid-handoff. ### Where the change actually lives (handover correction) The handover named `bench/arms/s12phv-pd-export-mtp.toml`; that file never contained the value on master. The set-point of the prod lineage is **`bench/arms/pp10k-cdr8g.toml`** (env `QWEN36_PD_EXPORT_MAX_QUEUED_MB = "8192"`), which `ship-cdr8g` inherits its env from. Because `[expect]` banner lists **replace on inherit**, the parent change silently re-resolves five sibling arms, so their authoritative `cap_mib=8192` banner copies would have refused the next boot identity check. All six tomls are re-resolved to 12288, and both checked-in nix specs regenerated (`ttx nix-spec`): - `bench/arms/pp10k-cdr8g.toml` (set-point + resolved banner) - `bench/arms/ship-cdr8g.toml`, `ship-col3-cdr8g.toml`, `pp10k-cdr8g-{ab,bk,map}.toml` (banner re-resolution) - `nix/serve-arms/ship-cdr8g.json`, `nix/serve-arms/ship-col3-cdr8g.json` **Deliberately unchanged:** `pp10k-export8g{,-ab,-map}.toml` keep their explicit 8192 — they are the frozen measurement arms of `R-2026-11-12-pp10k-export8g-prepared` and are pinned byte-exact by `tests/test_pd_export_hardening.py:295,316`. ### Verification (orchestrator re-verified on the pushed head `0f16b49a`) - `ttx render ship-cdr8g` → `QWEN36_PD_EXPORT_MAX_QUEUED_MB=12288` - `ttx lint` OK for all six changed arms (only the two pre-existing image-patch banner warnings `AGMM_FWO 0063` / `GDN_FUSED_UPMATH 0059`, identical on master baseline) - `ttx nix-spec --check`: both regenerated specs fresh; the other four checked-in specs untouched - Diff is exactly the value + banner strings: 8 files, +11/−11, no other edits - No other `cap_mib=8192` remain except the three frozen measurement arms ### Review + ship Review the inheritance reasoning (env merge vs banner-replace) and the two nix specs. **Merging does NOT deploy anything** — production still runs the 8192 cap until the owner's nixos-llm pin bump + cfx-llm0 deploy (owner's call; expect the banner to read `cap_mib=12288` on the next unit boot after that deploy).
pd-export: raise the export queue cap to 12288 MiB in the ship-cdr8g lineage
Some checks are pending
cards-fresh cards: queued (fingerprint has no successful verdict on this PR) fp=74b2c6d3e279e08e
tt-stack-ci / Serialized card gate (pull_request) Has been skipped
tt-stack-ci / Build simulators and check the host module (pull_request) Successful in 29m52s
tt-stack-ci / Report upstream drift (pull_request) Successful in 4m35s
tt-stack-ci / Plan card run (fingerprint, reuse, cards-fresh) (pull_request) Successful in 10m36s
0f16b49a9e
Before: QWEN36_PD_EXPORT_MAX_QUEUED_MB=8192 shipped as the measured-safe
default with R-2026-11-16-ship-cdr8g (R-2026-11-12-pp10k-export8g-prepared
showed the 8 GiB cap passes 3/3 250k-token exports), so the prefill-only
ship of 2026-11-16 carried cap_mib=8192 in every banner.

What changed: the owner agreed on 2026-11-18 to raise the cap to 12288 MiB
so 260k-token agentic P/D KV exports cannot abort, after the 2026-11-16
P/D oversubscription incident (#334).

The value is set once, at bench/arms/pp10k-cdr8g.toml ([env] tables merge on
inherit: ship-cdr8g and the whole cdr8g family inherit it from there), and
every arm that re-lists the resolved banner gets its [expect] copy
re-resolved (lists replace on inherit): ship-cdr8g (production TT prefill),
ship-col3-cdr8g, pp10k-cdr8g-{ab,bk,map}. The pp10k-export8g* arms keep
their explicit 8192 -- they are the R-2026-11-12 measurement arms, pinned by
tests/test_pd_export_hardening.py. nix/serve-arms/ship-cdr8g.json and
ship-col3-cdr8g.json regenerated with ttx nix-spec; both fresh, the four
other checked-in specs unchanged. ttx lint OK on all six changed arms;
ttx render ship-cdr8g carries QWEN36_PD_EXPORT_MAX_QUEUED_MB=12288.
Owner

verdict: approve
tier: T1

rationale: Single env set-point change (8192→12288) in pp10k-cdr8g.toml plus mechanical banner re-resolution in the five inheriting arms and regeneration of the two checked-in nix specs; diff is exactly the claimed 8 files / +11−11. Frozen pp10k-export8g* measurement arms correctly left at 8192 (pinned by tests/test_pd_export_hardening.py). Rationale (260k-token agentic export headroom after the 2026-11-16 #334 incident) is documented in the PR body and commit. Merging deploys nothing — owner's call.

concerns:

  • [nit] CI still pending at review time (simulator build + card gate); merge gate waits on it regardless.
  • [nit] No live-boot confirmation of the new banner string (cap_mib=12288) yet — expected, since nothing deploys on merge; next unit boot post nixos-llm pin bump will assert it.

Model: agent-dense (LiteLLM alias)
handoff_id=ho-3b7466b3de6c

**verdict:** approve **tier:** T1 **rationale:** Single env set-point change (8192→12288) in `pp10k-cdr8g.toml` plus mechanical banner re-resolution in the five inheriting arms and regeneration of the two checked-in nix specs; diff is exactly the claimed 8 files / +11−11. Frozen `pp10k-export8g*` measurement arms correctly left at 8192 (pinned by tests/test_pd_export_hardening.py). Rationale (260k-token agentic export headroom after the 2026-11-16 #334 incident) is documented in the PR body and commit. Merging deploys nothing — owner's call. **concerns:** - [nit] CI still pending at review time (simulator build + card gate); merge gate waits on it regardless. - [nit] No live-boot confirmation of the new banner string (`cap_mib=12288`) yet — expected, since nothing deploys on merge; next unit boot post nixos-llm pin bump will assert it. Model: agent-dense (LiteLLM alias) handoff_id=ho-3b7466b3de6c
Some checks are pending
cards-fresh cards: queued (fingerprint has no successful verdict on this PR) fp=74b2c6d3e279e08e
tt-stack-ci / Serialized card gate (pull_request) Has been skipped
tt-stack-ci / Build simulators and check the host module (pull_request) Successful in 29m52s
tt-stack-ci / Report upstream drift (pull_request) Successful in 4m35s
tt-stack-ci / Plan card run (fingerprint, reuse, cards-fresh) (pull_request) Successful in 10m36s
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin perf/export-cap-12288:perf/export-cap-12288
git switch perf/export-cap-12288
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
bitpartner/tt-stack!406
No description provided.