mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #2361] gfx1100 (RX 7900 XTX): measurements of the two new default-ON 0.1.44 paths — STRATA_COMMIT_BATCH (sub-noise here) and the arena huge-page gate (never fires on a normal restart) #953
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#953
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 @xyzzing on GitHub (Oct 14, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/2361
0.1.44 turned two behaviours on by default that are on the gfx1100 (RDNA3) path, and neither carries a gfx1100 number: the batched commit graph (
STRATA_COMMIT_BATCH, measured in6f3e3810on gfx1201) and the expert-arena huge-page gate (src/core/pinned.cu, the fix from #2126). Since this box runs a gfx1100 port (forkxyzzing/Strata, branchrefresh-0144= v0.1.44.1 + the fork's replayed commits) as its daily driver, I measured both. Short version: both defaults are safe here, and neither shows a measurable steady-state effect.Setup. Engine
0.1.44.1-7d4356d7, RX 7900 XTX (gfx1100), Ryzen 9 7900X, 96 GB DDR5, ROCm 10.2 nightly SDK. Production-shaped args and env (IQ3_S native pack,--kv int8,--spec 5,--prefill 8192,--expert-cache auto,--lookup-chain 2,STRATA_ROUTE_TAIL_SKIP=7,STRATA_SELECT_WMMA/HIP_WMMA/SH_STREAM=1). Arms: shipped defaults;STRATA_COMMIT_BATCH=0;STRATA_ARENA_THP=1;STRATA_NO_ARENA_THP=1; both. Cells: 1K x4 and 128K x2 per arm, interleaved and reversed, one engine per cell, production stopped for the window.Metric. Decode tok/s is not usable for this: it equals tokens-per-round / ms-per-round, and tokens-per-round follows speculative acceptance, which follows the trajectory (in the immediately preceding window on one binary, two 1K cells read 2.53 vs 2.87 tokens/round -> 65.53 vs 90.79 tok/s, 38%). I gate on ms per verify round, and check the window-size mix — because that mix moves it too (see below).
1.
STRATA_COMMIT_BATCH— no measurable effect on gfx1100.The 1K cells fall into exactly two trajectory states, and the mix alone swings ms/round ~10%:
The naive median over all four reps reads +5.11% for
=0, but that compares different mixes. At matched mix the arms are indistinguishable:=028.14 / 28.27=035.83 / 35.90; prefill 2152.4 vs 2151.1 tok/sSo the batched commit is not a regression here, and the 1.7 ms commit-graph saving from
6f3e3810does not surface as a measurable share of a ~28–36 ms verify round on this card. That is a bound (sub-noise), not a measured zero.2. The arena huge-page gate — it never fires on this box.
The gate reads
free_huge_bytes()from/proc/buddyinfo(order>=9) at arena setup, before the arena is allocated — so it sees the state after the previous instance freed its memory, not the state while an engine runs. On this host the consequence is that the restrictive branch is essentially never taken:transparent huge pages requested (MADV_HUGEPAGE)transparent huge pages NOT requestedoccurs 0 times in the entire 75,438-line engine logusing 4 KB pageslines are at log lines 215/263/308, from long-superseded versionsSo for a 96 GB box with a 46.84 GiB arena, the gate is insurance for the case #2126 describes (an overlapping start with memory still held), not something a normal restart hits. Measured consequence of the branch it would take, using
STRATA_NO_ARENA_THP=1to force 4 KB:So the branch taken normally (THP) is the faster one, and the fallback costs a few seconds — cheap insurance, not a performance problem.
Noise floor.
STRATA_ARENA_THP=1measured +1.13% ms/round while changing nothing at all in this window (base already got THP), and the forced-4 KB arm +1.27% while changing only the page strategy. So ±1.3% is this setup's resolvable floor, and every steady-state number above sits inside it.Not claimed. I did not reproduce the #2126 compaction stall itself — it needs a machine where free 2 MiB blocks are below arena/2 at setup while still fitting the arena, which this measurement window cannot produce. All numbers are one binary on one host; no cross-engine claim.
Happy to re-run any arm, add reps, or hand over the raw per-cell logs and the A/B script if that is useful. Port notes, gate trail and records live in the fork's
GFX1100.md.@Niko1221 commented on GitHub (Oct 19, 2026):
Thanks for taking the time to report this.
We're resetting the tracker for 0.2.0-beta. There are more than 1,300 open issues and pull requests, too many for us to read properly, so we're closing everything that isn't being worked on right now. Closed here does not mean rejected.
To reopen it takes about two minutes:
/reopen. A check runs and either reopens the issue or lists what is still missing.The rules are in CONTRIBUTING.md.