Record a longer session, the way to play and the switches tried on an RTX 5080 #364

Open
github-bot wants to merge 2 commits from github-bot/gh-364 into main AGit
Owner

@⁠maximecmb on GitHub · 2026-11-27 19:54 UTC · original
maximecmb:docs/rtx5080-play-notes → main · +77 −2 · 3 files · 2 commits · open

Summary

Documentation only: docs/rtx5080-16gb.md gains what the runs past the opening cutscene showed on the same PC (RTX 5080 16 GB, Ryzen 7 9800X3D, 64 GB, Series S). It builds on 363 and contains its commit; merging 363 first leaves just the documentation here.

  • Memory over a longer session. Two unattended runs of 500 s in the world: private memory 22 GB at one minute, 32 GB at seven, then level; 14 GB left to commit of 67.6 GB at the lowest in one run, 12.5 GB in the other. The layer's own memory line says what grew: windows outside buffers asked for without a length (2.3 to 5.3 GB), the lists' scratch memory, its own allocations.
  • Reaching play. Seven and a half minutes of cutscenes without a save; about two minutes with the save the title writes as the prologue begins. How the runs in play were matched (a copy of the data folder and of the warmed cache put back before each run, VICTORY_AB inside the run).
  • Where the time goes in play. The submitting thread works 33 ms of a 34.5 ms frame with the card idle behind it 14 ms; a VICTORY_PROFILE sample of that thread gives the shares.
  • Switches that were tried. Six existing switches changed inside one run each, then the two that looked faster run on their own.

The switches

Opening cutscene, two switches changing every 5 s inside one run, 7 full cycles each, diagnostics build of 225c945, -Machine 4070tisuper. Frame time with the switch on, less with it off:

Switch Frame time Cycles faster
VICTORY_ASK_SPREAD=1 +0.3 ms (± 0.7) 3 of 7
VICTORY_ASK_NORESET=1 +2.5 ms (± 0.8) 1 of 7
VICTORY_PORT_GUARD=1 +1.7 ms (± 0.8) 1 of 7
VICTORY_UP_QUEUE=1 +1.0 ms (± 0.8) 1 of 7
VICTORY_PORT_JOURNAL=1 −1.1 ms (± 0.4) 7 of 7
VICTORY_HELPER_PRIORITY=1 −0.75 ms (± 0.66) 5 of 7

Then recorded runs from one copy of the cache, fps median / p10:

Settings Runs
the preset 28.4 / 22.6 and 27.8 / 23.7
with VICTORY_PORT_JOURNAL=1 28.3 / 24.8
with VICTORY_HELPER_PRIORITY=1 27.9 / 23.4
with both 29.9 / 26.2 and 28.7 / 24.3

Neither switch shows alone across runs what it showed inside one. cores.rs keeps VICTORY_HELPER_PRIORITY off "until another processor measures it": on eight cores of one kind it is within the noise in three ways of measuring (inside a cutscene run, across runs, inside a played run).

What this does not cover

  • One PC. The longer runs are two; the profile is one run with the sampler's own cost in it.
  • The memory figures are with the diagnostics build, which counts allocations.
  • The recordings of the six runs across settings were reviewed (one frame every 5 to 10 s, same picture in all); the in-run comparisons of the first four switches were not recorded.

Verification

cargo test -p xtask (the switches named in the document are read in Rust) and cargo xtask policy pass. No code changes.

🤖 Generated with Claude Code

