residency: a page the processor took down four times stays in RAM #255

Manually merged
github merged 1 commit from github-bot/gh-255 into main 2026-12-02 22:38:35 +00:00 AGit
Owner

@⁠prinzjo on GitHub · 2026-12-02 21:54 UTC · original
prinzjo:pr/settled-pages → main · +14 −0 · 1 files · 1 commits · merged 2026-12-02 22:35 UTC

A page the processor takes down four times now stays in the PC's memory.

Problem: a struck page's probation doubled each time but stopped at 51 s. Pages that our texture refreshes (or the title) kept reading therefore went up and down for as long as the game ran, and each time they were read from the card at ~100 MB/s. One session took 39,412 pages down for a touch (11,327 within two seconds of going up), with 5 s windows of 20-30 ms per frame copying.

Results (diagnostics runs, first mission's boat, 150 s of W+A in circles, same save):

before after
copy_ms mean 6.3 1.0
worst 5 s window 35.3 6.6
windows over 10 ms 6 of 30 0
MiB read from the card 3,698 2,189

Frame rate is the same (~26 fps both, in circles). Residency tests pass.

Co-Authored-By: Claude Opus 5.5 [email protected]

**@⁠prinzjo** on GitHub · 2026-12-02 21:54 UTC · [original](https://github.com/lobomfz/VIctory-xmem/pull/255) `prinzjo:pr/settled-pages` → `main` · +14 −0 · 1 files · 1 commits · merged 2026-12-02 22:35 UTC A page the processor takes down four times now stays in the PC's memory. **Problem:** a struck page's probation doubled each time but stopped at 51 s. Pages that our texture refreshes (or the title) kept reading therefore went up and down for as long as the game ran, and each time they were read from the card at ~100 MB/s. One session took 39,412 pages down for a touch (11,327 within two seconds of going up), with 5 s windows of 20-30 ms per frame copying. **Results** (diagnostics runs, first mission's boat, 150 s of W+A in circles, same save): | | before | after | |---|---|---| | copy_ms mean | 6.3 | 1.0 | | worst 5 s window | 35.3 | 6.6 | | windows over 10 ms | 6 of 30 | 0 | | MiB read from the card | 3,698 | 2,189 | Frame rate is the same (~26 fps both, in circles). Residency tests pass. Co-Authored-By: Claude Opus 5.5 <[email protected]>
A struck page's probation doubled each time but stopped at 51 s, so pages
our texture refreshes (or the title) kept reading went up and down for as
long as the game ran, each time read at about 100 MB/s from the card:
session play-1202-2047 took 39,412 pages down for a touch (11,327 within two
seconds of going up), with 5 s windows of 20-30 ms a frame copying.

Diag runs, first mission's boat, 150 s of W+A (circles), same save:
before, copy_ms mean 6.3, worst 5 s window 35.3, 6 of 30 windows over
10 ms, 3,698 MiB read from the card; after, 1.0, 6.6, none, 2,189 MiB.
Frame rate the same (about 26 fps both, in circles).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-02 21:55:16 +00:00
github manually merged commit 39a67fad23 into main 2026-12-02 22:38:35 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.