[pr-performance][NVIDIA] Play defaults: send free first and sweep ahead on #36
Loading…
Reference in a new issue
No description provided.
Delete branch "Coder629nx/Darner:darner-two-switches"
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?
What it changes
darner.exe's built-in settings (apps/darner/src/play.rs) andscripts/play-nvidia.ps1now set two existing switches on by default:DARNER_SEND_FREE_FIRST=1— a submission that must wait for earlier card work is split: its first lists, which need nothing from that work, go to the card at once, so the card does not sit idle while the submitting thread prepares the rest.DARNER_SWEEP_AHEAD=1— the once-a-second memory sweep runs while card work is still in flight, instead of first waiting for the card to go idle.Both switches already existed and were off by default. A switch set by hand wins as before, and both stay off outside
darner.exeand the NVIDIA launcher.CARD_STEPS_LEARNandDARNER_LATE_FILLSdeliberately stay off: the ablations of the GitHub defaults PR 4815 measured them at -29.0 % and -21.5 % fps (the learning of late-written pages made the submitting thread wait on the card 20-29 ms a frame more). The README rows for both switches are updated with the measured outcomes.How it was tested
529b49b8with both switches set by hand in the environment — the same effective configuration this PR makes the default (bench by Cyber-Croissant).scripts/bench.ps1, two runs each, two 13-minute in-game drives per run,mainvs both switches on.Checklist
main.docs/asset-policy.md.Checked for overlap
56099d4b88to49e0a6824eTest report from an RTX 5090: both switches on were slower here, with and without hardware ray tracing.
Setup
mainat4a92569f, release build (it also carries the 7-linerayquery.rschange from my callback-marks branch).scripts/play-nvidia.ps1 -NoMenu -Preload: Series X profile, 1440p, DLSS Quality, frame generation off. Window off screen and without focus.DARNER_SEND_FREE_FIRST=1 DARNER_SWEEP_AHEAD=1set by hand.Results, median fps per run
DARNER_HW_RT=1)DARNER_SEND_FREE_FIRSTcut 0.0 submissions a frame, so in those runs onlyDARNER_SWEEP_AHEADcan have made a difference. With ray tracing it cut 3.2 submissions a frame (12.8 lists sent in front).Not tested
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.