perf(agc): let the storage image cache take up to half of the heap budget #10044

Merged
JJenkx merged 4 commits from upstream-pr/10044 into main 2026-10-24 05:23:07 +00:00
JJenkx commented 2026-10-23 06:07:21 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by JJenkx on 2026-10-23T06:07:21Z.


What

The storage image cache's budget is what the reported heap budget leaves after three things: the heap's use outside the texture caches, the live sampled textures, and an eighth of the budget. That result is then capped at the smaller of TextureCacheBudget (a quarter of the heap, at least 2 GiB) and a quarter of the budget. On an 8 GB GPU, the quarter caps bind first, at about 1.5-1.7 GiB, even when the budget formula leaves far more.

Echoes of the End (PPSA25636) needs about 3.5-4 GiB of storage images in play. With the quarter caps it re-creates them all the time. In gameplay, with the default budgets, it evicted about 2000 storage images (about 22 GiB) every 10 s, and re-created and re-uploaded them on their next use. The technical debt entry for the budgets describes this case: "a title whose storage working set exceeds the shrunk budget re-creates storage images at each use".

This PR changes only the caps, to half of the heap's size and half of the reported budget. The reserve is unchanged: the other use, the live sampled textures and the eighth of the budget are still kept out. The 512 MiB floor and the fallback without VK_EXT_memory_budget are also unchanged. A heap under pressure therefore still shrinks the storage cache as before. The higher cap applies only when the budget has room.

