Skip to content

Exercise both parallel descriptor sync passes on a 32,768-slot span - #1

Merged
MeMako merged 1 commit into
MeMako:pr/sync-heaps-perffrom
passerbyyhx:test/large-descriptor-sync
Nov 26, 2026
Merged

MeMako merged 1 commit into
MeMako:pr/sync-heaps-perffrom
passerbyyhx:test/large-descriptor-sync

Conversation

@passerbyyhx

@passerbyyhx passerbyyhx commented Nov 26, 2026 •

Copy link
Copy Markdown

This covers the two parallel thresholds discussed in Marvisak#3055, on top of 1a09c6fe. The fixture writes descriptor bytes into 16 aligned, mapped title-heap pages spanning 32,768 slots. It prepares the source descriptors outside the registered heap so that the sync has to discover each change. Two sync passes check rewritten, cleared and retained entries across the worker split, including the last slot.

Temporary instrumentation on WARP and an RTX 4090 Laptop recorded two workers for the dirty-page scan and two for the slot diff on each pass. As separate WARP negative controls, skipping the second worker in either phase failed at slot 16,384. The assertions check the mapped descriptor addresses and retained resources.

The full WARP diagnostics suite passed (249 passed, 2 ignored). All eight descriptor::tests cases passed on the RTX 4090 Laptop. Strict diagnostics Clippy passed. This adds correctness coverage only. Frame-time and throughput still need a separate measurement.

@MeMako
MeMako merged commit f46a59e into MeMako:pr/sync-heaps-perf Nov 26, 2026
@MeMako

MeMako commented Nov 26, 2026

Copy link
Copy Markdown
Owner

Thank you @passerbyyhx! Merged to make sure you get full credit, and verified passing on RX 9070 XT (a_sixteen_page_heap_sync_preserves_sparse_views_at_the_boundaries + strict --all-features clippy).

Per the automated triage on Marvisak/VIctory#3055, I am splitting #3055 into three smaller PRs and switching the parallel passes to crate::texture::in_parallel. Your commit (GPU tests: cover sparse views across sixteen dirty heap pages) is preserved as its own commit with your original authorship in Part 3 (pr/sync-heaps-perf), and passes full workspace CI there as well.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants