Refresh helpers awake through a submission; a frame's texture pass within a cap #13
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/readmet3xt-lab--foxhound!13
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/13/head"
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?
@Dastano on GitHub · 2026-11-27 17:35 UTC · original
Dastano:texbudget-hot→main· +71 −0 · 2 files · 4 commits · closed without mergingTwo switches, both off by default in code and on in
scripts/play-foxhound.ps1.VICTORY_PASSES_HOT=<us>: wakes the threads that spread a submission's refreshes at the submission's start, and an idle one waits awake for the next pass up to that many microseconds instead of sleeping. Only when work starts changes, not what is done. Launcher:1.VICTORY_TEXSPK_PASS_MS=<ms>: caps a frame's runs of the pass over textures picked by index in total (its own and the early run; runs before a bake are exempt). The slots left wait for the next frame. A texture may show a frame later in a streaming burst. Launcher:8.Measurements
RTX 4090 + Ryzen 9 7950X3D, DLSS Quality, walking route through the first boat mission:
1), 30 fps cap: longest frame walking 525 -> 145 ms, 29.1 -> 29.3 fps.Longer
VICTORY_PASSES_HOTvalues keep cores spinning. The ignored benchmarkwide_tests::pass_overheadshows a pass costing more when more threads are busy than there are cores. That is why it stays off in code.Try it
Run
scripts/play-foxhound.ps1as usual (both on). To compare, use-More @{VICTORY_PASSES_HOT='0'; VICTORY_TEXSPK_PASS_MS='0'}.Tests
shadow::wide_tests::hot_helpers_run_every_job: with the helpers awake, every job still runs once.draw::tests::a_frames_pass_runs_share_the_texspk_cap: later runs get what the cap has left.pass_overheadbenchmark (ignored).🤖 Generated with Claude Code
@readmet3xt-lab on GitHub · 2026-11-27 21:20 UTC · original
Thank you, this is in v0.2.0-pre.4: https://github.com/readmet3xt-lab/foxhound/releases/tag/v0.2.0-pre.4
Both switches went in as you wrote them, with you as co-author on the commit (
3d52ac8). The launcher setsVICTORY_TEXSPK_PASS_MS=8andVICTORY_PASSES_HOT=1, as your script did. On an RTX 4070 SUPER with a Ryzen 7 7800X3D at the 30 fps cap the change is within a few percent (opening cutscenes 36.0 ms mean against 36.3, the first minute of driving 38.7 against 40.2), with no difference in the pictures.main's history was rewritten to a single commit before pre.3, so this branch no longer merges. Closing it as included.Pull request closed