perf(streaming): quiesce retired generations and budget teardown
Publish the retail blocking-for-cells edge before deferred recenter work, freeze old-world presentation/simulation/audio, and advance full-window retirement from exact metered entity and owner cursors. This removes synchronous portal teardown without allowing retained owners to remain observable.
This commit is contained in:
parent
b8f6317fe1
commit
bb16f74fd4
38 changed files with 1691 additions and 170 deletions
|
|
@ -1605,13 +1605,16 @@ port in any phase — no separate listing here.
|
|||
> and dense-Arwic physical routes passed; third-visit cache residence was
|
||||
> non-growing and no checkpoint retained staged or retiring bytes. [Residency
|
||||
> report](../research/2026-07-24-slice-d-unified-residency-report.md). Slice E
|
||||
> cost-budgeted streaming/retirement is active. E2 has replaced the flat
|
||||
> cost-budgeted streaming/retirement is active. E2 replaced the flat
|
||||
> deferred list, count-only throttle, priority hunt, and unload bypass with one
|
||||
> typed-meter scheduler over explicit stable destination/control/unload/Near/
|
||||
> Far queues; production prices worker results before adoption and lifecycle
|
||||
> artifacts expose exact backlog/retained-byte facts. E3 next adds immediate
|
||||
> old-generation quiesce and cursored retirement. F/G and J retain their
|
||||
> explicit approval gates.
|
||||
> artifacts expose exact backlog/retained-byte facts. E3 now makes the old
|
||||
> 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
|
||||
> gates.
|
||||
|
||||
**Spec:** `docs/superpowers/specs/2026-07-05-modern-pipeline-design.md` (the
|
||||
umbrella design — read it first). **Goal:** smoothness first (no frame over
|
||||
|
|
|
|||
|
|
@ -93,10 +93,12 @@ 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–E2 now define and enforce typed completion admission through explicit
|
||||
stable priority queues; E3 adds immediate old-generation quiesce and cursored
|
||||
retirement next. Slices F/G remain behind their explicit ECS approval gate,
|
||||
and Slice J remains behind its gameplay-owner approval gate.
|
||||
Slice E0–E3 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.
|
||||
|
||||
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/E1 complete).
|
||||
**Status:** Slices A–D complete. Slice E is active (E0–E3 complete).
|
||||
|
||||
**Scope:** Reconcile and sequence the existing Modern Pipeline (`MP`) and
|
||||
Linux/headless (`LH`) tracks using the 2026-07-24 connected performance audit.
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
# Modern Runtime Slice E — Cost-budgeted streaming and retirement
|
||||
|
||||
**Status:** active — E0/E1/E2 complete; E3 quiesce and budgeted retirement next
|
||||
**Status:** active — E0/E1/E2/E3 complete; E4 cursor-budgeted publication 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
|
||||
|
|
@ -288,6 +288,35 @@ E6; the active desktop was RDP and is not valid performance evidence.
|
|||
- Prove no old generation ticks, emits, collides, targets, or renders while its
|
||||
retained memory converges.
|
||||
|
||||
**Complete 2026-07-24.** `WorldGenerationQuiescence` now publishes the hard
|
||||
login/portal edge through one generation-scoped availability state owned by
|
||||
`WorldRevealCoordinator`. The edge withdraws world drawing, picking/radar
|
||||
spatial queries, target selection, object/static animation, PhysicsScript time,
|
||||
particle/effect progression, liveness, spatial reconciliation, and owner-tagged
|
||||
3-D audio while network/event/command, portal presentation, UI, streaming, and
|
||||
destination readiness continue. A superseding reveal remains continuously
|
||||
quiescent and only its exact generation can reopen the world; canonical live
|
||||
records and readiness state remain retained, so the mechanism does not
|
||||
synthesize Hidden/UnHide or rebuild server identity.
|
||||
|
||||
Full-window and shared-origin retirement are now retained frame transactions.
|
||||
Generation invalidation, worker-inbox clearing, accepted-payload release,
|
||||
region clearing, stable resident capture, and landblock detachment all resume
|
||||
from exact cursors through the frame's single `StreamingWorkMeter`.
|
||||
`LandblockRetirementCoordinator` preserves stable FIFO order and advances one
|
||||
entity or one owner stage per reservation across scripts, classifications,
|
||||
lighting, translucency, plugin projection, terrain, physics, cell visibility,
|
||||
building registries, and environment cells. Failures retry the exact unfinished
|
||||
entity/stage without replaying committed work. A landblock detach remains one
|
||||
named indivisible spatial boundary; its complete entity count is charged before
|
||||
the operation.
|
||||
|
||||
Validation: 51 focused reveal/quiescence/retirement tests passed; the complete
|
||||
App suite passed 3,666 / 3 skipped; the complete solution passed 8,148 / 5
|
||||
skipped; Release solution build green. The physical connected performance and
|
||||
visual gate remains deferred to E6 because the active desktop is RDP and is not
|
||||
valid GPU/FPS evidence.
|
||||
|
||||
### E4 — Cursor-budgeted publication
|
||||
|
||||
- Move stable ordered arrays/cost facts into retained receipts.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue