[GH-ISSUE #5320] [Benchmark] RX 6900 XT (gfx1030) on 0.1.57: DFlash2 now runs on RDNA2, and STRATA_HIP_PROMPT_F16 is still worth 2.1x #3171

Open
opened 2026-11-07 14:38:38 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @lvxianchao on GitHub (Nov 5, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/5320

This is a re-measurement of the same machine I reported on 10-30 in #4723 (closed, results collected for the benchmarks page). Nothing went wrong again; two things changed and are worth a look.

Short version

  • DFlash2 starts and runs on gfx1030 on 0.1.57. On 0.1.55 the engine fell back to MTP on this card. Measured against MTP on the same build: +10.0% decode on short answers, +1.0% at 4K, +4.7% at 16K.
  • STRATA_HIP_PROMPT_F16=1 is still not the default on gfx103x and is still worth 2.11x prompt speed (480.7 → 1013.5 tok/s at 8.2K). Same ratio as on 0.1.54.
  • 212K-token prompt: 1,112.4 tok/s prefill, 38.7 tok/s decode (0.1.55: 988.9 / 35.7).
  • Sanity checks 12/12 in all three runs below.

Hardware and software

Unchanged from #4723: RX 6900 XT 16 GB, gfx1030 (Navi 21), PCIe Gen4 x16, Resizable BAR on; Intel i3-13100T; 96 GB installed / 78.5 GiB visible; QEMU/KVM guest on Proxmox VE 9.2 with the card passed through (vfio-pci, cpu: host), so these are not bare-metal numbers; Ubuntu 24.04.4, kernel 6.8.0-124, system ROCm 6.3.0 (not used — the rx6000 package carries its own HIP runtime).

  • Strata 0.2.11, engine 0.1.57 linux-x86_64-hip-rx6000 (signed release package, installed by strata update; the update's own test start answered a probe).
  • Model unchanged: Qwen3.8-Flash-Next IQ3_S (ISTA-DASLab GSQ-RCO, sha256 4c1eb2ce… / 316b46f3…), from ModelScope.
  • Context 262144 (native), --kv k8v4, --kv-resident 32768, --vision (CPU reader, 3 threads), --pool-cores 1,3,5.
  • STRATA_HIP_PROMPT_F16=1 in every run except the control below.

Standard benchmark, three ways

strata bench run, protocol strata-qwen38-thinking-v1-draft.1, same corpus, same machine, nothing else running. Median (min–max), n=3.

Case 0.1.55 MTP (10-30) 0.1.57 DFlash2 0.1.57 MTP
short, decode 41.7 (40.6–43.3) 46.3 (44.3–48.1) 42.1 (39.2–42.5)
prompt-4k, prompt 908.5 (895.6–913.3) 885.7 (876.6–891.6) 895.5 (894.3–896.1)
prompt-4k, decode 39.7 (37.0–43.4) 39.5 (38.4–43.7) 39.1 (36.4–41.5)
prompt-4k, TTFT s 4.55 4.66 4.62
prompt-16k, prompt 1,128.9 (1,123.2–1,131.1) 1,127.3 (1,127.1–1,127.9) 1,123.3 (1,121.0–1,124.2)
prompt-16k, decode 40.2 (40.0–44.3) 39.7 (39.0–43.6) 37.9 (36.8–38.0)
prompt-16k, TTFT s 14.56 14.59 14.63
sanity checks 12/12 12/12 12/12

Runs: 20261105T144040Z-80e10c0a (DFlash2), 20261105T144829Z-4350914b (MTP). Same six of nine performance requests truncated at the 512-token cap in both, as before; results.json marks them.

DFlash2 against MTP, same build: +10.0% short, +1.0% at 4K, +4.7% at 16K. That is the same shape the release notes report on other cards (more on short answers). Draft acceptance on this card was 78–91% per request during the DFlash2 run.

Cost of the drafter on a 16 GB card: DFlash2 takes 1,026 MiB of VRAM, so the expert cache drops from 4,647 slots / 8.86 GiB (MTP) to 4,567 slots / 8.71 GiB (DFlash2) — –1.7% slots, 890 MiB VRAM left free. Decode expert-cache hit rate during the DFlash2 run: 78.7–88.2%.

Across versions at MTP: short +1.0%, 4K –1.5%, 16K –5.7% (40.2 → 37.9). It is n=3 and the min–max ranges do not overlap (40.0–44.3 against 36.8–38.0), so it may be a real small regression in the MTP path rather than noise — I cannot separate the two from one box. DFlash2 more than covers it at 16K (39.7).

The prompt lever is unchanged

8,192-token prompt, max_tokens=1, three fresh nonces each (no prefix-cache hits), same binary and flags, only the variable differs:

0.1.57, 8.2K prompt Prompt tok/s
default 480.7 (479.2–480.9)
STRATA_HIP_PROMPT_F16=1 1,013.5 (999.5–1,016.5)

2.11x, the same ratio I measured on 0.1.54 (488.2 → 1,028.8). The engine still prints the tip on gfx103x, and the release notes still do not mention making it the default. Repeating the suggestion from #4723: this is the single largest lever on RDNA2 and it is currently invisible to anyone who does not read the engine log.

Long context and pictures (not part of the protocol)

  • 212,067-token prompt (cache_n 0, truly cold): prefill 1,112.4 tok/s in 190.6 s, decode 38.7 tok/s, drafts accepted 57 of 82. On 0.1.55 the same test was 988.9 / 35.7.
  • Picture: the synthetic image from #4723 (the text "STRATA 7391", a red circle, a blue triangle) was read correctly on 0.1.57 — 316 prompt tokens, 110 generated, 12.3 s end to end, strata-vision: on the CPU, 3 threads as before.
  • The prompt chunk is auto: 8192 tokens and the prompt path borrows 2,282 cache slots (4.32 GiB) on this card.

What I did not test

  • Anything other than IQ3_S; the Windows rdna2 package; bare metal; clocks/power per request (single rocm-smi readings only); long soak; concurrency; --layer-split.
  • The 512K / 1M --context sweep from #4723 was not repeated on 0.1.57.
  • Only one start per arm for the A/B rows; the three standard-benchmark runs are n=3 each.

Raw results.json, outputs.jsonl, config.json and provenance/ for both runs are available and can be attached or turned into a results-only PR if that is preferred — #4723's files were not added to the repository, so I did not open one unasked.

Reported by lvxianchao.

Originally created by @lvxianchao on GitHub (Nov 5, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/5320 This is a re-measurement of the same machine I reported on 10-30 in #4723 (closed, results collected for the benchmarks page). Nothing went wrong again; two things changed and are worth a look. ## Short version - **DFlash2 starts and runs on gfx1030 on 0.1.57.** On 0.1.55 the engine fell back to MTP on this card. Measured against MTP on the same build: **+10.0% decode on short answers**, +1.0% at 4K, +4.7% at 16K. - **`STRATA_HIP_PROMPT_F16=1` is still not the default on gfx103x** and is still worth **2.11x** prompt speed (480.7 → 1013.5 tok/s at 8.2K). Same ratio as on 0.1.54. - 212K-token prompt: 1,112.4 tok/s prefill, 38.7 tok/s decode (0.1.55: 988.9 / 35.7). - Sanity checks 12/12 in all three runs below. ## Hardware and software Unchanged from #4723: **RX 6900 XT 16 GB, gfx1030 (Navi 21)**, PCIe Gen4 x16, Resizable BAR on; Intel i3-13100T; 96 GB installed / 78.5 GiB visible; **QEMU/KVM guest on Proxmox VE 9.2** with the card passed through (vfio-pci, cpu: host), so these are not bare-metal numbers; Ubuntu 24.04.4, kernel 6.8.0-124, system ROCm 6.3.0 (not used — the `rx6000` package carries its own HIP runtime). - **Strata 0.2.11, engine 0.1.57 `linux-x86_64-hip-rx6000`** (signed release package, installed by `strata update`; the update's own test start answered a probe). - Model unchanged: **Qwen3.8-Flash-Next IQ3_S** (ISTA-DASLab GSQ-RCO, sha256 `4c1eb2ce…` / `316b46f3…`), from ModelScope. - Context **262144** (native), `--kv k8v4`, `--kv-resident 32768`, `--vision` (CPU reader, 3 threads), `--pool-cores 1,3,5`. - **`STRATA_HIP_PROMPT_F16=1`** in every run except the control below. ## Standard benchmark, three ways `strata bench run`, protocol `strata-qwen38-thinking-v1-draft.1`, same corpus, same machine, nothing else running. Median (min–max), n=3. | Case | 0.1.55 MTP (10-30) | **0.1.57 DFlash2** | 0.1.57 MTP | | --- | --- | --- | --- | | short, decode | 41.7 (40.6–43.3) | **46.3 (44.3–48.1)** | 42.1 (39.2–42.5) | | prompt-4k, prompt | 908.5 (895.6–913.3) | 885.7 (876.6–891.6) | 895.5 (894.3–896.1) | | prompt-4k, decode | 39.7 (37.0–43.4) | 39.5 (38.4–43.7) | 39.1 (36.4–41.5) | | prompt-4k, TTFT s | 4.55 | 4.66 | 4.62 | | prompt-16k, prompt | 1,128.9 (1,123.2–1,131.1) | 1,127.3 (1,127.1–1,127.9) | 1,123.3 (1,121.0–1,124.2) | | prompt-16k, decode | 40.2 (40.0–44.3) | 39.7 (39.0–43.6) | 37.9 (36.8–38.0) | | prompt-16k, TTFT s | 14.56 | 14.59 | 14.63 | | sanity checks | 12/12 | 12/12 | 12/12 | Runs: `20261105T144040Z-80e10c0a` (DFlash2), `20261105T144829Z-4350914b` (MTP). Same six of nine performance requests truncated at the 512-token cap in both, as before; `results.json` marks them. **DFlash2 against MTP, same build:** +10.0% short, +1.0% at 4K, +4.7% at 16K. That is the same shape the release notes report on other cards (more on short answers). Draft acceptance on this card was **78–91%** per request during the DFlash2 run. **Cost of the drafter on a 16 GB card:** DFlash2 takes **1,026 MiB** of VRAM, so the expert cache drops from **4,647 slots / 8.86 GiB (MTP)** to **4,567 slots / 8.71 GiB (DFlash2)** — **–1.7%** slots, 890 MiB VRAM left free. Decode expert-cache hit rate during the DFlash2 run: 78.7–88.2%. **Across versions at MTP:** short +1.0%, 4K –1.5%, 16K **–5.7%** (40.2 → 37.9). It is n=3 and the min–max ranges do not overlap (40.0–44.3 against 36.8–38.0), so it may be a real small regression in the MTP path rather than noise — I cannot separate the two from one box. DFlash2 more than covers it at 16K (39.7). ## The prompt lever is unchanged 8,192-token prompt, `max_tokens=1`, three fresh nonces each (no prefix-cache hits), same binary and flags, only the variable differs: | 0.1.57, 8.2K prompt | Prompt tok/s | | --- | --- | | default | **480.7** (479.2–480.9) | | `STRATA_HIP_PROMPT_F16=1` | **1,013.5** (999.5–1,016.5) | **2.11x**, the same ratio I measured on 0.1.54 (488.2 → 1,028.8). The engine still prints the tip on gfx103x, and the release notes still do not mention making it the default. Repeating the suggestion from #4723: this is the single largest lever on RDNA2 and it is currently invisible to anyone who does not read the engine log. ## Long context and pictures (not part of the protocol) - **212,067-token prompt** (`cache_n 0`, truly cold): prefill **1,112.4 tok/s** in 190.6 s, decode **38.7 tok/s**, drafts accepted 57 of 82. On 0.1.55 the same test was 988.9 / 35.7. - **Picture:** the synthetic image from #4723 (the text "STRATA 7391", a red circle, a blue triangle) was read correctly on 0.1.57 — 316 prompt tokens, 110 generated, 12.3 s end to end, `strata-vision: on the CPU, 3 threads` as before. - The prompt chunk is `auto: 8192 tokens` and the prompt path borrows 2,282 cache slots (4.32 GiB) on this card. ## What I did not test - Anything other than IQ3_S; the Windows `rdna2` package; bare metal; clocks/power per request (single `rocm-smi` readings only); long soak; concurrency; `--layer-split`. - The 512K / 1M `--context` sweep from #4723 was not repeated on 0.1.57. - Only one start per arm for the A/B rows; the three standard-benchmark runs are n=3 each. Raw `results.json`, `outputs.jsonl`, `config.json` and `provenance/` for both runs are available and can be attached or turned into a results-only PR if that is preferred — #4723's files were not added to the repository, so I did not open one unasked. Reported by lvxianchao.
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#3171
No description provided.