[pr-performance][memory][frame-generation] Share the texture loading reserve with buffer copies #52
Loading…
Reference in a new issue
No description provided.
Delete branch "SmallDevBigNothing/Darner:codex/fg-reserve-overlap"
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?
Refs #1
What it changes
The texture park’s loading reserve already includes copies of title buffers. Subtracting the buffer reserve from that lower target counted those copies twice. On a 4,640 MiB budget, a 2,300 MiB loading reserve and 835 MiB for buffer copies sent the 3,711 MiB admission target down to the 1,024 MiB floor.
Apply both limits to the original target and use the lower result. The buffer-copy limit still applies after the loading reserve settles.
How it was tested
34a3ba1against4a92569. Both built withcargo build --locked --profile diag -p darner.cargo test --locked -p darner-gpu --lib pool::tests::passed 59 tests, 3 ignored. Both workspace Clippy gates passed, including--all-features. The staged asset check passed.f32shader oracle was stopped. A later serial run reproducedwatch::tests::ask_once_by_res_splits_reservations_without_refusals, also seen onmain.With the 4,640 MiB limit, the park kept 640 MiB of local texture blocks in both patch runs, up from 256 MiB on
main. The fixed-camera worst frame went from 161 to 102 ms. The two scripted patch runs had late pipeline waits with worst frames of 3.53 s and 7.10 s. The warmer native repeat had no frames over 250 ms on either revision. Peak shared memory in that repeat fell from 3,534 to 3,392 MiB. Average FPS varied across the runs.Checklist
main.docs/asset-policy.md.Checked for overlap
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.