Validate the inputs of the opt-in RAM throttle #147
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/147"
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 TaynanGT on 2026-11-27T04:16:40Z.
Carries the standalone throttle from #96 with checked MiB conversion and bounded waits based on elapsed time. It rejects a configured wait that reaches the reported title watchdog interval.
Four targeted tests and graphics Clippy passed. The original standalone throttle reached the world in zero of six guarded loads on the tested 16 GB laptop. A new hardware run with the watchdog active is still needed.
Imported from TaynanGT/Vice-Tay. Originally posted by nidscode on 2026-11-27T08:16:18Z.
Here are the hardware runs with the watchdog on that this draft asks for, @TaynanGT. They're on the same 16 GB laptop (i7-13700H, RTX 3050 6 GB Laptop GPU, 15.7 GiB usable).
Build: current
main(791648b) with this PR's commit cherry-picked (local1cb7d3c). The one conflict was inshared_buffer, where main now splits create and map. I kept main's version and putram_gate(size)first.Settings:
-Machine laptop(the #145 preset) with-More @{VICTORY_LIST_POOL='0'; VICTORY_OUTPUT='1280x720'; VICTORY_RENDER_SCALE='0.75'}, Series S, windowed. No keep-alive: the title's watchdog is fully active. Each run is 240 s, with scripted Enter presses reaching the story load at 100–115 s. An outside guard stops the game below 400 MB free for 1 s; it didn't trigger in any of these runs.The shader cache was re-translated for
mainbefore these runs (main no longer setsVICTORY_WAVE_WIDE_ONLY). The first run after the update, with a mostly stale cache, is left out.main, no throttlemain, no throttlemain, no throttle ¹VICTORY_RAM_FLOOR_MB=600(wait 250, share 600, no submission wait)VICTORY_RAM_FRAME_WAIT_MS=300VICTORY_RAM_FRAME_WAIT_MS=300+0x23cf683, write to 0x0) 9 s after the world started¹ vt52 was meant as a run of this PR, but my wrapper started
main's build: the log has noRAM throttle online, so it counts as amainrun.What I read from this:
main), and free RAM was no better: it still fell to 46 and 0 MB while buffers waited.mainkeeps about 1 GB free on average in the world, so the throttle has less to do. The measured cost of the buffer waits is higher than their RAM benefit on this machine; the submission wait looks more useful, but two runs don't settle it.Logs:
nv-vt50…nv-vt56(game logs and 1 s memory samples), available locally if you'd like a specific line.🤖 Generated with Claude Code
Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-27T08:20:23Z.
@nidscode Thanks for the watchdog-on runs and for catching vt52. With the list pool off, all three controls crossed world load. Buffer waits crossed twice at 1,059–1,150 ms per frame, compared with 548–881 ms in the controls. The two submission-wait runs split. I’m keeping the throttle experimental and recording the full setup in the laptop notes. I’m also adding the selected executable and its SHA-256 to the launch log so the next A/B can verify both binaries.
Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-30T17:16:37Z.
Superseded:
mainhas moved to a new line of the code (see #468). Whatever is still worth having from this will come back as a new PR on the currentmain.Pull request closed