perf(hle): split large xmem physical-page pools into 64 MiB sections #418

Merged
Androtim merged 3 commits from upstream-pr/418 into main 2026-12-04 03:47:15 +00:00
Androtim commented 2026-12-04 02:32:49 +00:00 (Migrated from github.com)

Imported from Androtim/MiniVI. Originally posted by Androtim on 2026-12-04T02:32:49Z.


Summary

Wave 6B port of verified \GPL-3.0\ upstream wins:

  1. Ported: \ReTerryDavis/ReVIctory\ PR #3\ (\7f2fcea, GPL-3.0) — \crates/victory-hle/src/modules/xmem.rs\
    • Splits large physical-page allocations (> 256 MiB) into \64 MiB\ host pagefile-backed sections (\VICTORY_SECTION_MB, default \64; \
<!-- greyfinch-sync:Androtim/MiniVI:issue:5638958554 --> Imported from [Androtim/MiniVI](https://github.com/Androtim/MiniVI/pull/418). Originally posted by [Androtim](https://github.com/Androtim) on 2026-12-04T02:32:49Z. --- ## Summary Wave 6B port of verified \GPL-3.0\ upstream wins: 1. **Ported: \ReTerryDavis/ReVIctory\ PR \#3\ (\7f2fcea\, GPL-3.0)** — \crates/victory-hle/src/modules/xmem.rs\ - Splits large physical-page allocations (\> 256 MiB\) into \64 MiB\ host pagefile-backed sections (\VICTORY_SECTION_MB\, default \64\; \
Androtim commented 2026-12-04 03:02:31 +00:00 (Migrated from github.com)

Imported from Androtim/MiniVI. Originally posted by Androtim on 2026-12-04T03:02:31Z.


Triage (a6e81eb1, CI check PASS):

  • Clean, 100% title-neutral single-file port of ReVIctory #3 (+422/-44 in crates/victory-hle/src/modules/xmem.rs, zero opt-in toggles — VICTORY_SECTION_MB defaults to 64 with =0 kill-switch): splits > 256 MiB physical-page pools into 64 MiB host sections to bound Windows per-section view-list lock contention and allow freed pages to return to Windows commit.
  • Holding auto-merge for Gate 2 Audit (#282) (specifically verifying the 185 MiB 32-bit heap stays a single section, cross-section boundary map/unmap/alias splits, and zero handle leaks) + Gate 3 live plain---release 1440p/4K GPU A/B.
<!-- greyfinch-sync:Androtim/MiniVI:comment:7399624284 --> Imported from [Androtim/MiniVI](https://github.com/Androtim/MiniVI/pull/418#issuecomment-7399624284). Originally posted by [Androtim](https://github.com/Androtim) on 2026-12-04T03:02:31Z. --- Triage (`a6e81eb1`, **CI `check` PASS**): - Clean, 100% title-neutral single-file port of `ReVIctory` `#3` (`+422/-44` in `crates/victory-hle/src/modules/xmem.rs`, **zero opt-in toggles** — `VICTORY_SECTION_MB` defaults to `64` with `=0` kill-switch): splits `> 256 MiB` physical-page pools into `64 MiB` host sections to bound Windows per-section view-list lock contention and allow freed pages to return to Windows commit. - Holding auto-merge for **Gate 2 Audit (`#282`)** (specifically verifying the 185 MiB 32-bit heap stays a single section, cross-section boundary map/unmap/alias splits, and zero handle leaks) + **Gate 3 live plain-`--release` 1440p/4K GPU A/B**.
Sign in to join this conversation.
No reviewers
No labels
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.

Reference
Androtim/MiniVI!418
No description provided.