Cache sizes: defaults from free disk space, explicit sizes kept, disk-full guard #711
Labels
No labels
amd
avatars
bug
builder
cannot-reproduce
crash
epic
feature
from-viewer
gl-removal
known-limitation
monitoring
parity
perf
platform
priority
critical
priority
high
priority
low
priority
medium
provenance
rendering
rt
status
in-progress
status
testing
status
up-next
triage
ui
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
sky_line/Slipstream#711
Loading…
Add table
Add a link
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?
Part of #715 (cache rewrite epic).
Defaults by free disk space (first run / while the user hasn't set a size; shown and editable in Advanced preferences as today). Starting point:
Interface audit (step 1 of #715): where sizes come from today and the store hooks for this ticket.
Today
CacheSize(clamped 896 MB .. 256 GB)DiskCachePercentOfTotal(assets' share ofCacheSize)SlipstreamGpuTexCacheSizeMB(256 .. 65536)SlipstreamSoundCacheSizeMB(32 .. 4096)RenderVKClusterCacheMBNo cache checks free disk space. Failed writes are dropped per cache: J2C switches the whole cache to read-only and clears it (
setReadOnly(true)+clearCorruptedCache, lltexturecache.cpp:2062). Mesh logs "disk full?" (llmeshrepository.cpp:4363). An asset fetch reportsCACHE_CORRUPT.Slice of the interface
Drop-in plan
After the store core (#708). Sizing code moves out of
LLAppViewer::initCache(llappviewer.cpp:9041) into a small sizing function that feedssetBudgetper group. The J2CclearCorruptedCacheon a failed write disappears with the J2C adapter.