Attribute descriptor records that reach the heap outside direct mirroring #1351

Open
opened 2026-11-26 17:37:52 +00:00 by github-bot · 0 comments
Owner

@⁠Marukooh on GitHub · 2026-11-26 17:34 UTC · original

In a diagnostic Series X run on RTX 5070 Ti / Proton, sync_heaps spent 17–32 ms/frame on the submission thread. The measured work included about 7–10 ms reading pages, 3–4 ms comparing records, and 5–25 ms creating host slots. The run produced 15,000–38,000 new host slot records per frame and typically saw about 6,000–7,000 records whose writer could not be attributed by the direct-mirror prototype. Dynamic slot exhaustion was zero.

A worker polling the heap roughly 103 times per frame reduced the submission thread's sync time (about 13.7 → 7 ms), but frame time rose from 107.1 to 112.7 ms in that local comparison. Repeated reads and shared watch locks are worth measuring in any follow-up.

#802 handles when raw byte copies become visible, and #1293 improves page scanning and mirroring. This issue tracks the missing producer attribution needed before replacing any part of the scan. A useful diagnostic counts writes by existing descriptor calls, raw copies and unknown producers, and tests that a copied and immediately consumed record still reaches the host slot. Local measurements predate e4245f3.

**@⁠Marukooh** on GitHub · 2026-11-26 17:34 UTC · [original](https://github.com/fxceless/victory-fork/issues/1351) In a diagnostic Series X run on RTX 5070 Ti / Proton, `sync_heaps` spent 17–32 ms/frame on the submission thread. The measured work included about 7–10 ms reading pages, 3–4 ms comparing records, and 5–25 ms creating host slots. The run produced 15,000–38,000 new host slot records per frame and typically saw about 6,000–7,000 records whose writer could not be attributed by the direct-mirror prototype. Dynamic slot exhaustion was zero. A worker polling the heap roughly 103 times per frame reduced the submission thread's sync time (about 13.7 → 7 ms), but frame time rose from 107.1 to 112.7 ms in that local comparison. Repeated reads and shared watch locks are worth measuring in any follow-up. #802 handles when raw byte copies become visible, and #1293 improves page scanning and mirroring. This issue tracks the missing producer attribution needed before replacing any part of the scan. A useful diagnostic counts writes by existing descriptor calls, raw copies and unknown producers, and tests that a copied and immediately consumed record still reaches the host slot. Local measurements predate e4245f3.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 17:37:52 +00:00
This discussion has been locked. Commenting is limited to contributors.
No milestone
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
github/fxceless--victory-fork#1351
No description provided.