docs(env): describe the default host import budget as HostImportBudget computes it #7808
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/7808"
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 boykopovar/AnyPS5. Originally posted by parl0v on 2026-10-19T08:21:53Z.
What
The
APS5_HOST_IMPORT_MIBrow indocs/dev/ENVIRONMENT.mdsaid the default was 6144 MiB, that 6144 is the floor, and that an unset value uses the largest host heap minus 2 GiB. None of that matchesHostImportBudgetinGuestBufferMemory.cpp, whichimportBudgetuses when the variable is unset or 0:So 6144 MiB is not a floor (the host heap cap can take the budget below it), and the reserve is the larger of 2 GiB and half the heap, not 2 GiB. The row now says
0selects the budget automatically and gives the formula as the code and its header comment state it, with the value I see on a 16 GB machine.Tested
main46f27623c, Minecraft Dungeons II (PPSA16064) world load with the variable unset: the driver logs[gpu] host import budget: 4055 MiB live of 4055 MiB, below the 6144 MiB the row called the floor.tools/check_conventions.py --base origin/mainpasses.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-19T08:31:32Z.
Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.
docs/dev/ENVIRONMENT.mddocs/dev/ENVIRONMENT.mddocs/dev/ENVIRONMENT.mddocs/dev/ENVIRONMENT.mddocs/dev/ENVIRONMENT.mddocs/dev/ENVIRONMENT.mddocs/dev/ENVIRONMENT.mddocs/dev/ENVIRONMENT.mddocs/dev/ENVIRONMENT.mdImported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-19T17:38:27Z.
Checked the row against
HostImportBudgetandimportBudgetinGuestBufferMemory.cpp: the formula and the0default match; merged.