Skip to content

Qualify cooked scene performance and resource profile #880

Open

Description

@JeanPhilippeKernel

Problem

M2 reconstructs and renders cooked scenes with source-independent startup and transactional replacement. The strict performance and calibrated-resource qualification remains incomplete: an earlier visible macOS Vulkan trace captured a 33.394 ms initial-load frame, and a 1,100-action soak recorded one 124.673 ms GPU cancellation. Their causes are not established. A later cancellation scheduling change and a 100-action sample did not reproduce that cancellation outlier, but do not prove a worst-case bound.

Follow-up scope

  • Investigate and account for the initial-load frame and cancellation outliers without silently weakening the proposed thresholds. Capture matched steady-state and loading traces, including render submission and the cancellation mailbox handoff.
  • Freeze a finite, hardware-specific profile for CPU scene/document/scratch/cache, GPU residency, staging, queues/retirement, load time and cancellation latency. Account for active/candidate overlap, pinned old versions, reserved pools and memory outside the allocator ledger.
  • Verify declared fixture caps and limit-plus-one behavior, including near-limit load and cancellation; measure 30 fresh-process loads and 30 same-process replacements with first-use/warm states, cache conditions and p50/p95/p99/maxima reported.
  • Check the proposed 4 ms aggregate loading-work, 2 ms guarded-commit and 8 ms loader-attributable frame-stall limits against the frozen profile. Retain raw evidence and account for every outlier.
  • Claim rendered qualification only for platforms with actual rendered evidence; leave local Windows execution to the user as agreed.

The approved macOS visual reference, functional recovery checks and bounded runtime admission remain part of M2. This follow-up does not assert that a performance profile is already qualified.

Evidence and detailed limitations: docs/design/future-plan/scene-runtime-m2-profile-candidate.md and tests/scene/evidence/. Parent work: #879

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions