perf(streaming): cursor publication across frame budgets
This commit is contained in:
parent
bb16f74fd4
commit
98f1ac8934
32 changed files with 2215 additions and 823 deletions
|
|
@ -1613,7 +1613,10 @@ port in any phase — no separate listing here.
|
|||
> generation unavailable at the hard reveal edge and freezes its world
|
||||
> simulation/audio while full-window and shared-origin teardown advance through
|
||||
> metered resident, entity, and owner-stage cursors with exact retry receipts.
|
||||
> E4 cursor-budgets publication next. F/G and J retain their explicit approval
|
||||
> E4 now retains the exact accepted queue head and cursor-budgets render,
|
||||
> physics, static, building-registry, EnvCell, collision, and reflood
|
||||
> publication before one observer-atomic spatial swap. E5 destination
|
||||
> reservation/reveal joining is next. F/G and J retain their explicit approval
|
||||
> gates.
|
||||
|
||||
**Spec:** `docs/superpowers/specs/2026-07-05-modern-pipeline-design.md` (the
|
||||
|
|
|
|||
|
|
@ -93,12 +93,14 @@ The separately authorized modern-runtime performance program has completed
|
|||
Slices A–D: corrected measurement, prepared-package bake/dedup, package-only
|
||||
production streaming, and typed unified residency. Its physical capped,
|
||||
uncapped, and dense connected gates pass without a visual-quality change.
|
||||
Slice E0–E3 now define and enforce typed completion admission through explicit
|
||||
Slice E0–E4 now define and enforce typed completion admission through explicit
|
||||
stable priority queues, publish an immediate generation-scoped old-world
|
||||
quiesce at login/portal boundaries, and advance full-window/recenter teardown
|
||||
through exact metered retirement cursors. E4 next makes publication itself
|
||||
cursor-budgeted. Slices F/G remain behind their explicit ECS approval gate, and
|
||||
Slice J remains behind its gameplay-owner approval gate.
|
||||
through exact metered retirement cursors. Render, physics, static, building,
|
||||
and EnvCell publication now resume from retained exact cursors under the same
|
||||
frame budget. E5 destination reservation and reveal-generation joining is
|
||||
next. Slices F/G remain behind their explicit ECS approval gate, and Slice J
|
||||
remains behind its gameplay-owner approval gate.
|
||||
|
||||
Slice 1's 18-cell favorite-spell overflow bar is user-accepted. Slice 2's
|
||||
status hand selected-object availability and existing
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
**Date:** 2026-07-24
|
||||
|
||||
**Status:** Slices A–D complete. Slice E is active (E0–E3 complete).
|
||||
**Status:** Slices A–D complete. Slice E is active (E0–E4 complete).
|
||||
|
||||
**Scope:** Reconcile and sequence the existing Modern Pipeline (`MP`) and
|
||||
Linux/headless (`LH`) tracks using the 2026-07-24 connected performance audit.
|
||||
|
|
@ -728,9 +728,10 @@ checkpoint retained staged or retiring bytes. Evidence:
|
|||
|
||||
**Checkpoint 2026-07-24:** E0 fixed the retail/adaptation contract and current
|
||||
owner inventory. E1 landed the validated work profile, deterministic meter and
|
||||
completion charge model, plus lifecycle-artifact shadow diagnostics while
|
||||
preserving the prior scheduler's execution. E2 is the first enforcement
|
||||
cutover.
|
||||
completion charge model. E2 cut execution over to stable priority FIFOs. E3
|
||||
added immediate generation quiescence and cursored retirement. E4 now advances
|
||||
render/physics/static publication from retained exact receipts; E5 destination
|
||||
reservation and reveal-generation joining is next.
|
||||
|
||||
**Purpose:** Remove update-thread portal transactions.
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
# Modern Runtime Slice E — Cost-budgeted streaming and retirement
|
||||
|
||||
**Status:** active — E0/E1/E2/E3 complete; E4 cursor-budgeted publication next
|
||||
**Status:** active — E0/E1/E2/E3/E4 complete; E5 destination reservation next
|
||||
**Program:** `docs/plans/2026-07-24-modern-runtime-architecture.md`
|
||||
**Baseline:** Slice D closeout commit `66690805`
|
||||
**Behavior contract:** no visual-quality or retail-behavior reduction
|
||||
|
|
@ -325,6 +325,29 @@ valid GPU/FPS evidence.
|
|||
- Feed GPU requested-byte and retirement-operation facts from renderer owners.
|
||||
- Prove every failure resumes the exact unfinished operation without replay.
|
||||
|
||||
**Complete 2026-07-24.** One accepted completion now remains at the exact queue
|
||||
head while `LandblockPresentationPipeline` advances retained render, physics,
|
||||
and static receipts through the frame's single meter. Stable entity/Gfx/building
|
||||
and prior-owner arrays are captured once. Terrain upload bytes are charged at
|
||||
the render owner; physics cells/buildings, static collision/light/plugin work,
|
||||
prior static teardown, shadow reflood, building-registry construction, and
|
||||
EnvCell shell construction advance one bounded operation at a time. Building
|
||||
and EnvCell replacements are prepared off-side and become visible only when
|
||||
complete. Failures retain the unfinished cursor and never replay a committed
|
||||
prefix. Settings/native callbacks can defer policy changes but cannot drain
|
||||
publication outside `StreamingController.Tick`.
|
||||
|
||||
The final `GpuWorldState.MutationBatch` remains one deliberate observer-atomic
|
||||
operation: bucket mutation, render-id ownership, activation, and the outer
|
||||
visibility notification cannot span frames without exposing a partial spatial
|
||||
identity. It is time-metered and named for E6 overrun evidence; all iterable
|
||||
owner work now occurs before it.
|
||||
|
||||
Validation: focused render/building/publication/controller tests passed; the
|
||||
complete App suite passed 3,669 / 3 skipped; the complete Release solution
|
||||
passed 8,152 / 5 skipped; Release solution build green. Physical connected
|
||||
performance and visual evidence remains an E6 gate.
|
||||
|
||||
### E5 — Destination reservation and reveal generation
|
||||
|
||||
- Replace eager `PriorityRadius` execution with destination reservations.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue