Test early recycling of completed relay command lists #144

Closed
TaynanGT wants to merge 447 commits from upstream-pr/144 into main
TaynanGT commented 2026-11-27 04:14:39 +00:00 (Migrated from github.com)

Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-27T04:14:39Z.


Adds an opt-in path to recycle completed command lists and allocators at landing. The recorded objects still wait in the existing retirement queue, and dynamic descriptor slots still go back when their flight lands.

This adapts kyokyotosh’s change to the current descriptor retirement and pool limits. #93 and #138 identify relay as a lead on RDNA2.

On Windows, the three landed-flight tests, the switch documentation test and diagnostics Clippy passed. The RX 6700 XT comparison is pending. Use -More @{VICTORY_RECYCLE_LANDED_EARLY='1'} while keeping relay, revision, driver and save fixed.

<!-- greyfinch-sync:TaynanGT/Vice-Tay:issue:5521088204 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/pull/144). Originally posted by [TaynanGT](https://github.com/TaynanGT) on 2026-11-27T04:14:39Z. --- Adds an opt-in path to recycle completed command lists and allocators at landing. The recorded objects still wait in the existing retirement queue, and dynamic descriptor slots still go back when their flight lands. This adapts [kyokyotosh’s change](https://github.com/kyokyotosh/VIctory-6700XT/commit/f1733477dd84afa6bd4a96ca1615a19235fae666) to the current descriptor retirement and pool limits. #93 and #138 identify relay as a lead on RDNA2. On Windows, the three landed-flight tests, the switch documentation test and diagnostics Clippy passed. The RX 6700 XT comparison is pending. Use `-More @{VICTORY_RECYCLE_LANDED_EARLY='1'}` while keeping relay, revision, driver and save fixed.
Garu667 commented 2026-11-27 05:46:06 +00:00 (Migrated from github.com)

Imported from TaynanGT/Vice-Tay. Originally posted by Garu667 on 2026-11-27T05:46:06Z.


NVIDIA control for this switch: RTX 3080 10 GB, i5-13600K. I applied 0c9600f on main 93f3b5f, with a diag build, -Machine 4070 and Series S, in the prison cell, standing.

Each run started from a fresh copy of the same warmed cache and save, alternating off and on. FPS is the median of the last 18 frame lines, about 90 s:

VICTORY_RECYCLE_LANDED_EARLY FPS median lowest ms/frame copying back
off 14.5 14.3 69 34
on 15.4 14.8 65 27
off 14.8 14.1 67 32
on 14.1 4.1 (one dip) 71 34
  • No clear effect on this card. Off averages 14.65 and on 14.75, and the spread between runs is about ±0.4 fps.
  • No device loss and no visible issue in either mode.
  • So on NVIDIA it looks neutral: safe to keep opt-in, with nothing to gain here. The RX 6700 XT result is the one that matters.

🤖 Generated with Claude Code

<!-- greyfinch-sync:TaynanGT/Vice-Tay:comment:7210928846 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/pull/144#issuecomment-7210928846). Originally posted by [Garu667](https://github.com/Garu667) on 2026-11-27T05:46:06Z. --- NVIDIA control for this switch: RTX 3080 10 GB, i5-13600K. I applied `0c9600f` on main `93f3b5f`, with a diag build, `-Machine 4070` and Series S, in the prison cell, standing. Each run started from a fresh copy of the same warmed cache and save, alternating off and on. FPS is the median of the last 18 frame lines, about 90 s: | `VICTORY_RECYCLE_LANDED_EARLY` | FPS median | lowest | ms/frame | copying back | |---|---:|---:|---:|---:| | off | 14.5 | 14.3 | 69 | 34 | | **on** | 15.4 | 14.8 | 65 | 27 | | off | 14.8 | 14.1 | 67 | 32 | | **on** | 14.1 | 4.1 (one dip) | 71 | 34 | - No clear effect on this card. Off averages 14.65 and on 14.75, and the spread between runs is about ±0.4 fps. - No device loss and no visible issue in either mode. - So on NVIDIA it looks neutral: safe to keep opt-in, with nothing to gain here. The RX 6700 XT result is the one that matters. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
TaynanGT commented 2026-11-27 05:49:55 +00:00 (Migrated from github.com)

Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-27T05:49:55Z.


Thanks for alternating the settings from the same cache and save, @Garu667. The 14.65 FPS off and 14.75 FPS on averages are within the run-to-run spread in your RTX 3080 test. I’ll record that as a neutral NVIDIA control, including the one low dip with the switch on.

I’m keeping #144 experimental. The RX 6700 XT still reproduced the reset with early recycling, so the NVIDIA result is a separate control for this switch.

<!-- greyfinch-sync:TaynanGT/Vice-Tay:comment:7210983241 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/pull/144#issuecomment-7210983241). Originally posted by [TaynanGT](https://github.com/TaynanGT) on 2026-11-27T05:49:55Z. --- Thanks for alternating the settings from the same cache and save, @Garu667. The 14.65 FPS off and 14.75 FPS on averages are within the run-to-run spread in your RTX 3080 test. I’ll record that as a neutral NVIDIA control, including the one low dip with the switch on. I’m keeping #144 experimental. The RX 6700 XT still reproduced the reset with early recycling, so the NVIDIA result is a separate control for this switch.
TaynanGT commented 2026-11-30 17:16:43 +00:00 (Migrated from github.com)

Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-30T17:16:43Z.


Superseded: main has moved to a new line of the code (see #468). Whatever is still worth having from this will come back as a new PR on the current main.

<!-- greyfinch-sync:TaynanGT/Vice-Tay:comment:7286009370 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/pull/144#issuecomment-7286009370). Originally posted by [TaynanGT](https://github.com/TaynanGT) on 2026-11-30T17:16:43Z. --- Superseded: `main` has moved to a new line of the code (see #468). Whatever is still worth having from this will come back as a new PR on the current `main`.

Pull request closed

Sign in to join this conversation.
No reviewers
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
TaynanGT/Vice-Tay!144
No description provided.