Buffers: small upload and shared buffers placed in blocks (VICTORY_SMALL_BUFFER_POOL; from mandy) #547
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!547
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-547"
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?
@voiceovarian1-max on GitHub · 2026-12-03 09:43 UTC · original
voiceovarian1-max:port-small-buffers→main· +607 −4 · 4 files · 1 commits · openUpload and shared buffers of up to 4 MiB are placed in 64 MiB blocks made once (pool/small.rs),
each piece given back once its submissions have run (pool.rs give_at), instead of each being a
committed allocation of its own. On by default; VICTORY_SMALL_BUFFER_POOL=0 as before.
Ported from ProjectLeonida/mandy 0a2c75d84 and b759677d8 (NotRexed), after
trustno1-coder/VIctory-NVIDIA 95509b9; GPL-3.0(-or-later).
What is in it
crates/victory-gpu/src/host.rs| 10 +crates/victory-gpu/src/host/prof.rs| 2 +-crates/victory-gpu/src/pool.rs| 27 +-crates/victory-gpu/src/pool/small.rs| 572 +++++++++++++++++++++++++++++++++++Tested
cargo check --workspace --tests --lockedonmain7dbcdcb: no errors, no warnings.Not tested
AI use
Claude Code with Claude Opus 5.5 ported this from mandy, resolved its conflicts with this tree and wrote this description.
🤖 Generated with Claude Code
@voiceovarian1-max on GitHub · 2026-12-03 10:04 UTC · original
Combined test of this PR with #521, #543 and #544-#556, all merged onto
main7dbcdcb(branch fox-all of voiceovarian1-max/foxhound):cargo test --workspace --locked -- --test-threads=4: 1,415 passed, 0 failed, 50 ignored (29 binaries), noSKIPPED.VICTORY_KEYS, no input from the PC): window scene 38-42 fps against 34-37 formainon the same boot; no device removal, no crash; a burst of 67 pictures showed no one-picture flicker of the character's clothes.Tested by Claude Code with Claude Opus 5.5 on the hardware named.
@tillo88 on GitHub · 2026-12-04 03:40 UTC · original
Replay-bench measurement on v0.8.3.5: no measurable fps difference; less free system memory in all 4 runs
Measured: PR head
725623dmerged onto release v0.8.3.5 (5e44415), with the PR's defaults (VICTORY_SMALL_BUFFER_POOLon), 4 measured runs in two separate jobs (each after a warm-up run that is not counted), against 7 runs of v0.8.3.5 without the PR, same route (~6.5 min).Mean fps: release 36.88, PR 36.85 (-0.1%): no measurable difference. CPU prep and p99 are inside the release's range, frames over 100 ms were 13-18 against 12-17; the median frame was 28.68 ms on average against 28.21 ms, at the top of the release's range (27.80-28.70) in 3 runs and just above it in one (29.00 ms).
What did differ in every run: the lowest value of the layer's periodic "physical memory free" line during the route. It was 4,229 / 3,913 / 4,265 / 4,235 MB in the 4 PR runs, against 5,158-6,093 MB in the 7 release runs. The free memory at start was the same (about 21 GB of 32 GB). It is not unique to this PR: on the same night one run of another PR went down to 3,979 MB and the other jobs (other PRs and tester options) stayed between 4,786 and 5,474 MB. So the low point is consistently about 1-2 GB lower with this PR, but how much of that is the PR and how much is the machine's state cannot be told from these runs.
Crashes: none in the PR runs and none in the release runs (no host GPU failure, no device lost).
Config: RTX 5070 Ti 16 GB, Ryzen 7 9800X3D, 32 GB, Windows 11; default
play-foxhound.ps1settings (Series X profile, 1440p, DLSS balanced, no frame generation), fullscreen, no frame cap.Measured unattended on a replay bench (same save, recorded controller input); numbers and text prepared with Claude.
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.