Document when the constants port and 4 KiB guard pages help #560

Open
github-bot wants to merge 1 commit from github-bot/gh-560 into main AGit
Owner

@⁠tavochivix on GitHub · 2026-12-03 12:03 UTC · original
tavochivix:codex/issue-532-memory-readme → main · +2 −1 · 1 files · 1 commits · open

The current switch table describes a 12 GB card where accessing the constants heap in system memory made frames slower. In #532, a Ryzen 7 5700X and RTX 4070 SUPER did less CPU copy work and gained FPS in CPU-limited free play. The updated entry gives both measurements so readers can decide which configuration to test.

The second entry shows how to enable 4 KiB guard-page tracking in the launcher. On a Ryzen 5 5600X and RTX 5070 Ti, it reduced refresh copies from 108 to 29 MiB per frame in matched bridge intervals with the constants port off. Four further runs of the same opening sequence on unmodified main (7dbcdcb) averaged 22.39 FPS with default tracking and 25.06 FPS with 4 KiB tracking (+11.9%). Measurements and test conditions

Both options already exist in the default branch and are off by default. The two edits are in the README switch table.

Checked the option names and defaults against the public source, the launcher syntax against the existing examples, and the numbers against the linked measurements.

**@⁠tavochivix** on GitHub · 2026-12-03 12:03 UTC · [original](https://github.com/readmet3xt-lab/foxhound/pull/560) `tavochivix:codex/issue-532-memory-readme` → `main` · +2 −1 · 1 files · 1 commits · open The current switch table describes a 12 GB card where accessing the constants heap in system memory made frames slower. In [#532](https://git.gtahub.st/github/readmet3xt-lab--foxhound/issues/532), a Ryzen 7 5700X and RTX 4070 SUPER did less CPU copy work and gained FPS in CPU-limited free play. The updated entry gives both measurements so readers can decide which configuration to test. The second entry shows how to enable 4 KiB guard-page tracking in the launcher. On a Ryzen 5 5600X and RTX 5070 Ti, it reduced refresh copies from 108 to 29 MiB per frame in matched bridge intervals with the constants port off. Four further runs of the same opening sequence on unmodified `main` (`7dbcdcb`) averaged 22.39 FPS with default tracking and 25.06 FPS with 4 KiB tracking (+11.9%). [Measurements and test conditions](https://git.gtahub.st/github/readmet3xt-lab--foxhound/issues/532) Both options already exist in the default branch and are off by default. The two edits are in the README switch table. Checked the option names and defaults against the public source, the launcher syntax against the existing examples, and the numbers against the linked measurements.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-03 12:06:28 +00:00
Author
Owner

@⁠BrenoMazini on GitHub · 2026-12-03 12:53 UTC · original

Thanks for writing this up. One request on the VICTORY_PORT_CONSTANTS entry: please drop the sentence "In CPU-limited free play on a Ryzen 7 5700X and RTX 4070 SUPER, median FPS rose from 13.0 to 17.8."

That figure comes from my report in #532, and it doesn't hold up. In a controlled run on that PC, with the configurations alternated, the port alone gives about the same frame rate as the defaults. The limit moves from the processor to the card, as on your machine. I'm preparing a full set of runs with numbers, including GUARD_PAGES=1, and will post them in #532.

The GUARD_PAGES entry and the rest of the change look right to me.

**@⁠BrenoMazini** on GitHub · 2026-12-03 12:53 UTC · [original](https://github.com/readmet3xt-lab/foxhound/pull/560#issuecomment-7378995761) Thanks for writing this up. One request on the `VICTORY_PORT_CONSTANTS` entry: please drop the sentence "In CPU-limited free play on a Ryzen 7 5700X and RTX 4070 SUPER, median FPS rose from 13.0 to 17.8." That figure comes from my report in #532, and it doesn't hold up. In a controlled run on that PC, with the configurations alternated, the port alone gives about the same frame rate as the defaults. The limit moves from the processor to the card, as on your machine. I'm preparing a full set of runs with numbers, including `GUARD_PAGES=1`, and will post them in #532. The `GUARD_PAGES` entry and the rest of the change look right to me.
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/560/head:github-bot/gh-560'
git switch 'github-bot/gh-560'

Merge

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