Document when the constants port and 4 KiB guard pages help #560
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/560"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from readmet3xt-lab/foxhound. Originally posted by tavochivix on 2026-12-03T12:03:25Z.
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 conditionsBoth 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.
Imported from readmet3xt-lab/foxhound. Originally posted by BrenoMazini on 2026-12-03T12:53:27Z.
Thanks for writing this up. One request on the
VICTORY_PORT_CONSTANTSentry: 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_PAGESentry and the rest of the change look right to me.View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.