[PR #5463] [Benchmark] community report: 2x RTX 3090, --pipeline-windows 2 fills the idle half of the layer split #5439

Open
opened 2026-11-07 16:35:12 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Niko1221/Strata/pull/5463
Author: @SimonX200
Created: 11/7/2026
Status: 🔄 Open

Base: main ← Head: community-result-on-idle-gpu-2x3090


📝 Commits (5)

  • 78bb3a5 bench: community report, 2x RTX 3090, UD-IQ4_XS: --pipeline-windows 2 fills the idle half of the layer split
  • 335e3b3 bench/results: redact the home path from the idle-GPU summary stamp (2x RTX 3090 report)
  • 0d8c401 bench/results: 2x RTX 3090 idle-GPU report, second pass at 350 W - the fill is not free (50-64 W, but better per watt), the ~34 % window ceiling holds, 120k context is no longer the weak spot, plus the parameter ranges re-tested and where the power limit actually bites (131k prefill)
  • 7d4a1b9 bench/results: idle-GPU report, saying what "flat" costs - theta 0.20 against 0.35 head to head (52 document pairs, -0.3 pp pooled, identical window statistics), so an arm listing that ranks one in-band gate over another is not read as a finding
  • 8db2e31 bench/results: make the idle-GPU report stand on its own - scripts/ (paired_ci, sampler, resource_summary, and the pw_idle_ab snapshot, which was published broken: it imported two modules that were not in the folder) plus raw/ with the 746 request records, the paired tables, the per-arm load joins, the 1 Hz capture and the engine argv of all 26 restarts; README reproduces from them (theta 0.20 against 0.35 now quoted as the tool prints it)

📊 Changes

90 files changed (+3701 additions, -0 deletions)

View changed files

➕ bench/results/2026-11-07-community-2x-rtx3090-minimize-idle-gpu/README.md (+260 -0)
➕ bench/results/2026-11-07-community-2x-rtx3090-minimize-idle-gpu/pw_idle_l28.json (+346 -0)
➕ bench/results/2026-11-07-community-2x-rtx3090-minimize-idle-gpu/pw_idle_l28_summary.txt (+65 -0)
➕ bench/results/2026-11-07-community-2x-rtx3090-minimize-idle-gpu/raw/auto-final.txt (+33 -0)
➕ bench/results/2026-11-07-community-2x-rtx3090-minimize-idle-gpu/raw/community-zahlen.txt (+15 -0)
➕ bench/results/2026-11-07-community-2x-rtx3090-minimize-idle-gpu/raw/endtable.txt (+6 -0)
➕ bench/results/2026-11-07-community-2x-rtx3090-minimize-idle-gpu/raw/istzustand.txt (+97 -0)
➕ bench/results/2026-11-07-community-2x-rtx3090-minimize-idle-gpu/raw/l28-350w.csv.gz (+0 -0)
➕ bench/results/2026-11-07-community-2x-rtx3090-minimize-idle-gpu/raw/p0-ist-350w-paare.txt (+12 -0)
➕ bench/results/2026-11-07-community-2x-rtx3090-minimize-idle-gpu/raw/p0-ist-350w-resources.csv (+13 -0)
➕ bench/results/2026-11-07-community-2x-rtx3090-minimize-idle-gpu/raw/p0-ist-350w.jsonl (+96 -0)
➕ bench/results/2026-11-07-community-2x-rtx3090-minimize-idle-gpu/raw/p1a-split-decode-paare.txt (+4 -0)
➕ bench/results/2026-11-07-community-2x-rtx3090-minimize-idle-gpu/raw/p1a-split-decode-resources.csv (+25 -0)
➕ bench/results/2026-11-07-community-2x-rtx3090-minimize-idle-gpu/raw/p1a-split-decode.jsonl (+96 -0)
➕ bench/results/2026-11-07-community-2x-rtx3090-minimize-idle-gpu/raw/p1a2-split-decode-zwei-paare.txt (+4 -0)
➕ bench/results/2026-11-07-community-2x-rtx3090-minimize-idle-gpu/raw/p1a2-split-decode-zwei-resources.csv (+17 -0)
➕ bench/results/2026-11-07-community-2x-rtx3090-minimize-idle-gpu/raw/p1a2-split-decode-zwei.jsonl (+128 -0)
➕ bench/results/2026-11-07-community-2x-rtx3090-minimize-idle-gpu/raw/p1b-split-prefill-paare.txt (+3 -0)
➕ bench/results/2026-11-07-community-2x-rtx3090-minimize-idle-gpu/raw/p1b-split-prefill-resources.csv (+13 -0)
➕ bench/results/2026-11-07-community-2x-rtx3090-minimize-idle-gpu/raw/p1b-split-prefill.jsonl (+36 -0)

...and 70 more files

📄 Description

Problem and result

The 2026-10-20 idle-GPU report (proposal 2507-0) found nothing worth a default for NVIDIA layer
splits: on 2x RTX A4000 --pipeline-windows 2 gave +5.4 % on code and -1.0 % on prose, inside its own
A-versus-A noise. On this box the same switch is worth keeping, and the report shows both halves of
the answer - what the cards do and what it is worth.

l28: two identical RTX 3090 24 GB (300 W limit each), EPYC 7402, 125 GiB RAM, engine 0.1.55
(source build, CUDA 13.4.92, sm_86), Qwen3.8-Flash-Next Unsloth UD-IQ4_XS with 55.43 GiB of experts in
RAM, layer_split auto cutting at K=23. A per-card nvidia-smi sampler at 100 ms, cut to the decode
window of each request by the millisecond counts the engine reports for it:

  • serial split: 44 / 60 % (prose) and 46 / 59 % (code) - the two cards add up to ~104 % of one card,
    they take turns;
  • --pipeline-windows 2 theta=0.35: 61 / 83 % and 60 / 85 %, ~144 % of one card, for +6 to +12 W;
  • decode +5.7 % on code (4 of 5 paired rounds, 107.6 -> 114.0 tok/s); the prose row is -0.5 % at n = 3,
    which is below this box's resolution floor.

The larger paired sweeps behind the report (same box, same server, 8 documents) measured +8.0 % on
code and +10.6 % [+5.8, +15.6] on prose, 8 of 8 prose documents positive, and +23.7 % on code with
reasoning switched on. Results-only PR: no engine change, no default touched.

none: results-only report, no engine change and no default touched

Approach

Both arms run on one live server: STRATA_PIPELINE_SWITCH=<file> is re-read per request, so pw
switches between two requests with the same expert placement and KV state - no restart per arm, which
is what moved the earlier numbers around. Rounds are paired per request and greedy; a round is dropped
when a foreign request lands in its window (15 of 40 on the day, the box was serving).
STRATA_DECODE_TIMING stays off on purpose: it costs the serial loop 7.7-8.1 % and would inflate the
difference by ~8 pp, so the window-accounting columns are empty in the raw summary.

Why the fill is worth more here than on the A4000: the coverable share of a window is fixed at ~34 %
(13.4 ms speculative against 20.8 ms fresh), and over 215 paired requests the gain is
0.88 * covered share - 3.8 %. Only the draft in front of the window moves it - this box runs at
68-75 % accepted drafts and 2.5-2.7 tokens per window, so most prebuilt windows land.

Validation

Passed:

  • KUBECONFIG=... python3 -u strata_pw_idle_ab.py --url <host>:8081 --pod-match strata-l28 --host <host> --arms 'pw=0,pw=2 theta=0.35' --runs 6 --context 2000 --tokens 300 --json raw.json and the same with
    --runs 4 --context 4000 --tokens 400, 2026-11-07, l28 at engine 0.1.55 / commit 146df3c4: 2 684
    sampler rows, 25 scored requests, medians as in the table above (pw_idle_l28.json,
    pw_idle_l28_summary.txt).
  • Server state after the run: switch file back to pw=2 theta=0.35, /v1/models reports loaded, no
    failed request in the engine log.

Failed: none observed. 15 of 40 requests were dropped before averaging because another session's
request fell into their window; they are counted in the summary output, not hidden.

Not run: time to first token (not recorded by this harness); prompt and reused token counts per
request (only the generated duration is in the raw JSON); answer-quality check (this is a speed
measurement only); the bit-exactness gate (pw=2 is documented as not bit-identical to the serial
path, and no token-SHA comparison was run here); AMD/HIP/SYCL/Metal (no such card on this box);
--pipeline-windows above 2 (the engine clamps it to 2) and the --batch combination (the engine
turns the pipeline off there).

Limits

One stream, greedy, one box, one model and quantization; the prose row is n = 3 and the 120 k-context
and reasoning rows are n = 2. Resolution floor on this machine is about +-3 % (four independent serial
swings: 127.9 / 128.9 / 129.5 / 138.9 tok/s), and single requests scatter +-10 % with the document, so
only the paired medians carry weight. The § 2 and § 3 sweeps of the report were measured on the same
box by us but their raw data is not in this PR. Rent is real: 272 MiB of CUDA0 out of the expert cache
(118 slots, -1.9 %), and force_miss shows the machine costs 5-10 % when nothing hits.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Niko1221/Strata/pull/5463 **Author:** [@SimonX200](https://github.com/SimonX200) **Created:** 11/7/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `community-result-on-idle-gpu-2x3090` --- ### 📝 Commits (5) - [`78bb3a5`](https://github.com/Niko1221/Strata/commit/78bb3a5ae4d02093a1e6ba167497500a31d56ecb) bench: community report, 2x RTX 3090, UD-IQ4_XS: --pipeline-windows 2 fills the idle half of the layer split - [`335e3b3`](https://github.com/Niko1221/Strata/commit/335e3b384fbe7810d7864a920af063706b094e8a) bench/results: redact the home path from the idle-GPU summary stamp (2x RTX 3090 report) - [`0d8c401`](https://github.com/Niko1221/Strata/commit/0d8c40104e9d9042c633555e890a97cd48359992) bench/results: 2x RTX 3090 idle-GPU report, second pass at 350 W - the fill is not free (50-64 W, but better per watt), the ~34 % window ceiling holds, 120k context is no longer the weak spot, plus the parameter ranges re-tested and where the power limit actually bites (131k prefill) - [`7d4a1b9`](https://github.com/Niko1221/Strata/commit/7d4a1b9f21bb62d3fec9bc22de01b589a77054c7) bench/results: idle-GPU report, saying what "flat" costs - theta 0.20 against 0.35 head to head (52 document pairs, -0.3 pp pooled, identical window statistics), so an arm listing that ranks one in-band gate over another is not read as a finding - [`8db2e31`](https://github.com/Niko1221/Strata/commit/8db2e3159c55ff6c474ce5718f8155ca337983f2) bench/results: make the idle-GPU report stand on its own - scripts/ (paired_ci, sampler, resource_summary, and the pw_idle_ab snapshot, which was published broken: it imported two modules that were not in the folder) plus raw/ with the 746 request records, the paired tables, the per-arm load joins, the 1 Hz capture and the engine argv of all 26 restarts; README reproduces from them (theta 0.20 against 0.35 now quoted as the tool prints it) ### 📊 Changes **90 files changed** (+3701 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `bench/results/2026-11-07-community-2x-rtx3090-minimize-idle-gpu/README.md` (+260 -0) ➕ `bench/results/2026-11-07-community-2x-rtx3090-minimize-idle-gpu/pw_idle_l28.json` (+346 -0) ➕ `bench/results/2026-11-07-community-2x-rtx3090-minimize-idle-gpu/pw_idle_l28_summary.txt` (+65 -0) ➕ `bench/results/2026-11-07-community-2x-rtx3090-minimize-idle-gpu/raw/auto-final.txt` (+33 -0) ➕ `bench/results/2026-11-07-community-2x-rtx3090-minimize-idle-gpu/raw/community-zahlen.txt` (+15 -0) ➕ `bench/results/2026-11-07-community-2x-rtx3090-minimize-idle-gpu/raw/endtable.txt` (+6 -0) ➕ `bench/results/2026-11-07-community-2x-rtx3090-minimize-idle-gpu/raw/istzustand.txt` (+97 -0) ➕ `bench/results/2026-11-07-community-2x-rtx3090-minimize-idle-gpu/raw/l28-350w.csv.gz` (+0 -0) ➕ `bench/results/2026-11-07-community-2x-rtx3090-minimize-idle-gpu/raw/p0-ist-350w-paare.txt` (+12 -0) ➕ `bench/results/2026-11-07-community-2x-rtx3090-minimize-idle-gpu/raw/p0-ist-350w-resources.csv` (+13 -0) ➕ `bench/results/2026-11-07-community-2x-rtx3090-minimize-idle-gpu/raw/p0-ist-350w.jsonl` (+96 -0) ➕ `bench/results/2026-11-07-community-2x-rtx3090-minimize-idle-gpu/raw/p1a-split-decode-paare.txt` (+4 -0) ➕ `bench/results/2026-11-07-community-2x-rtx3090-minimize-idle-gpu/raw/p1a-split-decode-resources.csv` (+25 -0) ➕ `bench/results/2026-11-07-community-2x-rtx3090-minimize-idle-gpu/raw/p1a-split-decode.jsonl` (+96 -0) ➕ `bench/results/2026-11-07-community-2x-rtx3090-minimize-idle-gpu/raw/p1a2-split-decode-zwei-paare.txt` (+4 -0) ➕ `bench/results/2026-11-07-community-2x-rtx3090-minimize-idle-gpu/raw/p1a2-split-decode-zwei-resources.csv` (+17 -0) ➕ `bench/results/2026-11-07-community-2x-rtx3090-minimize-idle-gpu/raw/p1a2-split-decode-zwei.jsonl` (+128 -0) ➕ `bench/results/2026-11-07-community-2x-rtx3090-minimize-idle-gpu/raw/p1b-split-prefill-paare.txt` (+3 -0) ➕ `bench/results/2026-11-07-community-2x-rtx3090-minimize-idle-gpu/raw/p1b-split-prefill-resources.csv` (+13 -0) ➕ `bench/results/2026-11-07-community-2x-rtx3090-minimize-idle-gpu/raw/p1b-split-prefill.jsonl` (+36 -0) _...and 70 more files_ </details> ### 📄 Description ## Problem and result The 2026-10-20 idle-GPU report (proposal 2507-0) found nothing worth a default for NVIDIA layer splits: on 2x RTX A4000 `--pipeline-windows 2` gave +5.4 % on code and -1.0 % on prose, inside its own A-versus-A noise. On this box the same switch is worth keeping, and the report shows both halves of the answer - what the cards do and what it is worth. l28: two identical RTX 3090 24 GB (300 W limit each), EPYC 7402, 125 GiB RAM, engine 0.1.55 (source build, CUDA 13.4.92, sm_86), Qwen3.8-Flash-Next Unsloth UD-IQ4_XS with 55.43 GiB of experts in RAM, `layer_split auto` cutting at K=23. A per-card `nvidia-smi` sampler at 100 ms, cut to the decode window of each request by the millisecond counts the engine reports for it: - serial split: 44 / 60 % (prose) and 46 / 59 % (code) - the two cards add up to ~104 % of one card, they take turns; - `--pipeline-windows 2 theta=0.35`: 61 / 83 % and 60 / 85 %, ~144 % of one card, for +6 to +12 W; - decode +5.7 % on code (4 of 5 paired rounds, 107.6 -> 114.0 tok/s); the prose row is -0.5 % at n = 3, which is below this box's resolution floor. The larger paired sweeps behind the report (same box, same server, 8 documents) measured +8.0 % on code and +10.6 % [+5.8, +15.6] on prose, 8 of 8 prose documents positive, and +23.7 % on code with reasoning switched on. Results-only PR: no engine change, no default touched. ## Related discussion none: results-only report, no engine change and no default touched ## Approach Both arms run on one live server: `STRATA_PIPELINE_SWITCH=<file>` is re-read per request, so `pw` switches between two requests with the same expert placement and KV state - no restart per arm, which is what moved the earlier numbers around. Rounds are paired per request and greedy; a round is dropped when a foreign request lands in its window (15 of 40 on the day, the box was serving). `STRATA_DECODE_TIMING` stays off on purpose: it costs the serial loop 7.7-8.1 % and would inflate the difference by ~8 pp, so the window-accounting columns are empty in the raw summary. Why the fill is worth more here than on the A4000: the coverable share of a window is fixed at ~34 % (13.4 ms speculative against 20.8 ms fresh), and over 215 paired requests the gain is `0.88 * covered share - 3.8 %`. Only the draft in front of the window moves it - this box runs at 68-75 % accepted drafts and 2.5-2.7 tokens per window, so most prebuilt windows land. ## Validation **Passed:** - `KUBECONFIG=... python3 -u strata_pw_idle_ab.py --url <host>:8081 --pod-match strata-l28 --host <host> --arms 'pw=0,pw=2 theta=0.35' --runs 6 --context 2000 --tokens 300 --json raw.json` and the same with `--runs 4 --context 4000 --tokens 400`, 2026-11-07, l28 at engine 0.1.55 / commit 146df3c4: 2 684 sampler rows, 25 scored requests, medians as in the table above (`pw_idle_l28.json`, `pw_idle_l28_summary.txt`). - Server state after the run: switch file back to `pw=2 theta=0.35`, `/v1/models` reports `loaded`, no failed request in the engine log. **Failed:** none observed. 15 of 40 requests were dropped before averaging because another session's request fell into their window; they are counted in the summary output, not hidden. **Not run:** time to first token (not recorded by this harness); prompt and reused token counts per request (only the generated duration is in the raw JSON); answer-quality check (this is a speed measurement only); the bit-exactness gate (`pw=2` is documented as not bit-identical to the serial path, and no token-SHA comparison was run here); AMD/HIP/SYCL/Metal (no such card on this box); `--pipeline-windows` above 2 (the engine clamps it to 2) and the `--batch` combination (the engine turns the pipeline off there). ## Limits One stream, greedy, one box, one model and quantization; the prose row is n = 3 and the 120 k-context and reasoning rows are n = 2. Resolution floor on this machine is about +-3 % (four independent serial swings: 127.9 / 128.9 / 129.5 / 138.9 tok/s), and single requests scatter +-10 % with the document, so only the paired medians carry weight. The § 2 and § 3 sweeps of the report were measured on the same box by us but their raw data is not in this PR. Rent is real: 272 MiB of CUDA0 out of the expert cache (118 slots, -1.9 %), and `force_miss` shows the machine costs 5-10 % when nothing hits. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
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#5439
No description provided.