docs(usage): state that the shader cache directory has no size limit #6568
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/6568"
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 xXPBSXx on 2026-10-15T20:57:14Z.
What
The Shader cache section of
docs/user/USAGE.mdsays that subdirectories of other versions are removed after 14 days and that deleting the directory is safe. It does not say that the directory of the current version only grows.housekeeping()incore/shader/recompiler/ShaderDiskCache.cppremoves version directories whoselast-usedis older than 14 days (other than the current one) and.tmp.files older than an hour; no size or entry limit applies to the current version, and the file has no other limit on cache size.Our runs on Windows (
du -sm shader_cachein the run folder after one run): about 4.2 GB after a run of about 250 s (a 10 s window of the log reports 1461.6 MiB of cache writes), about 3.4 GB after 300 s for another title, 34 MB for a small one. The sentence added says so.Tested
Documentation only. The statement is read from
housekeeping()and fromwrite()onmain4eb91eacd; not tested: a run to fill a disk, Linux.Checklist
main; no other open PR implements the same functions (#5875 adds a Pipeline journal section after the Shader cache paragraph; a later rebase may be needed)NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file (no code changed).mdfiles or images added to the repositoryAI-assisted (Claude Code).
🤖 Generated with Claude Code
Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-15T21:03:05Z.
Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.
main)docs/user/USAGE.mdL182Some 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/user/USAGE.mddocs/user/USAGE.mddocs/user/USAGE.mddocs/user/USAGE.mddocs/user/USAGE.mdImported from boykopovar/AnyPS5. Originally posted by xXPBSXx on 2026-10-16T03:33:35Z.
@adriadam10 a short request for review of this documentation PR (one sentence in the Shader cache section of
docs/user/USAGE.md). Head50d8db46eisMERGEABLE/CLEAN, the Conventions, Eligibility and Intake checks are green. The statement is read fromhousekeeping()inShaderDiskCache.cppand backed by the cache sizes of our runs (about 4.2 GB after a 250 s run).AI-assisted (Claude Code).