[PR #5309] [Benchmark] RX 6800 XT + RX 6600 on Windows, 128k: layer split vs expert-cache helper (v0.2.11) #5381

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

📋 Pull Request Information

Original PR: https://github.com/Niko1221/Strata/pull/5309
Author: @Kompasby
Created: 11/5/2026
Status: 🔄 Open

Base: main ← Head: bench/0211-radeon-6800xt-6600


📝 Commits (5)

  • 7735260 Add community benchmark on v0.2.11: RX 6800 XT + RX 6600 layer split, 128k context
  • 7df4349 Benchmark report: measure the short prompt case instead of leaving it blank, and note that the API device order is not the engine role order
  • b3621b7 Add community benchmark on v0.2.11: RX 6800 XT + RX 6600 as an expert-cache helper, 128k context
  • 0c87a56 docs: prefer the second AMD card as an expert-cache helper at 128k (RX 6800 XT + RX 6600)
  • 14a83a5 Add round 2: --remote-expert-opt costs decode on the RX 6600 helper path

📊 Changes

29 files changed (+9111 additions, -0 deletions)

View changed files

➕ bench/results/2026-11-05-community-2x-radeon-6800xt-6600/README.md (+109 -0)
➕ bench/results/2026-11-05-community-2x-radeon-6800xt-6600/config.json (+13 -0)
➕ bench/results/2026-11-05-community-2x-radeon-6800xt-6600/outputs.jsonl (+22 -0)
➕ bench/results/2026-11-05-community-2x-radeon-6800xt-6600/provenance/chat_template.jinja (+184 -0)
➕ bench/results/2026-11-05-community-2x-radeon-6800xt-6600/provenance/corpus-build.json (+206 -0)
➕ bench/results/2026-11-05-community-2x-radeon-6800xt-6600/provenance/corpus-manifest.sha256 (+35 -0)
➕ bench/results/2026-11-05-community-2x-radeon-6800xt-6600/results.json (+1699 -0)
➕ bench/results/2026-11-06-community-6800xt-6600-helper-cache-remote-opt/README.md (+101 -0)
➕ bench/results/2026-11-06-community-6800xt-6600-helper-cache-remote-opt/config.json (+13 -0)
➕ bench/results/2026-11-06-community-6800xt-6600-helper-cache-remote-opt/outputs.jsonl (+22 -0)
➕ bench/results/2026-11-06-community-6800xt-6600-helper-cache-remote-opt/provenance/chat_template.jinja (+184 -0)
➕ bench/results/2026-11-06-community-6800xt-6600-helper-cache-remote-opt/provenance/corpus-build.json (+206 -0)
➕ bench/results/2026-11-06-community-6800xt-6600-helper-cache-remote-opt/provenance/corpus-manifest.sha256 (+35 -0)
➕ bench/results/2026-11-06-community-6800xt-6600-helper-cache-remote-opt/results.json (+1694 -0)
➕ bench/results/2026-11-06-community-6800xt-6600-helper-cache/README.md (+160 -0)
➕ bench/results/2026-11-06-community-6800xt-6600-helper-cache/config.json (+13 -0)
➕ bench/results/2026-11-06-community-6800xt-6600-helper-cache/outputs.jsonl (+22 -0)
➕ bench/results/2026-11-06-community-6800xt-6600-helper-cache/provenance/chat_template.jinja (+184 -0)
➕ bench/results/2026-11-06-community-6800xt-6600-helper-cache/provenance/corpus-build.json (+206 -0)
➕ bench/results/2026-11-06-community-6800xt-6600-helper-cache/provenance/corpus-manifest.sha256 (+35 -0)

...and 9 more files

📄 Description

Problem and result: on a two-card Windows machine AMD multi-GPU is not available with the signed build, because setup.py refuses AMD multi-GPU and AMD_ARCHS has no gfx1032 (#4991). With an engine built for gfx1030;gfx1032;gfx1036 the machine runs the same model two ways, and this PR measures both:

  • Layer split - layers 0-37 on the RX 6800 XT, 38-47 on the RX 6600: 361.4 prompt-4k / 578.4 prompt-16k tok/s, short decode 40.0, TTFT 11.36 / 28.41 s (05.11); the same-day control on 06.11 repeats it at 375.5 / 640.4 tok/s, 42.8 short decode, TTFT 10.95 / 25.64 s.
  • RX 6600 as an expert-cache helper - "gpu": [0], HIP_VISIBLE_DEVICES=0,1 in the config's env, --expert-cache-device1 auto, no --layer-split: 631.2 / 772.4 tok/s, short decode 52.6, TTFT 6.52 / 21.28 s.

The helper shape wins wherever the second card can help: +68% prefill at 4k, +21% at 16k, +23% short decode, -40% TTFT at 4k, -26% total time at 4k; decode at 16k is flat (38.7 against 38.6). The cause is in the engine log, not in the link: the split is held to a 3,840-token prompt chunk by the second card's 1,229-slot expert cache (WARNING: prompt chunk 3840 tokens, not 6144 ... #448), while the helper shape keeps the 6,144-token chunk and puts 4,097 experts (6.57 GiB) on the 6600 next to a 3,983-slot (6.49 GiB) cache on the primary. Adding --remote-expert-opt was measured as well: prefill unchanged, decode down 10-27%, so it is reported but not recommended on this path.

Related discussion: #4991 - the two setup.py guards. No scope agreement: a benchmark report goes straight to a PR.

Approach: results only, as docs/COMMUNITY_BENCHMARKS.md asks for - the human report, raw per-request measurements, sanitized configuration and corpus provenance. No source changes. Four reports: bench/results/2026-11-05-community-2x-radeon-6800xt-6600/ (split, v0.2.11), bench/results/2026-11-06-community-6800xt-6600-helper-cache/ (helper), bench/results/2026-11-06-community-6800xt-6600-layer-split-control/ (the split again, minutes later on the same day) and bench/results/2026-11-06-community-6800xt-6600-helper-cache-remote-opt/ (round 2). One paragraph in docs/SECOND_GPU.md records the finding, and the control run exists because the 05.11 numbers were taken on a different page-cache state and expert arena.

Validation:

  • Passed: four runs of strata bench run --suite standard-v1 against the running server, protocol strata-qwen38-thinking-v1-draft.1 at commit c3b3f50, 22 requests each, three repetitions per case, 512-token cap, 12 of 12 sanity checks in every run, no failed or timed-out request. Truncated performance requests are the protocol's 512-token cap (reasoning plus answer), not errors. Environment: engine 0.1.57 hand build for gfx1030;gfx1032;gfx1036, terminal 0.2.11 (control 0.1.57), Windows 11 Pro 26300, driver 32.0.21045.16010, ROCm 10.2.0a20260930 (TheRock wheels), Ryzen 7 9700X, 63.2 GiB DDR5-5200, 131 072 context, --kv int8, --kv-resident 32768, F16 prompt on gfx1032. Per-request data in outputs.jsonl, machine-readable summary in results.json, corpus fingerprint in provenance/.
  • Failed: none observed in any run. Two things worth separating: the short case is about 80 prompt tokens, so its prompt throughput is dominated by fixed cost and is not comparable with the 4k and 16k cases; and in round 2 one short-prompt request stalled for 123 s while the other two took 1.62 s, which is why that case has a wide range there.
  • Not run: CUDA and SYCL builds; the same configurations on Linux; a signed engine carrying gfx1032 (there is none). These numbers describe the hand-built engine, not the shipped Windows package.

Hardware - Ryzen 7 9700X (8C/16T), 63.2 GiB at DDR5-5200, Windows 11 26300, AMD driver 32.0.21045.16010, ROCm 10.2.0a20260930 (TheRock wheels). Terminal 0.2.11 (control 0.1.57); engine 0.1.57 built from source with STRATA_HIP_ARCHS=gfx1030;gfx1032;gfx1036. GPU 0 is the RX 6800 XT (16 GB, gfx1030), GPU 1 the RX 6600 (8 GB, gfx1032, x4 slot; the engine's host-to-device probe reads 28.2 GB/s). The API reports the helper card as "AMD Radeon(TM) Graphics", so results.json lists device 0 under that generic name and device 1 as the RX 6800 XT; that order is not the engine's role order. The integrated GPU is disabled in Windows on purpose: with it visible the launcher takes it as the helper and the configuration collapses.

Measured (three repetitions per case, 512-token cap):

Configuration Prompt 4k Prompt 16k Decode short Decode 4k Decode 16k TTFT 4k / 16k Total 4k / 16k
Layer split (05.11) 361.4 578.4 40.0 38.8 40.1 11.36 / 28.41 s 24.5 / 41.2 s
Layer split (06.11 control) 375.5 640.4 42.8 37.4 38.6 10.95 / 25.64 s 24.6 / 38.7 s
6600 as helper cache 631.2 772.4 52.6 43.5 38.7 6.52 / 21.28 s 18.1 / 34.1 s
Helper + --remote-expert-opt 629.3 762.2 38.4 35.8 34.7 6.56 / 21.55 s 21.0 / 36.3 s

Limits - Windows multi-GPU for AMD is documented as Linux-only and setup.py refuses both the split and gfx1032; the engine is built from source, installed by hand and is unsigned. Building for gfx1036 also needs it added to _strata_hip_unvalidated in cmake/hip_backend.cmake. This is a report on a configuration that upstream does not support, not a claim that it is supported; the two setup.py guards are in #4991. Two more caveats for these numbers: all three 06.11 runs had their expert arena on 4 KB pages (VirtualAlloc error 1450) while the 05.11 run had 2 MiB pages, which is why the same-day control run exists; and strata launch rebuilds its config from saved choices at every boot and always picks the split when two AMD cards are visible, so the helper shape is started from a saved runtime profile rather than from the launcher.


🔄 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/5309 **Author:** [@Kompasby](https://github.com/Kompasby) **Created:** 11/5/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `bench/0211-radeon-6800xt-6600` --- ### 📝 Commits (5) - [`7735260`](https://github.com/Niko1221/Strata/commit/7735260c13acc738b413ba07682f05877bc029b4) Add community benchmark on v0.2.11: RX 6800 XT + RX 6600 layer split, 128k context - [`7df4349`](https://github.com/Niko1221/Strata/commit/7df4349bc74a290ffb6e99fcd866178c6968e8b5) Benchmark report: measure the short prompt case instead of leaving it blank, and note that the API device order is not the engine role order - [`b3621b7`](https://github.com/Niko1221/Strata/commit/b3621b79cd22bb6f3033982089578cdb40a16bf1) Add community benchmark on v0.2.11: RX 6800 XT + RX 6600 as an expert-cache helper, 128k context - [`0c87a56`](https://github.com/Niko1221/Strata/commit/0c87a56527a2829599dbbb18fa4eff0e55067950) docs: prefer the second AMD card as an expert-cache helper at 128k (RX 6800 XT + RX 6600) - [`14a83a5`](https://github.com/Niko1221/Strata/commit/14a83a5e6df8b97eba4aeb25307a76b511531cb6) Add round 2: --remote-expert-opt costs decode on the RX 6600 helper path ### 📊 Changes **29 files changed** (+9111 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `bench/results/2026-11-05-community-2x-radeon-6800xt-6600/README.md` (+109 -0) ➕ `bench/results/2026-11-05-community-2x-radeon-6800xt-6600/config.json` (+13 -0) ➕ `bench/results/2026-11-05-community-2x-radeon-6800xt-6600/outputs.jsonl` (+22 -0) ➕ `bench/results/2026-11-05-community-2x-radeon-6800xt-6600/provenance/chat_template.jinja` (+184 -0) ➕ `bench/results/2026-11-05-community-2x-radeon-6800xt-6600/provenance/corpus-build.json` (+206 -0) ➕ `bench/results/2026-11-05-community-2x-radeon-6800xt-6600/provenance/corpus-manifest.sha256` (+35 -0) ➕ `bench/results/2026-11-05-community-2x-radeon-6800xt-6600/results.json` (+1699 -0) ➕ `bench/results/2026-11-06-community-6800xt-6600-helper-cache-remote-opt/README.md` (+101 -0) ➕ `bench/results/2026-11-06-community-6800xt-6600-helper-cache-remote-opt/config.json` (+13 -0) ➕ `bench/results/2026-11-06-community-6800xt-6600-helper-cache-remote-opt/outputs.jsonl` (+22 -0) ➕ `bench/results/2026-11-06-community-6800xt-6600-helper-cache-remote-opt/provenance/chat_template.jinja` (+184 -0) ➕ `bench/results/2026-11-06-community-6800xt-6600-helper-cache-remote-opt/provenance/corpus-build.json` (+206 -0) ➕ `bench/results/2026-11-06-community-6800xt-6600-helper-cache-remote-opt/provenance/corpus-manifest.sha256` (+35 -0) ➕ `bench/results/2026-11-06-community-6800xt-6600-helper-cache-remote-opt/results.json` (+1694 -0) ➕ `bench/results/2026-11-06-community-6800xt-6600-helper-cache/README.md` (+160 -0) ➕ `bench/results/2026-11-06-community-6800xt-6600-helper-cache/config.json` (+13 -0) ➕ `bench/results/2026-11-06-community-6800xt-6600-helper-cache/outputs.jsonl` (+22 -0) ➕ `bench/results/2026-11-06-community-6800xt-6600-helper-cache/provenance/chat_template.jinja` (+184 -0) ➕ `bench/results/2026-11-06-community-6800xt-6600-helper-cache/provenance/corpus-build.json` (+206 -0) ➕ `bench/results/2026-11-06-community-6800xt-6600-helper-cache/provenance/corpus-manifest.sha256` (+35 -0) _...and 9 more files_ </details> ### 📄 Description Problem and result: on a two-card Windows machine AMD multi-GPU is not available with the signed build, because `setup.py` refuses AMD multi-GPU and `AMD_ARCHS` has no `gfx1032` ([#4991](https://github.com/Niko1221/Strata/issues/4991)). With an engine built for `gfx1030;gfx1032;gfx1036` the machine runs the same model two ways, and this PR measures both: - **Layer split** - layers 0-37 on the RX 6800 XT, 38-47 on the RX 6600: 361.4 prompt-4k / 578.4 prompt-16k tok/s, short decode 40.0, TTFT 11.36 / 28.41 s (05.11); the same-day control on 06.11 repeats it at 375.5 / 640.4 tok/s, 42.8 short decode, TTFT 10.95 / 25.64 s. - **RX 6600 as an expert-cache helper** - `"gpu": [0]`, `HIP_VISIBLE_DEVICES=0,1` in the config's `env`, `--expert-cache-device1 auto`, no `--layer-split`: 631.2 / 772.4 tok/s, short decode 52.6, TTFT 6.52 / 21.28 s. The helper shape wins wherever the second card can help: +68% prefill at 4k, +21% at 16k, +23% short decode, -40% TTFT at 4k, -26% total time at 4k; decode at 16k is flat (38.7 against 38.6). The cause is in the engine log, not in the link: the split is held to a 3,840-token prompt chunk by the second card's 1,229-slot expert cache (`WARNING: prompt chunk 3840 tokens, not 6144 ... #448`), while the helper shape keeps the 6,144-token chunk and puts 4,097 experts (6.57 GiB) on the 6600 next to a 3,983-slot (6.49 GiB) cache on the primary. Adding `--remote-expert-opt` was measured as well: prefill unchanged, decode down 10-27%, so it is reported but not recommended on this path. Related discussion: [#4991](https://github.com/Niko1221/Strata/issues/4991) - the two `setup.py` guards. No scope agreement: a benchmark report goes straight to a PR. Approach: results only, as [docs/COMMUNITY_BENCHMARKS.md](https://github.com/Niko1221/Strata/blob/main/docs/COMMUNITY_BENCHMARKS.md) asks for - the human report, raw per-request measurements, sanitized configuration and corpus provenance. No source changes. Four reports: `bench/results/2026-11-05-community-2x-radeon-6800xt-6600/` (split, v0.2.11), `bench/results/2026-11-06-community-6800xt-6600-helper-cache/` (helper), `bench/results/2026-11-06-community-6800xt-6600-layer-split-control/` (the split again, minutes later on the same day) and `bench/results/2026-11-06-community-6800xt-6600-helper-cache-remote-opt/` (round 2). One paragraph in `docs/SECOND_GPU.md` records the finding, and the control run exists because the 05.11 numbers were taken on a different page-cache state and expert arena. Validation: - Passed: four runs of `strata bench run --suite standard-v1` against the running server, protocol `strata-qwen38-thinking-v1-draft.1` at commit c3b3f50, 22 requests each, three repetitions per case, 512-token cap, 12 of 12 sanity checks in every run, no failed or timed-out request. Truncated performance requests are the protocol's 512-token cap (reasoning plus answer), not errors. Environment: engine 0.1.57 hand build for `gfx1030;gfx1032;gfx1036`, terminal 0.2.11 (control 0.1.57), Windows 11 Pro 26300, driver 32.0.21045.16010, ROCm 10.2.0a20260930 (TheRock wheels), Ryzen 7 9700X, 63.2 GiB DDR5-5200, 131 072 context, `--kv int8`, `--kv-resident 32768`, F16 prompt on gfx1032. Per-request data in `outputs.jsonl`, machine-readable summary in `results.json`, corpus fingerprint in `provenance/`. - Failed: none observed in any run. Two things worth separating: the short case is about 80 prompt tokens, so its prompt throughput is dominated by fixed cost and is not comparable with the 4k and 16k cases; and in round 2 one short-prompt request stalled for 123 s while the other two took 1.62 s, which is why that case has a wide range there. - Not run: CUDA and SYCL builds; the same configurations on Linux; a signed engine carrying `gfx1032` (there is none). These numbers describe the hand-built engine, not the shipped Windows package. Hardware - Ryzen 7 9700X (8C/16T), 63.2 GiB at DDR5-5200, Windows 11 26300, AMD driver 32.0.21045.16010, ROCm 10.2.0a20260930 (TheRock wheels). Terminal 0.2.11 (control 0.1.57); engine 0.1.57 built from source with `STRATA_HIP_ARCHS=gfx1030;gfx1032;gfx1036`. GPU 0 is the RX 6800 XT (16 GB, gfx1030), GPU 1 the RX 6600 (8 GB, gfx1032, x4 slot; the engine's host-to-device probe reads 28.2 GB/s). The API reports the helper card as "AMD Radeon(TM) Graphics", so `results.json` lists device 0 under that generic name and device 1 as the RX 6800 XT; that order is not the engine's role order. The integrated GPU is disabled in Windows on purpose: with it visible the launcher takes it as the helper and the configuration collapses. Measured (three repetitions per case, 512-token cap): | Configuration | Prompt 4k | Prompt 16k | Decode short | Decode 4k | Decode 16k | TTFT 4k / 16k | Total 4k / 16k | | --- | ---: | ---: | ---: | ---: | ---: | --- | --- | | Layer split (05.11) | 361.4 | 578.4 | 40.0 | 38.8 | 40.1 | 11.36 / 28.41 s | 24.5 / 41.2 s | | Layer split (06.11 control) | 375.5 | 640.4 | 42.8 | 37.4 | 38.6 | 10.95 / 25.64 s | 24.6 / 38.7 s | | 6600 as helper cache | 631.2 | 772.4 | 52.6 | 43.5 | 38.7 | 6.52 / 21.28 s | 18.1 / 34.1 s | | Helper + `--remote-expert-opt` | 629.3 | 762.2 | 38.4 | 35.8 | 34.7 | 6.56 / 21.55 s | 21.0 / 36.3 s | Limits - Windows multi-GPU for AMD is documented as Linux-only and `setup.py` refuses both the split and gfx1032; the engine is built from source, installed by hand and is unsigned. Building for gfx1036 also needs it added to `_strata_hip_unvalidated` in `cmake/hip_backend.cmake`. This is a report on a configuration that upstream does not support, not a claim that it is supported; the two `setup.py` guards are in [#4991](https://github.com/Niko1221/Strata/issues/4991). Two more caveats for these numbers: all three 06.11 runs had their expert arena on 4 KB pages (`VirtualAlloc error 1450`) while the 05.11 run had 2 MiB pages, which is why the same-day control run exists; and `strata launch` rebuilds its config from saved choices at every boot and always picks the split when two AMD cards are visible, so the helper shape is started from a saved runtime profile rather than from the launcher. --- <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#5381
No description provided.