LL perf (Textures/assets): Texture cache I/O pattern and LRU #300
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.
Blocks
Reference
sky_line/Slipstream#300
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?
From the LL-origin inefficiency audit (finding T3). File/line references are from commit
0229f8872c; re-locate them before working.Texture cache I/O pattern and LRU
openAndReadEntryre-reads a 28-byte entry fromtexture.entrieswith open/seek/read/close undermHeaderMutex(:1179, 1232-1238). The entries were loaded at startup and discarded.doReadopens 3 times (:413, 449, 490).texture.entriesevery time (:1196-1228).:1248-1265), somTimeis the first-write time.mLRUis astd::set<LLUUID>, consumed in UUID order rather than age order (:1140-1155, 1538).pread/pwrite; take the body size from the entry.Verify the cost (profile or timer) before and after changing it.
Part of #405 (RAM/VRAM management epic).