**@⁠maximecmb** on GitHub · 2026-11-27 19:54 UTC · [original](https://github.com/TaynanGT/Vice-Tay/pull/364) `maximecmb:docs/rtx5080-play-notes` → `main` · +77 −2 · 3 files · 2 commits · open ## Summary Documentation only: `docs/rtx5080-16gb.md` gains what the runs past the opening cutscene showed on the same PC (RTX 5080 16 GB, Ryzen 7 9800X3D, 64 GB, Series S). It builds on 363 and contains its commit; merging 363 first leaves just the documentation here. - **Memory over a longer session.** Two unattended runs of 500 s in the world: private memory 22 GB at one minute, 32 GB at seven, then level; 14 GB left to commit of 67.6 GB at the lowest in one run, 12.5 GB in the other. The layer's own memory line says what grew: windows outside buffers asked for without a length (2.3 to 5.3 GB), the lists' scratch memory, its own allocations. - **Reaching play.** Seven and a half minutes of cutscenes without a save; about two minutes with the save the title writes as the prologue begins. How the runs in play were matched (a copy of the data folder and of the warmed cache put back before each run, `VICTORY_AB` inside the run). - **Where the time goes in play.** The submitting thread works 33 ms of a 34.5 ms frame with the card idle behind it 14 ms; a `VICTORY_PROFILE` sample of that thread gives the shares. - **Switches that were tried.** Six existing switches changed inside one run each, then the two that looked faster run on their own. ## The switches Opening cutscene, two switches changing every 5 s inside one run, 7 full cycles each, diagnostics build of `225c945`, `-Machine 4070tisuper`. Frame time with the switch on, less with it off: | Switch | Frame time | Cycles faster | |---|---|---| | `VICTORY_ASK_SPREAD=1` | +0.3 ms (± 0.7) | 3 of 7 | | `VICTORY_ASK_NORESET=1` | +2.5 ms (± 0.8) | 1 of 7 | | `VICTORY_PORT_GUARD=1` | +1.7 ms (± 0.8) | 1 of 7 | | `VICTORY_UP_QUEUE=1` | +1.0 ms (± 0.8) | 1 of 7 | | `VICTORY_PORT_JOURNAL=1` | −1.1 ms (± 0.4) | 7 of 7 | | `VICTORY_HELPER_PRIORITY=1` | −0.75 ms (± 0.66) | 5 of 7 | Then recorded runs from one copy of the cache, fps median / p10: | Settings | Runs | |---|---| | the preset | 28.4 / 22.6 and 27.8 / 23.7 | | with `VICTORY_PORT_JOURNAL=1` | 28.3 / 24.8 | | with `VICTORY_HELPER_PRIORITY=1` | 27.9 / 23.4 | | with both | 29.9 / 26.2 and 28.7 / 24.3 | Neither switch shows alone across runs what it showed inside one. `cores.rs` keeps `VICTORY_HELPER_PRIORITY` off "until another processor measures it": on eight cores of one kind it is within the noise in three ways of measuring (inside a cutscene run, across runs, inside a played run). ## What this does not cover - One PC. The longer runs are two; the profile is one run with the sampler's own cost in it. - The memory figures are with the diagnostics build, which counts allocations. - The recordings of the six runs across settings were reviewed (one frame every 5 to 10 s, same picture in all); the in-run comparisons of the first four switches were not recorded. ## Verification `cargo test -p xtask` (the switches named in the document are read in Rust) and `cargo xtask policy` pass. No code changes. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Since df01b38 (#344) a submission waits for flights when a read left on
the CPU depends on a copy at its place whose bytes a flight still
writes. The same change lets such a fill read the copy's source on the
card instead, behind VICTORY_PLACED_FILL_REDIRECT=1, which is off by
default: the default has the waits without what avoids most of them.

On an RTX 5080, same preset and cache, 75 s of the opening cutscene:
before #344 no submission was refused by the card steps (1,564 fills a
frame done on the card); at df01b38 and after, 0.26 to 0.30 a frame
were (622 to 672 fills); with the switch, 0.06 (1,045 fills).

In play (the prison, 3,000 draws a frame and more), with the switch
changed every 4 or 5 s inside three runs: 0.67 to 0.71 submissions a
frame refused and waited with it off, 0.12 to 0.14 with it on, and the
frame 1.7 ms shorter (± 0.7; 31 of 42 cycles faster).

scripts\play.ps1 sets the switch where it sets VICTORY_PLACED_ORDER=1:
NVIDIA cards, outside -Safe. docs/rtx5080-16gb.md has the commits, the
runs and the review of their recordings.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
docs/rtx5080-16gb.md gains what the runs past the opening cutscene
showed on this PC:

- memory over 500 s in the world: 22 to 32 GB of private memory, 14 GB
  left to commit of 67.6 GB at the lowest in one run and 12.5 GB in the
  other, and what grew in the layer's own memory line;
- how a launch reaches play: seven and a half minutes of cutscenes
  without a save, two with the save the title writes as the prologue
  begins, and how the runs in play were matched;
- where the submitting thread's time goes in play (VICTORY_PROFILE);
- six existing switches changed inside one run each (VICTORY_AB), and
  the two that looked faster run again on their own: neither holds
  across runs, and VICTORY_HELPER_PRIORITY is within the noise on eight
  cores of one kind.

Documentation only.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 19:56:17 +00:00
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/364/head:github-bot/gh-364'
git switch 'github-bot/gh-364'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-364'
git switch 'github-bot/gh-364'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-364'
git switch 'github-bot/gh-364'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-364'
git switch 'main'
git merge --squash 'github-bot/gh-364'
git switch 'main'
git merge --ff-only 'github-bot/gh-364'
git switch 'main'
git merge 'github-bot/gh-364'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.