Tested

  • storageTextureBudgetTests is revised on purpose:
    • Expectations that pinned the quarter now expect the half.
    • The pressure sweep checks the new caps (half of the budget above the floor, half of the heap).
    • The sweep keeps its other invariants: the floor, monotonic shrinking as non-cache use grows, and no live sampled memory or eighth of headroom taken.
  • Current head 9904c737ca (adds the sampled-budget storage reservation from review). Exact-head gate: main 1b5efcc8d9 16/16; this PR with the new reservation reverted 15/16, failing only "a storage image cache larger than TextureCacheBudget was not reserved in full"; this PR 16/16. 4 layer insertions and 0 VUIDs per arm. Details: https://github.com/boykopovar/AnyPS5/pull/10044#issuecomment-6377087529. The joint sweep asserts that above the floors neither cache budget plus the other cache's held bytes exceeds the reported budget less its eighth.
  • Earlier focused Vulkan gate (head before the review fix), same build directory and command for every arm. Command: ANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1 VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation VK_LOADER_DEBUG=layer ctest -V -j1 -R '^(agc_driver_graphics|agc_sparse_.*|agc_heap_mirror_.*|agc_host_import.*)$'. Machine: Linux 7.2.9, RX 6650 XT, RADV (Mesa 26.2.4).
    • Results:

      arm head result validation layer inserted VUIDs
      main b7a451d62b 15/15 4 tests 0
      main + this PR's test file only b7a451d62b + tests/Graphics.cpp from the change 14/15: agc_driver_graphics fails with "a 10 GiB budget on the 16 GiB heap does not limit the storage image cache to half of the budget" 4 tests 0
      this PR 92b3bf8f8b (the same source and tests as the head a2f89cad59, whose later commit only condenses the debt entry) 15/15 4 tests 0

      Every arm prints only the two existing Windows guest-arena skips ("heap mirrors not tested", "heap mirrors of imported ranges not tested").

  • Echoes of the End (PPSA25636), same machine. The title needs open PRs to reach play (#8089, #4449, #8091, #8908, #9551, #9652). The arms are the same integration tree without this change (e3f17c7043) and with it (52893755e9), in one build directory. Both carry private diagnostic commits; none of them is part of this PR.
    • Each arm starts from the same seed (the save in play, the shader caches and a private Mesa cache) and gets the same scripted input. Capture: APS5_TRACE_SECONDS=1150:300, a static scene in play.

    • The reported heap budget is pinned. The VK_EXT_memory_budget heap budget varies by about 1 GiB from run to run on this machine, with other VRAM users, and moves the storage budget as much as the cap does. So a private override, APS5_DIAG_HEAP_BUDGET_MIB (not part of this PR), sets the value both budget functions read. The device's real memory use is not pinned.

      pinned budget order arm storage budget, median presents frame p50 ms GPU busy ms/present
      6900 MiB 1st without 1725 MiB 288 982.5 454.3
      6900 MiB 2nd with 2769 MiB 363 813.4 368.0
      6900 MiB, repeat 1st with 2781 MiB 436 670.6 358.1
      6900 MiB, repeat 2nd without 1725 MiB 352 775.0 434.0
      6300 MiB 1st with 1928 MiB 293 1031.3 445.6
      6300 MiB 2nd without 1575 MiB 282 1002.1 495.1
    • At 6900 MiB this change gives about 1 GiB more storage budget, +24-26 % presents, -13 to -17 % frame p50 and -17 to -19 % GPU busy, in both orders. Other workers' compilations overlapped the first pair's "without" arm; the repeat is clean.

    • At 6300 MiB the reserve, not the cap, limits the storage cache. The difference is within noise. This change helps only where the budget has room above a quarter.

    • 0 amdgpu kernel events in every arm. Both traces of the repeat dropped some queue-worker events, so their phase totals are partial.

    • Summary JSON lines of the repeat pair (without, with):

{"commit":"e3f17c704367","dirty":false,"env":{"APS5_DIAG_HEAP_BUDGET_MIB":"6900","APS5_PAD_INPUT_FILE":"<path>","APS5_TRACE_DIR":"<path>","APS5_TRACE_SECONDS":"1150:300","APS5_TRACE_STORAGE_EVICTIONS":"1"},"gpu":"AMD Radeon RX 6650 XT (RADV NAVI23)","driver":"radv Mesa 26.2.4-arch1.1","os":"Linux 7.2.9-arch1-1","cpu":"AMD Ryzen 9 7950X 16-Core Processor","cpu_threads":32,"memory_mib":127901,"title_id":"PPSA25636","title":"Echoes of the End","content_version":"01.012.000","resolution":"3840x2160","window":{"spec":"seconds 1150:300","first_present":1364,"ms":300087.277},"presents":352,"frame_ms":{"p50":775.028,"p90":1154.740,"p99":1301.805,"max":1403.409},"gpu_busy_ms_per_present":433.975,"worker_busy_pct":{"queue worker 0x0":99.723,"queue worker 0x20":97.974},"top_phases_ms_per_frame":{"Driver.Packet":1666.043,"Driver.Packet.dispatch":772.816,"Driver.Dispatch":709.540,"Driver.Packet.memory_wait":532.812,"Resources.Complete":458.329,"Vulkan.Dispatch":426.743,"Vulkan.Dispatch.shader_resources":416.452,"Graphics.Draw":135.628},"trace_dropped":true,"trace_dropped_threads":{"queue worker 0x0":{"events_full_after_s":27.402,"events_lost":2866049,"totals_full":false},"queue worker 0x20":{"events_full_after_s":100.531,"events_lost":510424,"totals_full":false}},"trace":"aps5-trace-e3f17c704367-4045031.json.gz"}
{"commit":"52893755e950","dirty":false,"env":{"APS5_DIAG_HEAP_BUDGET_MIB":"6900","APS5_PAD_INPUT_FILE":"<path>","APS5_TRACE_DIR":"<path>","APS5_TRACE_SECONDS":"1150:300","APS5_TRACE_STORAGE_EVICTIONS":"1"},"gpu":"AMD Radeon RX 6650 XT (RADV NAVI23)","driver":"radv Mesa 26.2.4-arch1.1","os":"Linux 7.2.9-arch1-1","cpu":"AMD Ryzen 9 7950X 16-Core Processor","cpu_threads":32,"memory_mib":127901,"title_id":"PPSA25636","title":"Echoes of the End","content_version":"01.012.000","resolution":"3840x2160","window":{"spec":"seconds 1150:300","first_present":2087,"ms":300438.095},"presents":436,"frame_ms":{"p50":670.574,"p90":824.048,"p99":955.553,"max":1028.867},"gpu_busy_ms_per_present":358.077,"worker_busy_pct":{"queue worker 0x0":99.629,"queue worker 0x20":97.404},"top_phases_ms_per_frame":{"Driver.Packet":1339.948,"Driver.Packet.dispatch":642.094,"Driver.Dispatch":585.365,"Driver.Packet.memory_wait":397.702,"Vulkan.Dispatch":300.833,"Resources.Complete":299.066,"Vulkan.Dispatch.shader_resources":289.410,"Recorder.Submit":120.745},"trace_dropped":true,"trace_dropped_threads":{"queue worker 0x0":{"events_full_after_s":20.381,"events_lost":3772368,"totals_full":false},"draw committer":{"events_full_after_s":244.882,"events_lost":58767,"totals_full":false},"queue worker 0x20":{"events_full_after_s":79.566,"events_lost":731583,"totals_full":false}},"trace":"aps5-trace-52893755e950-3489203.json.gz"}
  • Superseded: the first unpinned pair (296 -> 557 presents) and an alternating four-arm repeat. Both were confounded by the reported budget, which was 485-640 MiB higher in every "with" arm; see the comments.

  • Traces, digests and comparisons: https://github.com/JJenkx/AnyPS5/releases/tag/storage-half-evidence

  • Independent, attributed, limited: @Rajkamalcode measured Squirrel with a Gun (PPSA22102) on an RTX 3070 8 GB under Windows. The base is an old one that runs the title, not current main. They used their own pinned 6900 MiB budget and one quarter -> half pair:

    • storage budget 1725 -> 3450 MiB;
    • storage images created 42,150 -> 3,000;
    • creation CPU 44,672 -> 2,471 ms.

    They make no frame-rate claim, because of long zero-present intervals, and their free-running A/B was inconclusive because the reported budget moved by several GiB. Details: https://github.com/boykopovar/AnyPS5/pull/10044#issuecomment-6369594293

  • Diagnostic-only occupancy runs (private overrides): with a 4096 MiB storage budget, Echoes in play held about 4077 MiB of storage images, with 250 MiB of sampled textures and about 2.2 GiB outside both caches. Its storage working set is about 3.5-4 GiB.

Checklist

  • Based on current main; no other open PR implements the same functions. #6194 grows the storage budget while it evicts, but keeps at least 2 GiB of headroom, so on this 8 GB GPU near its budget it does not grow.
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file (no unimplemented path added)
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source (not applicable)
  • Generic behaviour, not specific to one title
  • Depends on: none
  • Fixes: none
  • Unblocks: PPSA25636 (performance)
  • GPUs tested: AMD Radeon RX 6650 XT, RADV Mesa 26.2.4, Linux 7.2.9
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4978611193 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/10044). Originally posted by [JJenkx](https://github.com/JJenkx) on 2026-10-23T06:07:21Z. --- ### What The storage image cache's budget is what the reported heap budget leaves after three things: the heap's use outside the texture caches, the live sampled textures, and an eighth of the budget. That result is then capped at the smaller of `TextureCacheBudget` (a quarter of the heap, at least 2 GiB) and a quarter of the budget. On an 8 GB GPU, the quarter caps bind first, at about 1.5-1.7 GiB, even when the budget formula leaves far more. Echoes of the End (PPSA25636) needs about 3.5-4 GiB of storage images in play. With the quarter caps it re-creates them all the time. In gameplay, with the default budgets, it evicted about 2000 storage images (about 22 GiB) every 10 s, and re-created and re-uploaded them on their next use. The technical debt entry for the budgets describes this case: "a title whose storage working set exceeds the shrunk budget re-creates storage images at each use". This PR changes only the caps, to half of the heap's size and half of the reported budget. The reserve is unchanged: the other use, the live sampled textures and the eighth of the budget are still kept out. The 512 MiB floor and the fallback without `VK_EXT_memory_budget` are also unchanged. A heap under pressure therefore still shrinks the storage cache as before. The higher cap applies only when the budget has room. ### Tested - `storageTextureBudgetTests` is revised on purpose: - Expectations that pinned the quarter now expect the half. - The pressure sweep checks the new caps (half of the budget above the floor, half of the heap). - The sweep keeps its other invariants: the floor, monotonic shrinking as non-cache use grows, and no live sampled memory or eighth of headroom taken. - **Current head `9904c737ca`** (adds the sampled-budget storage reservation from review). Exact-head gate: `main` `1b5efcc8d9` 16/16; this PR with the new reservation reverted 15/16, failing only "a storage image cache larger than TextureCacheBudget was not reserved in full"; this PR 16/16. 4 layer insertions and 0 VUIDs per arm. Details: https://github.com/boykopovar/AnyPS5/pull/10044#issuecomment-6377087529. The joint sweep asserts that above the floors neither cache budget plus the other cache's held bytes exceeds the reported budget less its eighth. - Earlier focused Vulkan gate (head before the review fix), same build directory and command for every arm. Command: `ANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1 VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation VK_LOADER_DEBUG=layer ctest -V -j1 -R '^(agc_driver_graphics|agc_sparse_.*|agc_heap_mirror_.*|agc_host_import.*)$'`. Machine: Linux 7.2.9, RX 6650 XT, RADV (Mesa 26.2.4). - Results: | arm | head | result | validation layer inserted | VUIDs | |---|---|---|---|---| | main | `b7a451d62b` | 15/15 | 4 tests | 0 | | main + this PR's test file only | `b7a451d62b` + `tests/Graphics.cpp` from the change | 14/15: `agc_driver_graphics` fails with "a 10 GiB budget on the 16 GiB heap does not limit the storage image cache to half of the budget" | 4 tests | 0 | | this PR | `92b3bf8f8b` (the same source and tests as the head `a2f89cad59`, whose later commit only condenses the debt entry) | 15/15 | 4 tests | 0 | Every arm prints only the two existing Windows guest-arena skips ("heap mirrors not tested", "heap mirrors of imported ranges not tested"). - Echoes of the End (PPSA25636), same machine. The title needs open PRs to reach play (#8089, #4449, #8091, #8908, #9551, #9652). The arms are the same integration tree without this change (`e3f17c7043`) and with it (`52893755e9`), in one build directory. Both carry private diagnostic commits; none of them is part of this PR. - Each arm starts from the same seed (the save in play, the shader caches and a private Mesa cache) and gets the same scripted input. Capture: `APS5_TRACE_SECONDS=1150:300`, a static scene in play. - **The reported heap budget is pinned.** The VK_EXT_memory_budget heap budget varies by about 1 GiB from run to run on this machine, with other VRAM users, and moves the storage budget as much as the cap does. So a private override, `APS5_DIAG_HEAP_BUDGET_MIB` (not part of this PR), sets the value both budget functions read. The device's real memory use is not pinned. | pinned budget | order | arm | storage budget, median | presents | frame p50 ms | GPU busy ms/present | |---|---|---|---|---|---|---| | 6900 MiB | 1st | without | 1725 MiB | 288 | 982.5 | 454.3 | | 6900 MiB | 2nd | with | 2769 MiB | 363 | 813.4 | 368.0 | | 6900 MiB, repeat | 1st | with | 2781 MiB | 436 | 670.6 | 358.1 | | 6900 MiB, repeat | 2nd | without | 1725 MiB | 352 | 775.0 | 434.0 | | 6300 MiB | 1st | with | 1928 MiB | 293 | 1031.3 | 445.6 | | 6300 MiB | 2nd | without | 1575 MiB | 282 | 1002.1 | 495.1 | - At 6900 MiB this change gives about 1 GiB more storage budget, +24-26 % presents, -13 to -17 % frame p50 and -17 to -19 % GPU busy, in both orders. Other workers' compilations overlapped the first pair's "without" arm; the repeat is clean. - At 6300 MiB the reserve, not the cap, limits the storage cache. The difference is within noise. This change helps only where the budget has room above a quarter. - 0 amdgpu kernel events in every arm. Both traces of the repeat dropped some queue-worker events, so their phase totals are partial. - Summary JSON lines of the repeat pair (without, with): ``` {"commit":"e3f17c704367","dirty":false,"env":{"APS5_DIAG_HEAP_BUDGET_MIB":"6900","APS5_PAD_INPUT_FILE":"<path>","APS5_TRACE_DIR":"<path>","APS5_TRACE_SECONDS":"1150:300","APS5_TRACE_STORAGE_EVICTIONS":"1"},"gpu":"AMD Radeon RX 6650 XT (RADV NAVI23)","driver":"radv Mesa 26.2.4-arch1.1","os":"Linux 7.2.9-arch1-1","cpu":"AMD Ryzen 9 7950X 16-Core Processor","cpu_threads":32,"memory_mib":127901,"title_id":"PPSA25636","title":"Echoes of the End","content_version":"01.012.000","resolution":"3840x2160","window":{"spec":"seconds 1150:300","first_present":1364,"ms":300087.277},"presents":352,"frame_ms":{"p50":775.028,"p90":1154.740,"p99":1301.805,"max":1403.409},"gpu_busy_ms_per_present":433.975,"worker_busy_pct":{"queue worker 0x0":99.723,"queue worker 0x20":97.974},"top_phases_ms_per_frame":{"Driver.Packet":1666.043,"Driver.Packet.dispatch":772.816,"Driver.Dispatch":709.540,"Driver.Packet.memory_wait":532.812,"Resources.Complete":458.329,"Vulkan.Dispatch":426.743,"Vulkan.Dispatch.shader_resources":416.452,"Graphics.Draw":135.628},"trace_dropped":true,"trace_dropped_threads":{"queue worker 0x0":{"events_full_after_s":27.402,"events_lost":2866049,"totals_full":false},"queue worker 0x20":{"events_full_after_s":100.531,"events_lost":510424,"totals_full":false}},"trace":"aps5-trace-e3f17c704367-4045031.json.gz"} {"commit":"52893755e950","dirty":false,"env":{"APS5_DIAG_HEAP_BUDGET_MIB":"6900","APS5_PAD_INPUT_FILE":"<path>","APS5_TRACE_DIR":"<path>","APS5_TRACE_SECONDS":"1150:300","APS5_TRACE_STORAGE_EVICTIONS":"1"},"gpu":"AMD Radeon RX 6650 XT (RADV NAVI23)","driver":"radv Mesa 26.2.4-arch1.1","os":"Linux 7.2.9-arch1-1","cpu":"AMD Ryzen 9 7950X 16-Core Processor","cpu_threads":32,"memory_mib":127901,"title_id":"PPSA25636","title":"Echoes of the End","content_version":"01.012.000","resolution":"3840x2160","window":{"spec":"seconds 1150:300","first_present":2087,"ms":300438.095},"presents":436,"frame_ms":{"p50":670.574,"p90":824.048,"p99":955.553,"max":1028.867},"gpu_busy_ms_per_present":358.077,"worker_busy_pct":{"queue worker 0x0":99.629,"queue worker 0x20":97.404},"top_phases_ms_per_frame":{"Driver.Packet":1339.948,"Driver.Packet.dispatch":642.094,"Driver.Dispatch":585.365,"Driver.Packet.memory_wait":397.702,"Vulkan.Dispatch":300.833,"Resources.Complete":299.066,"Vulkan.Dispatch.shader_resources":289.410,"Recorder.Submit":120.745},"trace_dropped":true,"trace_dropped_threads":{"queue worker 0x0":{"events_full_after_s":20.381,"events_lost":3772368,"totals_full":false},"draw committer":{"events_full_after_s":244.882,"events_lost":58767,"totals_full":false},"queue worker 0x20":{"events_full_after_s":79.566,"events_lost":731583,"totals_full":false}},"trace":"aps5-trace-52893755e950-3489203.json.gz"} ``` - Superseded: the first unpinned pair (296 -> 557 presents) and an alternating four-arm repeat. Both were confounded by the reported budget, which was 485-640 MiB higher in every "with" arm; see the comments. - Traces, digests and comparisons: https://github.com/JJenkx/AnyPS5/releases/tag/storage-half-evidence - Independent, attributed, limited: @Rajkamalcode measured Squirrel with a Gun (PPSA22102) on an RTX 3070 8 GB under Windows. The base is an old one that runs the title, not current `main`. They used their own pinned 6900 MiB budget and one quarter -> half pair: - storage budget 1725 -> 3450 MiB; - storage images created 42,150 -> 3,000; - creation CPU 44,672 -> 2,471 ms. They make no frame-rate claim, because of long zero-present intervals, and their free-running A/B was inconclusive because the reported budget moved by several GiB. Details: https://github.com/boykopovar/AnyPS5/pull/10044#issuecomment-6369594293 - Diagnostic-only occupancy runs (private overrides): with a 4096 MiB storage budget, Echoes in play held about 4077 MiB of storage images, with 250 MiB of sampled textures and about 2.2 GiB outside both caches. Its storage working set is about 3.5-4 GiB. ### Checklist - [x] Based on current `main`; no other open PR implements the same functions. #6194 grows the storage budget while it evicts, but keeps at least 2 GiB of headroom, so on this 8 GB GPU near its budget it does not grow. - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except [technical debt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed under Silent stubs in their library's [technical debt](https://github.com/boykopovar/AnyPS5/tree/main/docs/dev/debt) file (no unimplemented path added) - [x] No notes, investigation `.md` files or images added to the repository (attach them to this PR) - [x] New third-party code is a submodule built from source (not applicable) - [x] Generic behaviour, not specific to one title - [x] Depends on: none - [x] Fixes: none - [x] Unblocks: PPSA25636 (performance) - [x] GPUs tested: AMD Radeon RX 6650 XT, RADV Mesa 26.2.4, Linux 7.2.9 - [x] AI-assisted: yes
MarcZX10 commented 2026-10-23 06:09:31 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-23T06:09:31Z.

Review: APPROVED


Reviewed exact head 511ef5dd6a92cbb4ce9073497aac07605337d70b. The implementation changes only the storage-cache cap from the prior quarter-budget / quarter-heap-derived cap to min(heap / 2, budget / 2). The existing headroom formula, sampled-texture reservation, pressure response, fallback, and 512 MiB floor remain unchanged. The revised unit cases cover both caps, the pressure floor, monotonic shrinkage under added non-cache use, and the reserved headroom invariant. Current-main sync is clean (1 ahead / 0 behind), git diff --check passes, and hosted eligibility, intake, conventions, labels, and report checks pass. Product build/test jobs are skipped by repository policy.

I could not execute the Vulkan test locally: CMake configuration stops because SDL2 is uninitialized in this checkout and the host lacks XRandR development support. The author reports 15/15 focused Vulkan tests on the rebased patch, including a test-only negative control that fails on main. I downloaded the linked release summaries and traces and reran tools/performance_compare.py; it reproduces the reported 296 to 557 presents, p50 1018.7 to 529.3 ms, and GPU busy 466.6 to 277.7 ms per present. The comparison flags window.first_present as the only recorded configuration difference; the PR explains both measured windows begin in the same static scene. Both traces dropped detailed events, so phase attribution is partial, while the summary frame/GPU metrics remain available. I have not independently run the title or verified the physical scene.

One non-blocking maintainability note: the local conventions checker emits a debt-length warning for the updated texture-budget entry (1,522 characters); the hosted conventions check passes. Trimming it to the essential contract and evidence would clear the warning.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5624582219 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/10044#pullrequestreview-5624582219). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-23T06:09:31Z. **Review:** APPROVED --- Reviewed exact head `511ef5dd6a92cbb4ce9073497aac07605337d70b`. The implementation changes only the storage-cache cap from the prior quarter-budget / quarter-heap-derived cap to `min(heap / 2, budget / 2)`. The existing headroom formula, sampled-texture reservation, pressure response, fallback, and 512 MiB floor remain unchanged. The revised unit cases cover both caps, the pressure floor, monotonic shrinkage under added non-cache use, and the reserved headroom invariant. Current-main sync is clean (1 ahead / 0 behind), `git diff --check` passes, and hosted eligibility, intake, conventions, labels, and report checks pass. Product build/test jobs are skipped by repository policy. I could not execute the Vulkan test locally: CMake configuration stops because SDL2 is uninitialized in this checkout and the host lacks XRandR development support. The author reports 15/15 focused Vulkan tests on the rebased patch, including a test-only negative control that fails on main. I downloaded the linked release summaries and traces and reran `tools/performance_compare.py`; it reproduces the reported 296 to 557 presents, p50 1018.7 to 529.3 ms, and GPU busy 466.6 to 277.7 ms per present. The comparison flags `window.first_present` as the only recorded configuration difference; the PR explains both measured windows begin in the same static scene. Both traces dropped detailed events, so phase attribution is partial, while the summary frame/GPU metrics remain available. I have not independently run the title or verified the physical scene. One non-blocking maintainability note: the local conventions checker emits a debt-length warning for the updated texture-budget entry (1,522 characters); the hosted conventions check passes. Trimming it to the essential contract and evidence would clear the warning.
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
boykopovar/AnyPS5!10044
No description provided.