[GH-ISSUE #134] Speed report: RX 7900 XTX (gfx1100), Windows 11, 64 GB RAM, model on NVMe - what helped and what didn't #44

Closed
opened 2026-10-29 21:19:40 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @jerem91150 on GitHub (Oct 12, 2026).
Original GitHub issue: https://github.com/mw00/project-maya/issues/134

Sharing my numbers from a single AMD card on Windows, in case they help other Radeon users or the calibrate tool.

Setup: RX 7900 XTX 24GB (gfx1100), Ryzen 9 7900X3D, 64GB DDR5, Windows 11, GLM-5.3-Flash UD-IQ2_XXS on a PCIe 4.0 NVMe, 32K context, one GPU. Every comparison was alternated within the same hour (this PC gets slower over the day, so single runs lie). Decode measured with calibrate_glm.py's Session.rate (3 fresh prompts, 128 tokens, median) unless I say otherwise.

What helps on this box:

  • STRATA_GLM_DISK_QD=16 + STRATA_GLM_READ_CHUNKS=1: 4.27 GB/s off the SSD, vs 1.66 at QD 2.
  • READ_CHUNKS at decode, same engine via strata_tune, 3 rounds: 8 chunks 4.97, 4 chunks 5.76, 2 chunks 6.48, 1 chunk 7.21 tok/s. calibrate_glm.py only tries 4 and 2 (it picked 2), so on Windows it misses the best one. Could it try 1 as well?
  • The gfx1100 hipBLASLt table: 27K prompt in 54.6 s with it, 79.1 s without.
  • 1.0.33 vs 1.0.29, 2 alternated rounds of 12 prompts: 8.2 → 9.6 tok/s (+17%), no crashes. 1.0.34 is at least as fast as 1.0.33 and starts quicker.

What doesn't help here:

  • STRATA_GLM_MV_RDNA=1 (#95): 10.31 / 9.62 vs 10.32 / 9.19 tok/s off. No gain on gfx1100.
  • Prefetch N=1 AT=fetch BLOCKS=4 RANK=2: 7.89 vs 8.72 tok/s off (-10%).
  • --prefill 8192: 27K prompt in 135 s vs about 61 s.
  • calibrate_glm.py picked 3 CPU threads; with the settings above 12 is faster (10.26 vs 9.07 tok/s, same engine, 4 rounds).
  • STRATA_GLM_DISK_READERS=8 (#108): no change on this drive.

7900X3D: the engine inherits the launcher's CPU affinity, so I tried pinning it. V-cache CCD (logical CPUs 0-11) with CPU_LANE=6: 9.61 / 9.16 tok/s, vs 9.46 / 8.46 unpinned with the default 12 threads, and 7.42 / 7.52 on the V-cache CCD with 12 threads. So a few percent at best, and only with one thread per core. Not worth it for most people.

Originally created by @jerem91150 on GitHub (Oct 12, 2026). Original GitHub issue: https://github.com/mw00/project-maya/issues/134 Sharing my numbers from a single AMD card on Windows, in case they help other Radeon users or the calibrate tool. Setup: RX 7900 XTX 24GB (gfx1100), Ryzen 9 7900X3D, 64GB DDR5, Windows 11, GLM-5.3-Flash UD-IQ2_XXS on a PCIe 4.0 NVMe, 32K context, one GPU. Every comparison was alternated within the same hour (this PC gets slower over the day, so single runs lie). Decode measured with `calibrate_glm.py`'s `Session.rate` (3 fresh prompts, 128 tokens, median) unless I say otherwise. What helps on this box: - `STRATA_GLM_DISK_QD=16` + `STRATA_GLM_READ_CHUNKS=1`: 4.27 GB/s off the SSD, vs 1.66 at QD 2. - `READ_CHUNKS` at decode, same engine via `strata_tune`, 3 rounds: 8 chunks 4.97, 4 chunks 5.76, 2 chunks 6.48, 1 chunk 7.21 tok/s. `calibrate_glm.py` only tries 4 and 2 (it picked 2), so on Windows it misses the best one. Could it try 1 as well? - The gfx1100 hipBLASLt table: 27K prompt in 54.6 s with it, 79.1 s without. - 1.0.33 vs 1.0.29, 2 alternated rounds of 12 prompts: 8.2 → 9.6 tok/s (+17%), no crashes. 1.0.34 is at least as fast as 1.0.33 and starts quicker. What doesn't help here: - `STRATA_GLM_MV_RDNA=1` (#95): 10.31 / 9.62 vs 10.32 / 9.19 tok/s off. No gain on gfx1100. - Prefetch `N=1 AT=fetch BLOCKS=4 RANK=2`: 7.89 vs 8.72 tok/s off (-10%). - `--prefill 8192`: 27K prompt in 135 s vs about 61 s. - `calibrate_glm.py` picked 3 CPU threads; with the settings above 12 is faster (10.26 vs 9.07 tok/s, same engine, 4 rounds). - `STRATA_GLM_DISK_READERS=8` (#108): no change on this drive. 7900X3D: the engine inherits the launcher's CPU affinity, so I tried pinning it. V-cache CCD (logical CPUs 0-11) with `CPU_LANE=6`: 9.61 / 9.16 tok/s, vs 9.46 / 8.46 unpinned with the default 12 threads, and 7.42 / 7.52 on the V-cache CCD with 12 threads. So a few percent at best, and only with one thread per core. Not worth it for most people.
Author
Owner

@mw00 commented on GitHub (Oct 12, 2026):

Thank you - alternated measurements like these are exactly what makes such a list trustworthy. Two findings point at the tuning (--calibrate) itself:

  • Disk reads in one piece: the tuning tries 4 and 2 pieces against the engine's 8; on your Windows box 1 piece was the fastest (7.21 against 6.48 tok/s at 2). Worth adding 1 to what it tries.
  • 3 CPU threads where 12 were faster: the tuning picks the threads before it picks the disk-read size, so it measured them while decode was still waiting on the slower reads - when the SSD sets the pace, fewer threads look as good. Measuring the disk reads first, or the threads again after them, should fix that.

Both are noted for the next version. Your other results - no gain from MV_RDNA=1 on gfx1100, prefetch costing ~10%, --prefill 8192 slower, DISK_READERS=8 no change, pinning to the V-cache CCD worth a few percent at most - match what we'd expect and will help other Radeon users. This issue stays open until the tuning changes land.

<!-- gh-comment-id:6125985490 --> @mw00 commented on GitHub (Oct 12, 2026): Thank you - alternated measurements like these are exactly what makes such a list trustworthy. Two findings point at the tuning (`--calibrate`) itself: - **Disk reads in one piece:** the tuning tries 4 and 2 pieces against the engine's 8; on your Windows box 1 piece was the fastest (7.21 against 6.48 tok/s at 2). Worth adding 1 to what it tries. - **3 CPU threads where 12 were faster:** the tuning picks the threads *before* it picks the disk-read size, so it measured them while decode was still waiting on the slower reads - when the SSD sets the pace, fewer threads look as good. Measuring the disk reads first, or the threads again after them, should fix that. Both are noted for the next version. Your other results - no gain from `MV_RDNA=1` on gfx1100, prefetch costing ~10%, `--prefill 8192` slower, `DISK_READERS=8` no change, pinning to the V-cache CCD worth a few percent at most - match what we'd expect and will help other Radeon users. This issue stays open until the tuning changes land.
Author
Owner

@mw00 commented on GitHub (Oct 23, 2026):

Thank you for testing every knob so carefully on the 7900 XTX under Windows - several of these findings went into later releases. This one is from v1.0.x and a lot has changed since; if you measure a current release, we'd be glad to see a fresh report. Closing as a report.

<!-- gh-comment-id:6360578785 --> @mw00 commented on GitHub (Oct 23, 2026): Thank you for testing every knob so carefully on the 7900 XTX under Windows - several of these findings went into later releases. This one is from v1.0.x and a lot has changed since; if you measure a current release, we'd be glad to see a fresh report. Closing as a report.
Sign in to join this conversation.
No labels
pull-request
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
mw00/project-maya#44
No description provided.