mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #3398] [Benchmark] Windows Strix Halo (gfx1151) suite on 0.1.45: --mmap-experts + STRATA_SH_STREAM=0 decode +12-15% #1374
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#1374
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mistral13 on GitHub (Oct 20, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/3398
[Benchmark] Strix Halo (gfx1151) suite on 0.1.45: --mmap-experts + STRATA_SH_STREAM=0 decode +12-15%, UD-IQ4_XS prefill fixed, shared-GPU-memory placement idea
Measured on 2026-10-19 / 2026-10-20 by
mistral13.Follow-up to #3032 (my first suite report, engine 0.44.1). Same Strix Halo machine, same test suite
(re-run with the engine's own timings), now on Strata 0.1.45 with the bug fix from
#3098 used locally. Coder IQ1_M was replaced by
qwen3.6-35b-a3b-ud-q6_k_xl, and the setup takes the port-handling findings from
#3029 into account (the suite pins one port for config, server and
bench call and kills any stale engine before every step, so no run can accidentally measure a leftover server).
Speed only — no correctness or recall check was run. Main new results:
--mmap-expertscombined withSTRATA_SH_STREAM=0is the fastest decode on this APU for both Flash-Nextquants: unsloth-ud-iq4_xs chat decode 34.3 → 38.5 tok/s (+12.2 %), and with
--pool-workers 639.6 tok/s(+15.5 %); iq3_xxs 34.7 → 39.4 tok/s (+13.5 %), best agent decode 44.7 tok/s. Note
docs/STRIX_HALO.mdlistsSTRATA_SH_STREAM=1as the gfx1151 default (it paid +1.8 % / +6.7 % on 0.1.40) — on 0.1.45 turning it offmeasured clearly faster, so the per-PC calibration or the doc may want a look.
worse than iq3_xxs and coder-iq1_m then) and now measures 643–665 tok/s — as fast as the other models. Prompt
speed is still strongly model-dependent: qwen3.6-35B falls from 596 tok/s (4K) to 373 tok/s (32K) while both
Flash-Next quants stay flat at 620–665.
agent conversation-cache hit is 0 % (30k tokens re-read per session, per-turn TTFT grows to ~27 s) while both
Flash-Next packs hit ~68.7 % — looks specific to this arch/model path, details below.
nothing in "shared GPU memory" (0.9 GiB) while process RAM is nearly full (41.5 GiB) — see
shared-memory placement idea.
Hardware and software
gfx1151), 64 GiB BIOS carve-out seen as VRAM(+ 32 GB shared with system RAM; 108 GB usable by the GPU). No discrete PCIe link — CPU and iGPU share one pool.
477ac13c), engine 0.1.45 prebuilt Windows HIP binary(
engine/BUILD.json: prebuilt, windows-x64, archs incl. gfx1151, ROCm 10.2.0, hipBLASLt 100500), with the#3098 bug fix used locally (not a source build of the engine)
was not controlled and no power limit was set.
Model and configuration
qwen3.8-flash-next-iq3_xxs[IQ3_XXS + PLE file] —Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS-00001-of-00002.gguf(+
-00002as--ple-gguf)qwen3.8-flash-next-unsloth-ud-iq4_xs[UD-IQ4_XS] —Qwen3.8-Flash-Next-UD-IQ4_XS-00001-of-00003.gguf…-00003qwen3.6-35b-a3b-ud-q6_k_xl[UD-Q6_K_XL, archqwen35moe] —Qwen3.6-35B-A3B-UD-Q6_K_XL.gguf(native path,no pack/expert-profile; the file fits resident, no GPU expert cache)
rtdraft layer (--spec 4) for the Flash-Next packs; qwen3.6 native default--mtp 2(one variant--mtp 4).Thinking off, temperature 0 (suite standard). Calibration re-measured per model for this build
(
START-HERE.bat --calibrate); iq3_xxs settled at--pcie-frac 1.00 --spec-min-p 0.70(43.5 tok/s at calibration).STRATA_HIPBLASLT_TUNING=gfx1151-hipblaslt-100500.txt; variants additionally setSTRATA_SH_STREAM=0,STRATA_VERIFY_PROFILE=1.Representative launch commands (full per-variant command in each variant's
config-used.jsonandREADME.md):Method
Same self-written updated suite as #3032 (
suite/strata_suite.py+suite.tomlin the Strata folder): per model it runsSTART-HERE.batsetup and--calibrate, edits the generated config per variant, thenBENCH.bat --long(
tools/strata_bench.py --long): short chat, fresh 4K/16K/32K prompts (unique tag, no cache help, 24 new tokens),5-turn agent session with the conversation cache. 3 runs per test, medians with ranges; engine timings for
prompt/decode, client-measured TTFT. 90 s cooldown between runs; stale engines killed first; all bench calls pass
--configand the same port (finding from #3029), so every variantmeasures its own freshly started server. Suite window: 2026-10-19 22:09 → 2026-10-20 01:12.
Memory is now sampled every 5 s during each run (
memory_samples.csvnext to each variant's data):RAM strata= strata.exe private working set,RAM system= total in-use system RAM,VRAM= dedicated GPUmemory,
shared GPU= shared GPU memory (system RAM mapped for the GPU); the peaks include model load.Results
Ranked by chat decode.
pp= prompt tok/s. Full ranking viewsranking.md/ranking.csv, per-run folders(the generated
README.md+results.json+engine-log-excerpt.txt) andcomparisons/keep the ranges.One configuration did not complete: the first calibration attempt for qwen36-ud-q6_k_xl reported
"calibration: no result" (stored, no values); the three qwen3.6 variants themselves ran OK, without calibration
values applied.
What was better than what (vs. each model's default / equivalent)
--mmap-experts STRATA_SH_STREAM=0--pool-workers 6 --mmap-experts STRATA_SH_STREAM=0--mmap-expertswithSTRATA_SH_STREAM=0vs 1--expert-cache 20000--mtp 4/+--mmap-experts STRATA_SH_STREAM=0STRATA_VERIFY_PROFILE=1/--pool-workers 6without the mmap changes is no longer a win on 0.1.45(iq3_xxs pool-workers variant is 2.8 tok/s below
--mmap-experts STRATA_SH_STREAM=0).STRIX_HALO.mdmarksSTRATA_SH_STREAM=1as the gfx1151 default because it paid on 0.1.40;on this 0.1.45 build the opposite measured (both models). A calibration fork "SH_STREAM off vs on" (as
tools/calibrate.pyalready does for other engines) would decide per PC.Prompt speed is strongly model-dependent
(where it was the slow prefiler: 322–355 tok/s vs 543–615 for iq3_xxs then).
483 at 16K, 373 at 32K (TTFT 85 s for one 32K prompt). Its chat decode is the suite leader (50.5 tok/s),
so this is where this model wants attention.
memory_samples.csv) replaces it — prefill pushed VRAMto ~63 / 50 / 49 GiB (unsloth / iq3_xxs / qwen3.6) with no visible disk activity for the mmap variants.
qwen3.6: conversation cache not hitting
The same 5-turn agent session that the Flash-Next packs answer with a 68.6–68.8 % cache hit (4–73 tokens re-read)
runs on qwen3.6-35b-a3b-ud-q6_k_xl with 0 % reused, ~30,119 tokens re-read per session; per-turn TTFT grows
1.2 → 5.7 → 8.4 → 14.7 → 20.2 → 26.8 s and agent decode sags to 30 tok/s at the last turn. Not measured whether
this is the
qwen35moenative path, the missing pack, or KV handling — reporting the observation only.Possible improvement: shared GPU memory instead of normal RAM
The 0.45 sampler makes the placement visible. Two opposite styles on one memory pool:
--mmap-experts STRATA_SH_STREAM=0On the mmap variant the expert tier lives in ordinary process RAM (page-cache / private allocations) and nearly
compresses the 64 GB OS view (system RAM 57.5 GiB in use), while Windows' "shared GPU memory" — exactly the pool
the GPU can address on this APU — sits almost empty at 0.9 GiB. On the unsloth variant most resident expert data
does go through GPU-visible allocations and process RAM stays at 8.3 GiB.
Suggestion for this platform: when CPU and GPU both touch data (expert pages the CPU assembles/verifies, KV that
could stream, staging buffers), prefer allocating it as shared GPU memory (one
cudaMalloc-managed/mapped pool)instead of process RAM the GPU reaches over a driver mapping — on a unified-memory APU it is the same DRAM, the GPU
path is native, it stops double-counting against the OS memory limit, and it would let the mmap variants use the
shared-GPU pool that is currently idle at ~1 GiB. Worth checking whether the gfx1151 memory tier rules could size
the shared-GPU-backed pool before the plain file-cache tier.
Correctness and limitations
(
changes_bits=falsethroughout).STRATA_SH_STREAMoutput is stated identical either way in the docs — notre-checked here.
absolute values may sit a little low, cross-suite notes (0.44.1 vs 0.1.45, driver may also differ) are
observations, not controlled A/Bs.
--spec-min-pand--pcie-fracare engine defaults.-= not applicable (native path has no GPU expert cache).All raw data (per-request
results.json,memory_samples.csv, engine log excerpts, comparison diffs,suite.toml, calibration files) sits in this folder and can be attached. Happy to add more: needle/recall checks,a controlled same-day A/B SH_STREAM 0 vs 1, a qwen3.6 conversation-cache repro,
--parallel/concurrency runs, ora run with everything closed for a clean baseline — just say what would help.
All results, dmp-files and suite:
benchsuit_0.1.45_gfx1151_windows.zip
@Niko1221 commented on GitHub (Oct 22, 2026):
Thanks — I'll add the Strix Halo gfx1151 suite (0.1.45, --mmap-experts + STRATA_SH_STREAM=0, +12-15% decode) to docs/COMMUNITY_BENCHMARKS.md, with the #3032 follow-up context.
@Niko1221 commented on GitHub (Oct 29, 2026):
Thank you for measuring this and writing it up. We are building a Strata website with a page for community benchmarks, and results like these will be added there when it launches, so we are closing this here. If your numbers change with a new version, you are welcome to post them again.