Repository navigation
Conversation
|
Native Windows/Intel verification of #1920 (7cb6962) together with #1926, on main b0f3d39 plus local integration fixes:
Combined integration, not an isolated A/B of this PR. No successful retail load or performance improvement claimed. The full existing_heap fixture still has a pre-existing first-render-target device-loss failure on this Intel setup, reproduced before these changes; the focused cases above were run separately. No game data included. AI-assisted with OpenAI Codex. |
7cb6962 to
c088fd5
Compare
|
Retail data for this path, from the RT-TITLE-WINDOW-RETIRE work (RTX 5080, NVIDIA 621.24, Windows 11, The bug, measured. 15-minute run with What bounding alone does. With extents bounded by the free span in both views (the same rule as this PR), overlaps and orphans went to 0, but a request whose bytes run past the free span gets a mapping shorter than itself: What held. Giving such a request one mapping over the request plus every window it reaches (each taken whole, in both views, the replaced windows retired after the next submission), and having That work is on |
DadaCap identified the short-mapping case in the review of PR ubiquitarianism#1920. Reuse and allocation now require full coverage, preserving both live aliases when a request spans a boundary.
c088fd5 to
d78b0e9
Compare
|
@DadaCap Thanks for measuring the overlaps and catching the short mapping. I rebased #1920 onto Please open On Windows 11 / MSVC with an RTX 5070 (610.88), all eight focused CTests passed, including the new synthetic seam cases and window write-back. The two portable tests also passed with GCC/UBSan. Vulkan validation layers were unavailable on this machine. AI-assisted. |
|
@lixonik thanks, will do. I'm porting the covering, retirement and write-back changes onto |
|
@lixonik the follow-up is open: #2465 ( |
|
Short A/B of this PR against main on one machine: same recipe, same pipeline cache folder, only the runtime executable changes (my recipe-diff tool reports exactly one difference). n=1 per side. One run per side, so this is not conclusive. Reading (marked):
Limits: one machine, one run per side, short recipe. AI-assisted (Claude Code, Claude Opus 5.5) |
|
Follow-up to my RUN above, with more runs on the same machine (RTX 4060 8 GB, NVIDIA 610.88, Windows 11, main ec91d69, same short recipe and same warm cache folder):
(*) read from that run's log at 19:05 and also recorded by my stop guard; the log was later removed by a disk cleanup on my side. Two later runs without #1920 also entered the world at 165 s. So the 30 s earlier world entry I reported for #1920 is within what this machine shows across runs, and I do not attribute it to the PR. The display stop is the same with and without #1920. n=1 per row; I have not repeated #1920 itself. AI-assisted (Claude Code, Claude Opus 5.5) |
Claimed in the coordination issue as: RT-STREAM-POOL-KEEP-VA-ALIASES
What and why
A stream-pool extent was checked for an existing mapping at its first byte. A live mapping could start later on either side of the pair. Publishing the entire extent then evicted that mapping, even if the new request only needed the free area before it. The runtime now limits new extents to the intersection of the CPU and GPU gaps. Registration checks both sides under one lock and publishes the pair together. Reusing the other view's mapping also stops at the next live range.
If a competing mapping appears while the copy is allocated, that mapping takes precedence. The unused backing follows the device's existing allocation lifetime.
This is on the stream-pool path reported during world start. The effect on a retail boot has not been measured.
Tested
title_va_alias_test,title_window_plan_testandtitle_window_plan_bounds_testpassed. The new overlap assertion failed against the original alias table.title_va_alias_testandtitle_window_plan_bounds_testpassed.python -I -B scripts/run_semantic_tests.py tests/semantic: 6,261 tests across 489 files, zero failures.GPUs tested: n/a (synthetic CPU tests)
AI-assisted.
Checklist
mainand merges cleanly.