[performance] 16 GB PCs: INPLACE and WINDOW_KB cost ~20% fps on an RTX 3060 12 GB, for ~1.5 GB of RAM #489
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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 TaynanGT/Vice-Tay. Originally posted by Indy2l on 2026-12-01T05:14:05Z.
What you see
On a 16 GB PC,
machine_settings(apps/vice-tay/src/play.rs) turns onVICE_TAY_INPLACE=2,VICE_TAY_WINDOW_KB=64andVICE_TAY_WINDOW_TAILS=1. On this PC (RTX 3060 12 GB, 16 GB of RAM), these three cost about a fifth of the frame rate:This is the same kind of finding as #483 (the 64 KiB card-buffer floor), which is applied in all runs below.
Method:
WINDOW_KBINPLACEtitle memory in place: 409 windows 104 MB, 0 title buffers 0 MB. With WINDOW_KB unset, it reports 79 windows and 502 MB, still 0 title buffers. So the cost is the card reading those windows from PC memory over PCIe every frame. The runs are card-bound throughout, with the card 90-94% busy.Memory side:
Suggestion:
CARD_BUFFERS_MBdoes with(10..20).contains(&m.card_gb).Graphics card and driver
NVIDIA GeForce RTX 3060 12 GB, driver 621.40.
Processor, RAM and Windows version
i5-12400F, 16 GB RAM, Windows 11 Home (build 26200), 48 GB fixed page file. From
vice-tay.exe config:Vice-Tay release or commit
65b9beaa, diagnostics build (--profile diag).Settings
vice-tay play --res 4k --dlss off(stock 3840x2160 output, the title's own upscaling).VICE_TAY_BVH_BUILDERunset).--set VICE_TAY_CARD_BUFFERS_MIN_KB=64(#483).--set VICE_TAY_<NAME>=for the unset ones.Logs
I have the play logs of all four runs, plus the per-run memory samples. I can attach any of them here if wanted (about 8 MB each).
Are you working on a fix?
Not yet. It would be the same small change as #483, in
machine_settingsand its tests. Happy to open the PR once you say which card-size cut you'd want, or to run other combinations (e.g. a 1080to1440 matched set).Imported from TaynanGT/Vice-Tay. Originally posted by Indy2l on 2026-12-01T06:27:49Z.
Correction: I only looked at RAM and commit above, not at the card's own memory. With WINDOW_KB unset, a 12 GB card goes over its video memory budget, and in a longer session the device was lost.
The per-run maximum of the "memory now" line (card's own memory in use against its budget) from the same four runs:
INPLACEWINDOW_KBThose were short window stands, so it only showed up as time over budget. Then I played normally with all three unset (release build,
--res 1080to1440, same commit, further into the prologue):device removed ... 0x887A0006at a fence wait.So for a 16 GB PC with a 12 GB card:
I've gone back to all three on for my own play. The suggestion above should be narrowed to INPLACE at most, and only with a longer check of the card's budget first. Sorry for the noise.
AI-assisted: yes