RX 9060 XT: GPU-bound at ~37–47 ms; barriers/ALU ruled out, memory placement suspected #142

Open
opened 2026-12-02 20:38:08 +00:00 by furkanbulus123 · 0 comments
furkanbulus123 commented 2026-12-02 20:38:08 +00:00 (Migrated from github.com)
Contributor

Imported from eikkapine/jaxe. Originally posted by furkanbulus123 on 2026-12-02T20:38:08Z.


Setup: RX 9060 XT 16 GB (ReBAR on), Ryzen 5 7600, 32 GB DDR5, Win 11, build v2026.11.30.7, series-s tier, Locked 30.

Result: GPU-bound. PresentMon GPU busy 97–100%: ~37 ms standing, ~43–47 ms walking. CPU is not the limit.

What we ruled out (A/B, PresentMon GPU busy):

Experiment Gain
VICTORY_BARRIER_TEST=both (all group + clamp barriers off) ~1 ms
Early depth (DEPTH_BEFORE_SHADER → ForceEarlyDepthStencil, ported from revictory; 919 UAV-writing PS affected) ~0.5–1 ms
v_mul_legacy_f32 as plain fmul (−26% DXIL instructions over all 26k shaders) ~0.8 ms
indirect::bench: windows of 32 already used ~2.5 ms total cost

GPU timing profile is flat (heaviest command 0.76 ms), so shaders are not ALU-bound.

Main suspect: memory placement. Port #1 keeps ~973 MB of title graphics memory in system RAM. Measured on this card:

  • shader read from sysmem: 28 GB/s
  • shader read from VRAM / ReBAR: 190 / 197 GB/s
  • CPU write to ReBAR: 22.6 GB/s (CPU read from ReBAR: 0.04 GB/s)

Suggestion: put the CPU-written, GPU-read regions (constants ring, skinning output) in GPU_UPLOAD (ReBAR) heaps, with CPU reads redirected to a RAM copy. Happy to test builds.

<!-- greyfinch-sync:eikkapine/jaxe:issue:6754042489 --> Imported from [eikkapine/jaxe](https://github.com/eikkapine/jaxe/issues/142). Originally posted by [furkanbulus123](https://github.com/furkanbulus123) on 2026-12-02T20:38:08Z. --- **Setup:** RX 9060 XT 16 GB (ReBAR on), Ryzen 5 7600, 32 GB DDR5, Win 11, build v2026.11.30.7, series-s tier, Locked 30. **Result:** GPU-bound. PresentMon GPU busy 97–100%: ~37 ms standing, ~43–47 ms walking. CPU is not the limit. **What we ruled out (A/B, PresentMon GPU busy):** | Experiment | Gain | |---|---| | `VICTORY_BARRIER_TEST=both` (all group + clamp barriers off) | ~1 ms | | Early depth (`DEPTH_BEFORE_SHADER` → `ForceEarlyDepthStencil`, ported from revictory; 919 UAV-writing PS affected) | ~0.5–1 ms | | `v_mul_legacy_f32` as plain `fmul` (−26% DXIL instructions over all 26k shaders) | ~0.8 ms | | `indirect::bench`: windows of 32 already used | ~2.5 ms total cost | GPU timing profile is flat (heaviest command 0.76 ms), so shaders are not ALU-bound. **Main suspect: memory placement.** Port #1 keeps ~973 MB of title graphics memory in system RAM. Measured on this card: - shader read from sysmem: 28 GB/s - shader read from VRAM / ReBAR: 190 / 197 GB/s - CPU write to ReBAR: 22.6 GB/s (CPU read from ReBAR: 0.04 GB/s) **Suggestion:** put the CPU-written, GPU-read regions (constants ring, skinning output) in `GPU_UPLOAD` (ReBAR) heaps, with CPU reads redirected to a RAM copy. Happy to test builds.
Sign in to join this conversation.
No labels
No milestone
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.

Reference
eikkapine/jaxe#142
No description provided.