Per-session download accounting by category (textures, mesh, media, voice, sim) in the log and bug reports #529

Closed
opened 2026-10-07 23:34:34 +00:00 by sky_line · 1 comment
Owner

From #528 (high data usage report): the viewer has no record of how much it downloads, so a report like that can't be answered.

What

Per-session download accounting by category, counted where the bytes arrive:

  • HTTP assets: textures, mesh (header / LOD / skin / physics), other assets (sounds, animations, gestures, notecards, materials), inventory / AIS, caps and event polls, the update check.
  • UDP (LLMessageSystem): total in/out, and the big categories (object updates incl. cache-probe misses, terrain/layer data, image packets if any).
  • Media: CEF / web media (bytes from the plugin if it can report them; otherwise mark as unknown) and voice (WebRTC stats if available).
  • Cache effectiveness: texture cache hits vs network fetches; GPU-ready cache hits; object cache hits / misses / full re-downloads per region (ties in with #528's corrupt object cache files).

Where it shows

  • A summary line in the log every 30 minutes and at exit (DataUsage: totals + per-category MB and rate).
  • In bug reports (the in-viewer report includes the current session's summary).
  • Optionally Help > About or the Statistics bar: "Downloaded this session: X MB".

Done when

  • A long session's log shows totals that add up (HTTP + UDP within a few % of the OS-level count for the process).
  • The bug-report system block includes the summary.
From #528 (high data usage report): the viewer has no record of how much it downloads, so a report like that can't be answered. ## What Per-session download accounting by category, counted where the bytes arrive: - **HTTP assets:** textures, mesh (header / LOD / skin / physics), other assets (sounds, animations, gestures, notecards, materials), inventory / AIS, caps and event polls, the update check. - **UDP (LLMessageSystem):** total in/out, and the big categories (object updates incl. cache-probe misses, terrain/layer data, image packets if any). - **Media:** CEF / web media (bytes from the plugin if it can report them; otherwise mark as unknown) and voice (WebRTC stats if available). - **Cache effectiveness:** texture cache hits vs network fetches; GPU-ready cache hits; object cache hits / misses / full re-downloads per region (ties in with #528's corrupt object cache files). ## Where it shows - A summary line in the log every 30 minutes and at exit (`DataUsage:` totals + per-category MB and rate). - In bug reports (the in-viewer report includes the current session's summary). - Optionally Help > About or the Statistics bar: "Downloaded this session: X MB". ## Done when - A long session's log shows totals that add up (HTTP + UDP within a few % of the OS-level count for the process). - The bug-report system block includes the summary.
sky_line added this to the Slipstream project 2026-10-07 23:34:34 +00:00
Author
Owner

Shipped in a published release and tested; closing (testing-lane sweep 2026-10-11).

Shipped in a published release and tested; closing (testing-lane sweep 2026-10-11).
sky_line 2026-10-11 13:25:09 +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#529
No description provided.