[GH-ISSUE #3659] [Engine] nv_defaults for sm_89 (Ada): the sm_86 switch set pays on an RTX 4000 SFF Ada 20 GB - scope agreement before a default change #1511

Open
opened 2026-11-04 01:51:50 +07:00 by bsakaguchi · 7 comments
Owner

Originally created by @ctr-137 on GitHub (Oct 21, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/3659

Problem

src/core/nv_defaults.cpp gives its bitwise decode switch set to sm_86 and sm_60 cards only. An sm_89 (Ada) card gets the empty table — the code path at mj == 8 && mn == 6 simply does not match it. On our RTX 4000 SFF Ada 20 GB (70 W cap, Hetzner host, i5-13500) we measured that the full sm_86 set as a whole pays on sm_89, and we would like maintainer agreement to add an sm_89 branch before opening the PR (CONTRIBUTING: a change to a default is agreed in an issue first).

Measured (same hardware and workload, every changed setting named)

Five strata bench run standard-v1 draft.1 runs on one machine on 2026-10-21, fresh engine per run, same build (0.1.46.2), same serving flags (--spec 4 --spec-min-p 0.5 --mtp --max-context 262144 --kv int8 --kv-resident 32768 --expert-cache auto --prefill auto --vision cpu --pool-workers 9), model Qwen3.8-Flash-Next GSQ-RCO IQ3_XXS:

  • plain (no switches): decode medians 61.95 / 52.76 / 48.80 tok/s (short / 4K / 16K)
  • the nine sm_86 switches exported in the start script, twice: 63.65 / 61.18 / 53.93 and 65.57 / 56.07 / 52.46 → +4.3% / +11.1% / +9.0% against the plain run
  • the same set applied by the engine itself (a patched nv_defaults.cpp with an added mj == 8 && mn == 9 branch; nothing exported): 66.33 / 60.81 / 55.46 — the gain reproduces, so the default path works, not just the environment trick
  • all five runs complete, 12/12 sanity each; prompt rates unchanged

Raw runs: the folders bench/results/2026-10-21-standard-rtx-4000-sff-ada-generation-* proposed in the benchmark report PR (linked below when opened).

Proposed behavior

  • An sm_89 branch in nv_default_env carrying the nine sm_86 switches unchanged, with STRATA_SM89_PERF=0 as its off switch (mirroring the sm_86/sm_60 gates; a switch the user set is kept as before).
  • The startup line currently prints "sm_86 (Ampere) ... STRATA_SM86_PERF" for any major-8 card (nv_defaults.cpp checks cc_major_of(major) == 8); with an sm_89 table it would misname the architecture and name the wrong gate. The change also makes the line print the table it actually applied.
  • docs/DETAILS.md and include/strata/core/nv_defaults.hpp updated with the sm_89 row and these numbers.
  • A prepared branch exists (ctr-137/Strata engine-nv-defaults-sm89, two commits: code + docs) — the PR follows on your go.

Tradeoffs, honestly

  • One card measured. It is a 70 W-capped Ada pro card; a 4070/4080/4090 or an L4 may land differently, and the set was measured as a whole here, not switch by switch (the sm_86 table was built drop-one on two cards). If the maintainers want drop-one runs on sm_89 before defaulting, we can run them on this box.
  • Quality risk is structurally zero: every switch in this set is bitwise by construction (the identity gate that made them defaults), and the sanity suites passed 12/12 in all five runs.
  • Cards whose visible GPUs are not uniformly sm_89 keep the current behavior (the table is only applied when every visible CUDA device shares the capability — unchanged).

Related: the benchmark report (same hardware, five protocol runs) and #3453 / #3452 (an RTX 4070's IL tables and benchmark, a second sm_89 data point from a different contributor).

Originally created by @ctr-137 on GitHub (Oct 21, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/3659 ## Problem `src/core/nv_defaults.cpp` gives its bitwise decode switch set to sm_86 and sm_60 cards only. An sm_89 (Ada) card gets the empty table — the code path at `mj == 8 && mn == 6` simply does not match it. On our RTX 4000 SFF Ada 20 GB (70 W cap, Hetzner host, i5-13500) we measured that the **full sm_86 set as a whole pays on sm_89**, and we would like maintainer agreement to add an sm_89 branch before opening the PR (CONTRIBUTING: a change to a default is agreed in an issue first). ## Measured (same hardware and workload, every changed setting named) Five `strata bench run` standard-v1 draft.1 runs on one machine on 2026-10-21, fresh engine per run, same build (0.1.46.2), same serving flags (`--spec 4 --spec-min-p 0.5 --mtp --max-context 262144 --kv int8 --kv-resident 32768 --expert-cache auto --prefill auto --vision cpu --pool-workers 9`), model Qwen3.8-Flash-Next GSQ-RCO IQ3_XXS: - plain (no switches): decode medians 61.95 / 52.76 / 48.80 tok/s (short / 4K / 16K) - the nine sm_86 switches exported in the start script, twice: 63.65 / 61.18 / 53.93 and 65.57 / 56.07 / 52.46 → **+4.3% / +11.1% / +9.0%** against the plain run - the same set applied **by the engine itself** (a patched `nv_defaults.cpp` with an added `mj == 8 && mn == 9` branch; nothing exported): 66.33 / 60.81 / 55.46 — the gain reproduces, so the default path works, not just the environment trick - all five runs `complete`, **12/12 sanity** each; prompt rates unchanged Raw runs: the folders `bench/results/2026-10-21-standard-rtx-4000-sff-ada-generation-*` proposed in the benchmark report PR (linked below when opened). ## Proposed behavior - An `sm_89` branch in `nv_default_env` carrying the nine sm_86 switches unchanged, with `STRATA_SM89_PERF=0` as its off switch (mirroring the sm_86/sm_60 gates; a switch the user set is kept as before). - The startup line currently prints "sm_86 (Ampere) ... STRATA_SM86_PERF" for *any* major-8 card (`nv_defaults.cpp` checks `cc_major_of(major) == 8`); with an sm_89 table it would misname the architecture and name the wrong gate. The change also makes the line print the table it actually applied. - `docs/DETAILS.md` and `include/strata/core/nv_defaults.hpp` updated with the sm_89 row and these numbers. - A prepared branch exists (`ctr-137/Strata` `engine-nv-defaults-sm89`, two commits: code + docs) — the PR follows on your go. ## Tradeoffs, honestly - **One card measured.** It is a 70 W-capped Ada pro card; a 4070/4080/4090 or an L4 may land differently, and the set was measured **as a whole** here, not switch by switch (the sm_86 table was built drop-one on two cards). If the maintainers want drop-one runs on sm_89 before defaulting, we can run them on this box. - Quality risk is structurally zero: every switch in this set is bitwise by construction (the identity gate that made them defaults), and the sanity suites passed 12/12 in all five runs. - Cards whose visible GPUs are not uniformly sm_89 keep the current behavior (the table is only applied when every visible CUDA device shares the capability — unchanged). Related: the benchmark report (same hardware, five protocol runs) and #3453 / #3452 (an RTX 4070's IL tables and benchmark, a second sm_89 data point from a different contributor).
Author
Owner

@fioruccione commented on GitHub (Oct 28, 2026):

Another Ada data point for this, and a different shape: two cards on a layer split instead of one.

2x RTX 4060 Ti 16 GB (sm_89, PCIe 4.0 x8), --layer-split auto (K=23), Threadripper PRO 3975WX, 128 GB DDR4-2667, Linux. Strata v0.2.7.1 (46c152a1) built here, CUDA 12.6. Qwen3.8-Flash-Next UD-IQ4_XS, MTP --spec 4, STRATA_PROMPT_ATTN_IMMA=1 and STRATA_HC_UPMIX=1 in both arms. It's my work machine: an office assistant that reads long documents, and Codex.

I set the same nine switches as #4290 through the config's env section. Nothing else changed. Order B E F F E B (F was a VRAM test for #3976, left out here), a fresh server for every start, 2 rounds per start plus one at T=0.7.

decode tok/s, median [min-max] of 4 without (B) with the nine (E)
story, T=0 65.5 [64.3-68.8] 70.6 [69.1-71.8] +7.8%
code, T=0 72.9 [67.8-74.6] 78.7 [73.8-80.3] +8.0%
summary of a ~20K document 47.2 [45.7-49.7] 53.0 [50.1-54.0] +12.2%
story / code, T=0.7 (n=2) 63.9 / 71.3 71.3 / 74.8 +11.6% / +4.9%
  • Prompt reads didn't move: 20K 1768 -> 1766, 69K 2302 -> 2306 tok/s. MTP acceptance stayed within a few points (story 72% -> 71%, code 81% -> 79%, summary 54% -> 58%).
  • GPU energy per generated token went from 2.45 to 2.35 J.
  • In story and summary every run with the switches is above every run without. In code the ranges touch a little.

For context, on this machine 0.2.7.1 without the switches is level with 0.1.45. I don't see the drop from #4410 here.

Passed: 6 starts, 0 failed requests. The only error-like line in the engine log is the mlock note below.
Not run: strata bench run, KL or the quality suite, and a patched nv_defaults.cpp branch. I only tried the environment variables.
Limits: one machine, two rounds per start. At T=0 the answer text changes even between two starts of the same config, so I can't say anything about exactness from the answers.

I've moved my production to 0.2.7.1 with these nine on.

Side note: 0.2.7.1 prints PLE table mlock failed (Cannot allocate memory; raise ulimit -l) here. 0.1.45 didn't.

I did this with an AI coding assistant: it wrote the scripts and helped me read the engine code. I ran everything on my machine and checked the numbers.

<!-- gh-comment-id:6471358543 --> @fioruccione commented on GitHub (Oct 28, 2026): Another Ada data point for this, and a different shape: two cards on a layer split instead of one. 2x RTX 4060 Ti 16 GB (sm_89, PCIe 4.0 x8), `--layer-split auto` (K=23), Threadripper PRO 3975WX, 128 GB DDR4-2667, Linux. Strata `v0.2.7.1` (`46c152a1`) built here, CUDA 12.6. Qwen3.8-Flash-Next UD-IQ4_XS, MTP `--spec 4`, `STRATA_PROMPT_ATTN_IMMA=1` and `STRATA_HC_UPMIX=1` in both arms. It's my work machine: an office assistant that reads long documents, and Codex. I set the same nine switches as #4290 through the config's `env` section. Nothing else changed. Order B E F F E B (F was a VRAM test for #3976, left out here), a fresh server for every start, 2 rounds per start plus one at T=0.7. | decode tok/s, median [min-max] of 4 | without (B) | with the nine (E) | | |---|---|---|---| | story, T=0 | 65.5 [64.3-68.8] | 70.6 [69.1-71.8] | +7.8% | | code, T=0 | 72.9 [67.8-74.6] | 78.7 [73.8-80.3] | +8.0% | | summary of a ~20K document | 47.2 [45.7-49.7] | 53.0 [50.1-54.0] | +12.2% | | story / code, T=0.7 (n=2) | 63.9 / 71.3 | 71.3 / 74.8 | +11.6% / +4.9% | - Prompt reads didn't move: 20K 1768 -> 1766, 69K 2302 -> 2306 tok/s. MTP acceptance stayed within a few points (story 72% -> 71%, code 81% -> 79%, summary 54% -> 58%). - GPU energy per generated token went from 2.45 to 2.35 J. - In story and summary every run with the switches is above every run without. In code the ranges touch a little. For context, on this machine 0.2.7.1 without the switches is level with 0.1.45. I don't see the drop from #4410 here. **Passed:** 6 starts, 0 failed requests. The only error-like line in the engine log is the mlock note below. **Not run:** `strata bench run`, KL or the quality suite, and a patched `nv_defaults.cpp` branch. I only tried the environment variables. **Limits:** one machine, two rounds per start. At T=0 the answer text changes even between two starts of the same config, so I can't say anything about exactness from the answers. I've moved my production to 0.2.7.1 with these nine on. Side note: 0.2.7.1 prints `PLE table mlock failed (Cannot allocate memory; raise ulimit -l)` here. 0.1.45 didn't. I did this with an AI coding assistant: it wrote the scripts and helped me read the engine code. I ran everything on my machine and checked the numbers.
Author
Owner

@ctr-137 commented on GitHub (Oct 29, 2026):

Thanks for the extra data point - this is a useful second Ada shape (2-card layer split on RTX 4060 Ti 16 GB) and it lines up with your earlier single-card result.

I will fold both of your runs into the scope comparison. So far they both show the nine switches paying on sm_89, but I still want to see whether the same benefit holds on other Ada cards and power/thermal limits before proposing a default change - one machine class doing well is necessary, not sufficient.

Side note on the PLE table mlock failed (Cannot allocate memory; raise ulimit -l) message: that looks like a per-process locked-memory limit rather than an engine regression; worth comparing ulimit -l between the two versions if you have not already.

Thanks again for measuring and sharing the methodology; that makes the comparison credible.

<!-- gh-comment-id:6495160731 --> @ctr-137 commented on GitHub (Oct 29, 2026): Thanks for the extra data point - this is a useful second Ada shape (2-card layer split on RTX 4060 Ti 16 GB) and it lines up with your earlier single-card result. I will fold both of your runs into the scope comparison. So far they both show the nine switches paying on sm_89, but I still want to see whether the same benefit holds on other Ada cards and power/thermal limits before proposing a default change - one machine class doing well is necessary, not sufficient. Side note on the PLE table mlock failed (Cannot allocate memory; raise ulimit -l) message: that looks like a per-process locked-memory limit rather than an engine regression; worth comparing ulimit -l between the two versions if you have not already. Thanks again for measuring and sharing the methodology; that makes the comparison credible.
Author
Owner

@fioruccione commented on GitHub (Oct 29, 2026):

Thanks. One correction so the comparison stays clean: I haven't posted a single-card run. The single-card Ada result in this issue is yours (RTX 4000 SFF Ada); mine is only the 2-card layer split above.

mlock: you're right, it's the locked-memory limit, not an engine regression. Both versions have the same mlock code. What changed is the PLE residency policy: on this machine 0.1.45 read the PLE table directly from the file (PLE direct read probe ... (fine) in all 39 starts), while 0.2.7.1 chooses --ple-io ram ("the table is 26.8 GiB, the expert arena still to fill 55.4 GiB and 108.8 GiB of RAM is available") and then tries to lock it. RLIMIT_MEMLOCK of the engine process here is 16,860,569,600 bytes (15.7 GiB), smaller than the 26.8 GiB table, so the lock fails and the table stays in RAM unlocked. STRATA_PLE_AUTO_RAM=0 or --ple-io direct give the old behaviour. I haven't changed the limit and haven't measured any speed effect of it.

Power and thermals, from the same B/E runs (nvidia-smi samples taken during decode, about 240 per start and card):

CUDA0 W CUDA1 W SM clock MHz max temp °C
without the nine (B) 71.3 / 70.6 88.4 / 89.7 2790 / 2775 69-70
with the nine (E) 71.7 / 71.9 90.5 / 91.4 2790 / 2775 69-70

Two values per cell are the two starts of each arm. Power goes up by about 1-2 W a card, the clocks don't move and the temperatures are the same. Both cards stay at roughly 43-55% of their 165 W limit, so this machine is neither power- nor thermal-limited and says nothing about a power-limited Ada card.

Stability: since the switch on 28/10 the production server has served more than 300 real requests with the nine on (office assistant, Codex and a CAD agent). The engine log shows no errors apart from the mlock note and the low-VRAM warning on CUDA1 that I described in #3976. strata bench run on the same config passed 12 of 12 sanity checks (#4595).

If they help, I can add two things that aren't measured yet:

  1. the identity gate on sm_89 (tools/dgx_quality24.py, 24 greedy prompts, gate flags), with and without the nine, to see whether they are still bit-exact on Ada;
  2. the B/E pair with both cards capped at 100 W (the lowest limit these cards accept), as a power-limited case.

I did this with an AI coding assistant: it read the engine code and logs and drafted this text. I checked the numbers.

<!-- gh-comment-id:6495505771 --> @fioruccione commented on GitHub (Oct 29, 2026): Thanks. One correction so the comparison stays clean: I haven't posted a single-card run. The single-card Ada result in this issue is yours (RTX 4000 SFF Ada); mine is only the 2-card layer split above. **mlock:** you're right, it's the locked-memory limit, not an engine regression. Both versions have the same mlock code. What changed is the PLE residency policy: on this machine 0.1.45 read the PLE table directly from the file (`PLE direct read probe ... (fine)` in all 39 starts), while 0.2.7.1 chooses `--ple-io ram` ("the table is 26.8 GiB, the expert arena still to fill 55.4 GiB and 108.8 GiB of RAM is available") and then tries to lock it. `RLIMIT_MEMLOCK` of the engine process here is 16,860,569,600 bytes (15.7 GiB), smaller than the 26.8 GiB table, so the lock fails and the table stays in RAM unlocked. `STRATA_PLE_AUTO_RAM=0` or `--ple-io direct` give the old behaviour. I haven't changed the limit and haven't measured any speed effect of it. **Power and thermals,** from the same B/E runs (nvidia-smi samples taken during decode, about 240 per start and card): | | CUDA0 W | CUDA1 W | SM clock MHz | max temp °C | |---|---|---|---|---| | without the nine (B) | 71.3 / 70.6 | 88.4 / 89.7 | 2790 / 2775 | 69-70 | | with the nine (E) | 71.7 / 71.9 | 90.5 / 91.4 | 2790 / 2775 | 69-70 | Two values per cell are the two starts of each arm. Power goes up by about 1-2 W a card, the clocks don't move and the temperatures are the same. Both cards stay at roughly 43-55% of their 165 W limit, so this machine is neither power- nor thermal-limited and says nothing about a power-limited Ada card. **Stability:** since the switch on 28/10 the production server has served more than 300 real requests with the nine on (office assistant, Codex and a CAD agent). The engine log shows no errors apart from the mlock note and the low-VRAM warning on CUDA1 that I described in #3976. `strata bench run` on the same config passed 12 of 12 sanity checks (#4595). If they help, I can add two things that aren't measured yet: 1. the identity gate on sm_89 (`tools/dgx_quality24.py`, 24 greedy prompts, gate flags), with and without the nine, to see whether they are still bit-exact on Ada; 2. the B/E pair with both cards capped at 100 W (the lowest limit these cards accept), as a power-limited case. I did this with an AI coding assistant: it read the engine code and logs and drafted this text. I checked the numbers.
Author
Owner

@ctr-137 commented on GitHub (Oct 29, 2026):

Thanks for the correction and the added numbers - the comparison is clearer for it.

I'll adjust my notes on the single-card result: the sm_89 data point I posted is only the RTX 4000 SFF Ada, and yours is the two-card layer split.

The mlock explanation matches what you found: RLIMIT_MEMLOCK being 15.7 GiB against a 26.8 GiB PLE table is the whole cause, and --ple-io direct restoring the old path is consistent with it. I'll mention STRATA_PLE_AUTO_RAM=0 as the documentation note rather than implying an engine regression.

The power/thermals data is useful: on this kind of non-limited card the nine switches cost about 1-2 W per card, no clock or temperature change, so the regression on a power-limited card (if any) still needs the 100 W cap measurement. On stability, the production data point is strong enough for me to keep the scope at "env opt-in first; defaults only after a power-limited or thermally constrained case is checked".

I'd very much appreciate both of the extra runs you offered:

  1. identity gate on Ada (dgx_quality24.py, 24 greedy prompts, with and without the nine), for exactness.
  2. the B/E pair with both cards capped at 100 W, for the power-limited case.

I'll fold those results into #3659 as they come in before proposing anything as a default. Thanks for the careful methodology.

<!-- gh-comment-id:6508013188 --> @ctr-137 commented on GitHub (Oct 29, 2026): Thanks for the correction and the added numbers - the comparison is clearer for it. I'll adjust my notes on the single-card result: the sm_89 data point I posted is only the RTX 4000 SFF Ada, and yours is the two-card layer split. The mlock explanation matches what you found: `RLIMIT_MEMLOCK` being 15.7 GiB against a 26.8 GiB PLE table is the whole cause, and `--ple-io direct` restoring the old path is consistent with it. I'll mention `STRATA_PLE_AUTO_RAM=0` as the documentation note rather than implying an engine regression. The power/thermals data is useful: on this kind of non-limited card the nine switches cost about 1-2 W per card, no clock or temperature change, so the regression on a power-limited card (if any) still needs the 100 W cap measurement. On stability, the production data point is strong enough for me to keep the scope at "env opt-in first; defaults only after a power-limited or thermally constrained case is checked". I'd very much appreciate both of the extra runs you offered: 1. identity gate on Ada (`dgx_quality24.py`, 24 greedy prompts, with and without the nine), for exactness. 2. the B/E pair with both cards capped at 100 W, for the power-limited case. I'll fold those results into #3659 as they come in before proposing anything as a default. Thanks for the careful methodology.
Author
Owner

@fioruccione commented on GitHub (Oct 29, 2026):

Both runs, same machine and build as before: 2x RTX 4060 Ti 16 GB (sm_89), --layer-split auto (K=23 in every start), v0.2.7.1 (46c152a1), CUDA 12.6, UD-IQ4_XS, MTP --spec 4, STRATA_PROMPT_ATTN_IMMA=1 and STRATA_HC_UPMIX=1 in both arms. B = without the nine, E = with the nine; nothing else differs between the two configs. A fresh server for every start.

1. Identity gate, at the normal 165 W limit. tools/dgx_quality24.py (24 greedy prompts, 96 tokens each), unchanged, driven by a small wrapper that runs four starts in the order B E B E. The only thing the wrapper adds is the Authorization header: the tool doesn't send one, and with an api_key in the config the server refuses its requests.

pair identical answers
B1 vs B2 (control, same config) 24 of 24
E1 vs E2 (control, same config) 24 of 24
B1 vs E1 13 of 24
B2 vs E2 13 of 24
  • The controls are exact, so the engine is deterministic across restarts here and the B/E difference is the switches.
  • With the nine, the answers are not bit-exact on this Ada pair. The same 11 prompts differ in both pairs (0-based index in the tool's list): 1, 4, 5, 7, 8, 9, 11, 13, 19, 20, 23 (static inline, Pride and Prejudice, binary heap, distributed lock, the Chinese recursion one, TCP/UDP in German, rm -rf /, positional encodings, process power, ISO-8601 regex, 0.1+0.2).
  • The point of divergence varies: from the 2nd-4th character (Conclusion vs Final Conclusion), through the middle (acquired indefinitely vs held indefinitely), to 96% into the answer (the regex). Both versions read as correct answers. That looks like small numeric differences flipping a token at some point, not a fault, but I haven't checked which of the nine does it. Running them one at a time would answer that.
  • No error lines in any of the four engine logs.

2. B/E with both cards capped at 100 W (nvidia-smi -pl 100, the lowest limit they accept). Order B E E B, same requests as my run above.

decode tok/s, median [min-max] of 4 B E
story, T=0 66.6 [65.0-69.4] 70.8 [69.6-76.4] +6.4%
code, T=0 75.8 [71.0-76.7] 81.0 [77.5-82.7] +6.9%
summary of a ~20K document 50.2 [47.8-50.9] 52.5 [51.4-54.0] +4.7%
story / code, T=0.7 (n=2) 64.7 / 69.7 67.3 / 77.3 +4.0% / +11.0%
  • Prompt reads didn't move: 20K 1700 -> 1702, 69K 2209 -> 2217 tok/s. GPU energy per generated token 2.33 -> 2.25 J.
  • How much the cap bites: only partly. The 95th percentile of power is right at 100 W on both cards, so the peaks are cut, but the decode medians stay at 70-72 W (CUDA0) and 86-93 W (CUDA1). SM clock median on CUDA1 drops to about 2550 MHz (2775 at 165 W), with dips to about 1950. Against my 165 W run of 28/10, prefill is about 4% lower (69K: 2302 -> 2209) and B's decode is about the same. That comparison is across two days, so take it as a hint.
  • So this is a mildly limited case, not a card starved for power. 100 W is the floor on these cards, so I can't go lower.

Summary: on sm_89 the nine still pay at 100 W (+4.7 to +6.9% at T=0, against +7.8 to +12.2% at 165 W), but they change the greedy output on 11 of 24 prompts. If the bar for a default is exactness, they don't pass as a set here. If equivalent quality is enough, KL or the quality suite would be the next step, and I haven't run them.

I did this with an AI coding assistant: it wrote the wrapper and the scripts and drafted this text. I ran everything on my machine and checked the numbers.

<!-- gh-comment-id:6510468695 --> @fioruccione commented on GitHub (Oct 29, 2026): Both runs, same machine and build as before: 2x RTX 4060 Ti 16 GB (sm_89), `--layer-split auto` (K=23 in every start), v0.2.7.1 (`46c152a1`), CUDA 12.6, UD-IQ4_XS, MTP `--spec 4`, `STRATA_PROMPT_ATTN_IMMA=1` and `STRATA_HC_UPMIX=1` in both arms. B = without the nine, E = with the nine; nothing else differs between the two configs. A fresh server for every start. **1. Identity gate, at the normal 165 W limit.** `tools/dgx_quality24.py` (24 greedy prompts, 96 tokens each), unchanged, driven by a small wrapper that runs four starts in the order B E B E. The only thing the wrapper adds is the `Authorization` header: the tool doesn't send one, and with an `api_key` in the config the server refuses its requests. | pair | identical answers | |---|---| | B1 vs B2 (control, same config) | 24 of 24 | | E1 vs E2 (control, same config) | 24 of 24 | | B1 vs E1 | 13 of 24 | | B2 vs E2 | 13 of 24 | - The controls are exact, so the engine is deterministic across restarts here and the B/E difference is the switches. - **With the nine, the answers are not bit-exact on this Ada pair.** The same 11 prompts differ in both pairs (0-based index in the tool's list): 1, 4, 5, 7, 8, 9, 11, 13, 19, 20, 23 (static inline, Pride and Prejudice, binary heap, distributed lock, the Chinese recursion one, TCP/UDP in German, `rm -rf /`, positional encodings, process power, ISO-8601 regex, 0.1+0.2). - The point of divergence varies: from the 2nd-4th character (`Conclusion` vs `Final Conclusion`), through the middle (`acquired indefinitely` vs `held indefinitely`), to 96% into the answer (the regex). Both versions read as correct answers. That looks like small numeric differences flipping a token at some point, not a fault, but I haven't checked which of the nine does it. Running them one at a time would answer that. - No error lines in any of the four engine logs. **2. B/E with both cards capped at 100 W** (`nvidia-smi -pl 100`, the lowest limit they accept). Order B E E B, same requests as my run above. | decode tok/s, median [min-max] of 4 | B | E | | |---|---|---|---| | story, T=0 | 66.6 [65.0-69.4] | 70.8 [69.6-76.4] | +6.4% | | code, T=0 | 75.8 [71.0-76.7] | 81.0 [77.5-82.7] | +6.9% | | summary of a ~20K document | 50.2 [47.8-50.9] | 52.5 [51.4-54.0] | +4.7% | | story / code, T=0.7 (n=2) | 64.7 / 69.7 | 67.3 / 77.3 | +4.0% / +11.0% | - Prompt reads didn't move: 20K 1700 -> 1702, 69K 2209 -> 2217 tok/s. GPU energy per generated token 2.33 -> 2.25 J. - **How much the cap bites:** only partly. The 95th percentile of power is right at 100 W on both cards, so the peaks are cut, but the decode medians stay at 70-72 W (CUDA0) and 86-93 W (CUDA1). SM clock median on CUDA1 drops to about 2550 MHz (2775 at 165 W), with dips to about 1950. Against my 165 W run of 28/10, prefill is about 4% lower (69K: 2302 -> 2209) and B's decode is about the same. That comparison is across two days, so take it as a hint. - So this is a mildly limited case, not a card starved for power. 100 W is the floor on these cards, so I can't go lower. **Summary:** on sm_89 the nine still pay at 100 W (+4.7 to +6.9% at T=0, against +7.8 to +12.2% at 165 W), but they change the greedy output on 11 of 24 prompts. If the bar for a default is exactness, they don't pass as a set here. If equivalent quality is enough, KL or the quality suite would be the next step, and I haven't run them. I did this with an AI coding assistant: it wrote the wrapper and the scripts and drafted this text. I ran everything on my machine and checked the numbers.
Author
Owner

@fioruccione commented on GitHub (Oct 30, 2026):

Hi @ctr-137,

While running the tests you asked for, I also wanted to measure how much the CPU contributes to Strata's performance.

I ran another experiment on my P620, changing only the CPU pool workers from 30 to 15 and 8.

As I expected, the difference is significant: coding decode dropped from 81.6 to 64.1 tok/s, while prefill remained practically unchanged.

I've shared the full results in #4610.

This is exactly the point I've been trying to make: Strata's performance isn't just about the GPUs. The CPU, system RAM bandwidth, PCIe links, NUMA topology and how the engine distributes the workload all play their part.

I suspect system RAM bandwidth is another important factor, especially when the CPU handles experts that aren't resident in VRAM.

If you're interested, I could test this directly by lowering the DDR4 frequency in the BIOS and repeating the same benchmarks. That would help us understand how much of the CPU-side performance depends on memory bandwidth rather than just processing power.

My goal is to understand how the entire hardware platform contributes to Strata's performance, not simply compare GPUs or token/s numbers. This could also help us make better hardware upgrade decisions.

I'm really enjoying these experiments and exchanging results with you. 😄

Thanks again!

<!-- gh-comment-id:6516494854 --> @fioruccione commented on GitHub (Oct 30, 2026): Hi @ctr-137, While running the tests you asked for, I also wanted to measure how much the CPU contributes to Strata's performance. I ran another experiment on my P620, changing only the CPU pool workers from 30 to 15 and 8. As I expected, the difference is significant: coding decode dropped from 81.6 to 64.1 tok/s, while prefill remained practically unchanged. I've shared the full results in #4610. This is exactly the point I've been trying to make: Strata's performance isn't just about the GPUs. The CPU, system RAM bandwidth, PCIe links, NUMA topology and how the engine distributes the workload all play their part. I suspect system RAM bandwidth is another important factor, especially when the CPU handles experts that aren't resident in VRAM. If you're interested, I could test this directly by lowering the DDR4 frequency in the BIOS and repeating the same benchmarks. That would help us understand how much of the CPU-side performance depends on memory bandwidth rather than just processing power. My goal is to understand how the entire hardware platform contributes to Strata's performance, not simply compare GPUs or token/s numbers. This could also help us make better hardware upgrade decisions. I'm really enjoying these experiments and exchanging results with you. 😄 Thanks again!
Author
Owner

@fioruccione commented on GitHub (Nov 4, 2026):

@ctr-137 I offered you the RAM bandwidth run here and then only posted it in #4610, so closing the loop. I did not lower the DDR4 in the BIOS in the end: a small memcpy program on the other cores took about 75 of the ~115 GB/s while the pool ran on its own cores. That is contention for the memory controllers, not slower RAM, so only an approximation. Decode moved −2 to −8%, prefill −2%, the hit rate not at all. On this box, with the experts RAM-resident on two cards, the CPU's cores matter a lot more than its memory bandwidth. The full table, with the 100 W cap and the VRAM overclock next to it: https://github.com/Niko1221/Strata/issues/4610#issuecomment-6522206154

Since then I also ran one card against two and the IQ3_S quant (https://github.com/Niko1221/Strata/issues/4610#issuecomment-6642881834), plus a correction where my reading of the CPU kernels went too far (https://github.com/Niko1221/Strata/issues/4610#issuecomment-6643267746). Nothing in them changes what I posted here on the nine.

<!-- gh-comment-id:6643939098 --> @fioruccione commented on GitHub (Nov 4, 2026): @ctr-137 I offered you the RAM bandwidth run here and then only posted it in #4610, so closing the loop. I did not lower the DDR4 in the BIOS in the end: a small memcpy program on the other cores took about 75 of the ~115 GB/s while the pool ran on its own cores. That is contention for the memory controllers, not slower RAM, so only an approximation. Decode moved −2 to −8%, prefill −2%, the hit rate not at all. On this box, with the experts RAM-resident on two cards, the CPU's cores matter a lot more than its memory bandwidth. The full table, with the 100 W cap and the VRAM overclock next to it: https://github.com/Niko1221/Strata/issues/4610#issuecomment-6522206154 Since then I also ran one card against two and the IQ3_S quant (https://github.com/Niko1221/Strata/issues/4610#issuecomment-6642881834), plus a correction where my reading of the CPU kernels went too far (https://github.com/Niko1221/Strata/issues/4610#issuecomment-6643267746). Nothing in them changes what I posted here on the nine.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
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
Niko1221/Strata#1511
No description provided.