LL perf (Textures/assets): 16 ms retry sleep in LLQueuedThread #299

Closed
opened 2026-10-04 14:09:13 +00:00 by sky_line · 0 comments
Owner

From the LL-origin inefficiency audit (finding T1). File/line references are from commit 0229f8872c; re-locate them before working.

16 ms retry sleep in LLQueuedThread

  • Where: llcommon/llqueuedthread.cpp:476-489.
  • What triggers it: LLTextureFetchWorker::doWork returns false in every wait state:
    • cache read: lltexturefetch.cpp:1254
    • network/retry: :1289, :1371
    • WAIT_HTTP_RESOURCE2, commented "just idle it": :1413
    • HTTP: :1787
    • governor: :1863
    • decode: :1931
    • cache write: :1984
  • Who else is affected: LLTextureCache and LLLFSThread share the base class.
  • Confirmed. M-L, risk M. LL: added in 2022; believed still present.

Verify the cost (profile or timer) before and after changing it.

From the LL-origin inefficiency audit (finding T1). File/line references are from commit 0229f8872c; re-locate them before working. **16 ms retry sleep in `LLQueuedThread`** - **Where:** `llcommon/llqueuedthread.cpp:476-489`. - **What triggers it:** `LLTextureFetchWorker::doWork` returns false in every wait state: - cache read: `lltexturefetch.cpp:1254` - network/retry: `:1289`, `:1371` - `WAIT_HTTP_RESOURCE2`, commented "just idle it": `:1413` - HTTP: `:1787` - governor: `:1863` - decode: `:1931` - cache write: `:1984` - **Who else is affected:** `LLTextureCache` and `LLLFSThread` share the base class. - Confirmed. M-L, risk M. LL: added in 2022; believed still present. Verify the cost (profile or timer) before and after changing it.
sky_line added this to the Slipstream project 2026-10-06 15:04:13 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
sky_line/Slipstream#299
No description provided.