perf(agc): take a draw snapshot from a kept snapshot that contains it #8756

Merged
milescoviello merged 1 commit from upstream-pr/8756 into main 2026-10-24 16:27:12 +00:00
milescoviello commented 2026-10-20 23:48:02 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by milescoviello on 2026-10-20T23:48:02Z.


What

PrepareDrawBindings copies a guest storage read larger than the upload limit into a draw snapshot buffer. ReusableDrawSnapshot reuses a kept snapshot only when its address and size both match exactly.

Some titles bind a buffer from a moving base to a fixed end, for example a ring of per-draw data read from each draw's base to the end of the ring. Such a title asks for a different range on every draw. CoD BO2 (PPSA34502) does this on its war-room menu: 0x403b00a6f0+2085412, 0x403b00a7d0+2085188 and 0x403b00ea50+2068164 all end at 0x403b207914. Every one of those draws misses:

  • it creates a new buffer of about 2 MiB and copies the whole range into it;
  • it evicts the cache's older entries;
  • it pays the buffer pool's map and unmap churn.

A temporary counter in that path, on #5499's rebased branch (which BO2 needs to get this far), showed about 1,060 new snapshot buffers a second, 2.7 GiB/s, over about 1,000 ranges in 3 s. Almost none were refresh failures; the ranges were simply not in the cache. In a profile of the draw thread, PrepareDrawBindings was 89 % of the thread's samples: freeing buffers (BufferPool::destroy) 35 %, allocating them (Buffer::Buffer) 25 %, and the copy 29 %.

Now, on an exact miss, a storage lookup that passes an offset looks back at up to 16 kept storage snapshots that start at or before the range. It takes the first one that:

  • covers the whole range;
  • starts a multiple of minStorageBufferOffsetAlignment (at least 4) before it;
  • belongs to the current allocation registry;
  • has the requested range unchanged since it was taken (UnchangedSince on the requested range only).

The draw binds that buffer at the offset instead of copying. An exact match still comes first. The vertex and index lookups in Draw.cpp pass no offset, so they still take exact matches only.

The snapshot's bytes in that range equal the guest bytes at the time it was taken. UnchangedSince over the requested range shows that nothing tracked has written them since. That is the same proof an exact hit uses, applied to a sub-range.

Tested

  • Rebased onto main 524398151f, with no conflicts, as head 9b93d38464. The 12 snapshot and kept-bytes tests listed under Suites pass 3 of 3 on Linux (RTX 4070 Ti, 615.71.09, Ubuntu 26.04.1), and conventions are clean. The alternating BO2 runs below used main ab347d144d + 2bdd2d3b9e merged, the same change on a slightly older main.

Ubuntu 24.04 (Linux 6.8), GCC 13.3, NVIDIA RTX 4070 Ti, driver 595.99.02, on main eea640a5bf.

Test. containingSnapshotTests (in --draw-snapshot-cap-only, ctest agc_draw_snapshot_cap, and in the full recorder run) keeps a snapshot over two 64 KiB blocks and checks that:

  • a range inside it, in the second block, comes back as that buffer at its offset, but only when the lookup asks for an offset;
  • a range running past its end, a range at half the offset alignment, and a vertex lookup all get nothing;
  • an exact snapshot of the same range still wins, at offset 0;
  • a CPU store in the first block leaves the second block's range reusable, while a range over the store gets nothing;
  • after a store into the range itself, it gets nothing.

With ReusableDrawSnapshot returning nothing instead of calling containingDrawSnapshot, it fails 3 of 3 at "an unchanged range inside a kept snapshot was not taken from it at its offset". With the change it passes 3 of 3.

Suites.

  • ctest -R '^agc_': 843 of 844 pass. The failure is agc_driver_lookup_log_fits_build, which fails under load on main too (#8601).
  • Validation layer: with the Khronos layer 1.4.363 (runs of main and this branch with VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation ANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1), the 12 snapshot and kept-bytes tests (agc_draw_snapshot_cap, agc_draw_snapshot_epoch, agc_draw_inputs_copied, agc_draw_inputs_in_place, agc_draw_inputs_in_place_driver, agc_driver_large_tracked_snapshot, agc_pending_write_snapshot, agc_shader_table_snapshot_reuse, agc_storage_kept_unit_settle, agc_recorder_kept_bytes, agc_copy_input_kept_bytes, agc_depth_copy_kept_bytes) pass 12 of 12 on both, with no VUID on either.

CoD BO2 (PPSA34502), war-room menu, alternating runs on current code (2026-10-21). main ab347d144d against main + this head 2bdd2d3b9e (merged as 5a49111422), interleaved main, PR, main, PR, main, PR in one session. RTX 4070 Ti, NVIDIA 615.71.09, Ubuntu 26.04.1, 1920x1080, release libraries, warm cache. Both builds carry the same local sceVoiceGetPortAttr patch (the attribute answered 0, as before #9137), so the title passes #9601. Presents per 10 s over the last eight intervals in the menu:

run presents per 10 s mean median frame ms
main 1 9 9 9 9 9 9 9 9 9.0 1150 to 1250
PR 1 39 38 37 38 37 36 33 33 36.4 259 to 308
main 2 11 11 11 11 11 11 11 11 11.0 897 to 986
PR 2 39 40 38 39 39 38 38 38 38.6 250 to 264
main 3 10 10 10 9 9 9 10 9 9.5 1072 to 1171
PR 3 37 35 37 37 37 37 37 37 36.8 265 to 286

The two sides don't overlap in any interval. The queue-0 worker is about 98% busy on main and about 69% with the PR, and GPU busy per present goes from 107 to 79 ms. Summaries (no traces in these runs).

The earlier BO2 and SMB3D results follow.

CoD BO2 (PPSA34502), war-room menu. main alone stops at 15 s on the DB_RENDER_CONTROL depth copy (0x84), so the base here is #5499 rebased on main eea640a5bf (milescoviello:rebase/5499-db-depth-copy, 95ca794b31). The other build adds this PR (merge 76c494418f).

  • Both builds: release libs, warm shader and pipeline caches, the same machine and scene.
  • Two runs per build, with 10 s summaries (APS5_TRACE_SUMMARY_EVERY=10).
  • The second run of each also takes a 30 s trace from 175 s (APS5_TRACE_SECONDS=175:30), inside the menu.

Per 10 s interval in the menu, both runs:

#5499 #5499 + this PR
presents 6 to 8 19 to 32
frame time p50 1320 to 1626 ms 323 to 510 ms
Graphics.Draw per frame 1.0 to 1.6 s 143 to 199 ms

Trace windows, from tools/trace_digest.py:

#5499 #5499 + this PR
presents in 30 s 21 88
frame p50 / p99 1454.4 / 1846.6 ms 334.5 / 515.9 ms
draw committer busy per frame 1290.8 ms (86 %) 134.3 ms (39 %)
GPU busy per present 38.7 ms 31.1 ms

Both traces dropped some events (the digests say dropped: yes). Files:

The two window summary lines:

{"commit":"95ca794b3144","dirty":false,"env":{"APS5_PAD_INPUT_FILE":"<path>","APS5_TRACE_DIR":".","APS5_TRACE_SECONDS":"175:30","APS5_TRACE_SUMMARY_EVERY":"10"},"gpu":"NVIDIA GeForce RTX 4070 Ti","driver":"NVIDIA 595.99.02","os":"Linux 6.8.0-147-generic","cpu":"13th Gen Intel(R) Core(TM) i7-13700K","cpu_threads":24,"memory_mib":32022,"title_id":"PPSA34502","title":"Call of Duty\u00c2\u00ae: Black Ops II","content_version":"01.010.000","resolution":"1920x1080","window":{"spec":"seconds 175:30","first_present":7366,"ms":31330.847},"presents":21,"frame_ms":{"p50":1454.423,"p90":1749.238,"p99":1846.609,"max":1846.609},"gpu_busy_ms_per_present":38.712,"worker_busy_pct":{"queue worker 0x0":95.006},"top_phases_ms_per_frame":{"Driver.Packet":1362.634,"Driver.Packet.draw":1308.267,"Driver.Draw":1306.314,"Graphics.Draw":1305.491,"Graphics.Draw.draw_and_resource_release":1290.930,"Driver.Draw.draw_enqueued":1160.591,"Shader.ResolveAbi":160.218,"Shader.ResolveGraphicsStagesAbi":128.027},"trace_dropped":true,"trace_dropped_threads":{"queue worker 0x0":{"events_full_after_s":27.907,"events_lost":30237,"totals_full":false}},"trace":"aps5-trace-95ca794b3144-3.json.gz"}
{"commit":"76c494418f46","dirty":false,"env":{"APS5_PAD_INPUT_FILE":"<path>","APS5_TRACE_DIR":".","APS5_TRACE_SECONDS":"175:30","APS5_TRACE_SUMMARY_EVERY":"10"},"gpu":"NVIDIA GeForce RTX 4070 Ti","driver":"NVIDIA 595.99.02","os":"Linux 6.8.0-147-generic","cpu":"13th Gen Intel(R) Core(TM) i7-13700K","cpu_threads":24,"memory_mib":32022,"title_id":"PPSA34502","title":"Call of Duty\u00c2\u00ae: Black Ops II","content_version":"01.010.000","resolution":"1920x1080","window":{"spec":"seconds 175:30","first_present":7490,"ms":30110.924},"presents":88,"frame_ms":{"p50":334.454,"p90":426.100,"p99":515.947,"max":515.947},"gpu_busy_ms_per_present":31.103,"worker_busy_pct":{"queue worker 0x0":75.818},"top_phases_ms_per_frame":{"Driver.Packet":254.310,"Driver.Packet.draw":223.632,"Driver.Draw":222.203,"Graphics.Draw":154.148,"Shader.ResolveAbi":145.148,"Graphics.Draw.draw_and_resource_release":143.457,"Shader.ResolveGraphicsStagesAbi":119.041,"Driver.Draw.draw_enqueued":98.137},"trace_dropped":true,"trace_dropped_threads":{"title":{"events_full_after_s":14.503,"events_lost":147698,"totals_full":false},"queue worker 0x0":{"events_full_after_s":6.467,"events_lost":841597,"totals_full":false}},"trace":"aps5-trace-76c494418f46-3.json.gz"}

Before the menu, both builds hold 60 FPS, with p99 frame times of 18 to 20 ms. The window title's frame counter agrees with the summaries: 49 frames in 75 s without this PR, 254 in about 90 s with it (first pair of runs).

The menu is still slow with this PR. In its trace, Shader.ResolveAbi takes about 60 ms per frame summed over the title's five threads, and the draw committer is busy for 39 % of each frame. I haven't traced where the rest of the frame goes.

Super Meat Boy 3D (PPSA31162), level 1-1, as a second title. The builds are main eea640a5bf and this PR on it, with release libs and one shared shader cache. Runs are scripted from the game's own map-load log lines, and each measures 60 s after a 30 s settle. Six runs alternated PR, main, three times, plus two earlier runs of each:

run build presents per 10 s committer per draw other processes' CPU before the run
alternating 1 this PR 30 to 35 31 to 35 us 737 %
alternating 1 main 6 to 8 212 to 232 us 724 %
alternating 2 this PR 6 to 9 179 to 201 us 817 %
alternating 2 main 16 to 19 73 to 86 us 523 %
alternating 3 this PR 14 to 16 86 to 98 us 677 %
alternating 3 main 6 to 7 241 to 282 us 507 %
earlier this PR 9 to 10, and 8 to 9 181 to 200 us
earlier main 16 to 18, and 6 to 7 76 to 88, and 242 to 275 us

The per-draw figures are from the [draw] pipelined lines; the CPU column is top's total for the other processes just before each run.

Both builds land in the same three groups, about 32, 85 and 200 to 280 us per draw. The fastest run was a PR run and the slowest a main run. So this level's cost changes from run to run with something other than this PR, and these runs show no slowdown from it. I haven't found what picks the slow group.

  • Windows 11 Enterprise 26300, NVIDIA GeForce GT 1030 (driver 582.78), WinLibs GCC 15.2.0 r7 (UCRT), Release: the 8 draw snapshot, draw descriptor and draw cache tests pass 3 of 3 on main and 3 of 3 with this change.

  • AMD, Windows: @savvaniss ran the 12 snapshot and kept-bytes tests on an RX 9070 XT (driver 32.0.31041.1004, Windows 11, WinLibs GCC 15.2.0) under the 1.4.363 layer, 3 times each, with head 9b93d38464 merged into main 0cece6ebbc against that main. They pass 12 of 12 on both with no VUID- line, and the containing-snapshot cases ran. With ReusableDrawSnapshot not calling containingDrawSnapshot, agc_draw_snapshot_cap fails 3 of 3 (an unchanged range inside a kept snapshot was not taken from it at its offset).

Not tested: Intel (a 64-byte storage offset alignment would reject some of these offsets), titles other than these two.

Checklist

  • Based on current main; no other open PR implements the same functions
  • 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 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
  • Generic behaviour, not specific to one title
  • Depends on: none (BO2 itself needs #5499 to reach the menu)
  • Fixes: none
  • Unblocks: none
  • GPUs tested: NVIDIA GeForce RTX 4070 Ti, driver 595.99.02, Ubuntu 24.04; NVIDIA GeForce GT 1030, driver 582.78, Windows 11; AMD Radeon RX 9070 XT, driver 32.0.31041.1004, Windows 11 (@savvaniss)
  • AI-assisted: yes (Claude Code)

🤖 Generated with Claude Code

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4944142987 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/8756). Originally posted by [milescoviello](https://github.com/milescoviello) on 2026-10-20T23:48:02Z. --- ### What `PrepareDrawBindings` copies a guest storage read larger than the upload limit into a draw snapshot buffer. `ReusableDrawSnapshot` reuses a kept snapshot only when its address and size both match exactly. Some titles bind a buffer from a moving base to a fixed end, for example a ring of per-draw data read from each draw's base to the end of the ring. Such a title asks for a different range on every draw. CoD BO2 (PPSA34502) does this on its war-room menu: `0x403b00a6f0+2085412`, `0x403b00a7d0+2085188` and `0x403b00ea50+2068164` all end at `0x403b207914`. Every one of those draws misses: - it creates a new buffer of about 2 MiB and copies the whole range into it; - it evicts the cache's older entries; - it pays the buffer pool's map and unmap churn. A temporary counter in that path, on #5499's rebased branch (which BO2 needs to get this far), showed about 1,060 new snapshot buffers a second, 2.7 GiB/s, over about 1,000 ranges in 3 s. Almost none were refresh failures; the ranges were simply not in the cache. In a profile of the draw thread, `PrepareDrawBindings` was 89 % of the thread's samples: freeing buffers (`BufferPool::destroy`) 35 %, allocating them (`Buffer::Buffer`) 25 %, and the copy 29 %. Now, on an exact miss, a storage lookup that passes an offset looks back at up to 16 kept storage snapshots that start at or before the range. It takes the first one that: - covers the whole range; - starts a multiple of `minStorageBufferOffsetAlignment` (at least 4) before it; - belongs to the current allocation registry; - has the requested range unchanged since it was taken (`UnchangedSince` on the requested range only). The draw binds that buffer at the offset instead of copying. An exact match still comes first. The vertex and index lookups in `Draw.cpp` pass no offset, so they still take exact matches only. The snapshot's bytes in that range equal the guest bytes at the time it was taken. `UnchangedSince` over the requested range shows that nothing tracked has written them since. That is the same proof an exact hit uses, applied to a sub-range. ### Tested - **Rebased** onto `main` 524398151f, with no conflicts, as head `9b93d38464`. The 12 snapshot and kept-bytes tests listed under Suites pass 3 of 3 on Linux (RTX 4070 Ti, 615.71.09, Ubuntu 26.04.1), and conventions are clean. The alternating BO2 runs below used `main` ab347d144d + `2bdd2d3b9e` merged, the same change on a slightly older `main`. Ubuntu 24.04 (Linux 6.8), GCC 13.3, NVIDIA RTX 4070 Ti, driver 595.99.02, on `main` eea640a5bf. **Test.** `containingSnapshotTests` (in `--draw-snapshot-cap-only`, ctest `agc_draw_snapshot_cap`, and in the full recorder run) keeps a snapshot over two 64 KiB blocks and checks that: - a range inside it, in the second block, comes back as that buffer at its offset, but only when the lookup asks for an offset; - a range running past its end, a range at half the offset alignment, and a vertex lookup all get nothing; - an exact snapshot of the same range still wins, at offset 0; - a CPU store in the first block leaves the second block's range reusable, while a range over the store gets nothing; - after a store into the range itself, it gets nothing. With `ReusableDrawSnapshot` returning nothing instead of calling `containingDrawSnapshot`, it fails 3 of 3 at "an unchanged range inside a kept snapshot was not taken from it at its offset". With the change it passes 3 of 3. **Suites.** - `ctest -R '^agc_'`: 843 of 844 pass. The failure is `agc_driver_lookup_log_fits_build`, which fails under load on `main` too (#8601). - Validation layer: with the Khronos layer 1.4.363 (runs of `main` and this branch with `VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation ANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1`), the 12 snapshot and kept-bytes tests (`agc_draw_snapshot_cap`, `agc_draw_snapshot_epoch`, `agc_draw_inputs_copied`, `agc_draw_inputs_in_place`, `agc_draw_inputs_in_place_driver`, `agc_driver_large_tracked_snapshot`, `agc_pending_write_snapshot`, `agc_shader_table_snapshot_reuse`, `agc_storage_kept_unit_settle`, `agc_recorder_kept_bytes`, `agc_copy_input_kept_bytes`, `agc_depth_copy_kept_bytes`) pass 12 of 12 on both, with no VUID on either. **CoD BO2 (PPSA34502), war-room menu, alternating runs on current code (2026-10-21).** `main` ab347d144d against `main` + this head `2bdd2d3b9e` (merged as 5a49111422), interleaved main, PR, main, PR, main, PR in one session. RTX 4070 Ti, NVIDIA 615.71.09, Ubuntu 26.04.1, 1920x1080, release libraries, warm cache. Both builds carry the same local `sceVoiceGetPortAttr` patch (the attribute answered 0, as before #9137), so the title passes #9601. Presents per 10 s over the last eight intervals in the menu: | run | presents per 10 s | mean | median frame ms | |---|---|---|---| | main 1 | 9 9 9 9 9 9 9 9 | 9.0 | 1150 to 1250 | | PR 1 | 39 38 37 38 37 36 33 33 | 36.4 | 259 to 308 | | main 2 | 11 11 11 11 11 11 11 11 | 11.0 | 897 to 986 | | PR 2 | 39 40 38 39 39 38 38 38 | 38.6 | 250 to 264 | | main 3 | 10 10 10 9 9 9 10 9 | 9.5 | 1072 to 1171 | | PR 3 | 37 35 37 37 37 37 37 37 | 36.8 | 265 to 286 | The two sides don't overlap in any interval. The queue-0 worker is about 98% busy on `main` and about 69% with the PR, and GPU busy per present goes from 107 to 79 ms. [Summaries](https://github.com/milescoviello/AnyPS5/releases/tag/perf-bo2-8756-ab-2026-10-21) (no traces in these runs). The earlier BO2 and SMB3D results follow. **CoD BO2 (PPSA34502), war-room menu.** `main` alone stops at 15 s on the `DB_RENDER_CONTROL` depth copy (0x84), so the base here is #5499 rebased on `main` eea640a5bf ([`milescoviello:rebase/5499-db-depth-copy`](https://github.com/milescoviello/AnyPS5/tree/rebase/5499-db-depth-copy), 95ca794b31). The other build adds this PR (merge 76c494418f). - Both builds: release libs, warm shader and pipeline caches, the same machine and scene. - Two runs per build, with 10 s summaries (`APS5_TRACE_SUMMARY_EVERY=10`). - The second run of each also takes a 30 s trace from 175 s (`APS5_TRACE_SECONDS=175:30`), inside the menu. Per 10 s interval in the menu, both runs: | | #5499 | #5499 + this PR | |---|---|---| | presents | 6 to 8 | 19 to 32 | | frame time p50 | 1320 to 1626 ms | 323 to 510 ms | | `Graphics.Draw` per frame | 1.0 to 1.6 s | 143 to 199 ms | Trace windows, from `tools/trace_digest.py`: | | #5499 | #5499 + this PR | |---|---|---| | presents in 30 s | 21 | 88 | | frame p50 / p99 | 1454.4 / 1846.6 ms | 334.5 / 515.9 ms | | draw committer busy per frame | 1290.8 ms (86 %) | 134.3 ms (39 %) | | GPU busy per present | 38.7 ms | 31.1 ms | Both traces dropped some events (the digests say `dropped: yes`). Files: - #5499: [trace](https://github.com/milescoviello/AnyPS5/releases/download/perf-bo2-2026-10-20/bo2-5499-aps5-trace-95ca794b3144-3.json.gz), [digest](https://github.com/milescoviello/AnyPS5/releases/download/perf-bo2-2026-10-20/bo2-5499-digest.txt), [summary file](https://github.com/milescoviello/AnyPS5/releases/download/perf-bo2-2026-10-20/bo2-5499-aps5-summary.jsonl) - #5499 + this PR: [trace](https://github.com/milescoviello/AnyPS5/releases/download/perf-bo2-2026-10-20/bo2-5499-pr8756-aps5-trace-76c494418f46-3.json.gz), [digest](https://github.com/milescoviello/AnyPS5/releases/download/perf-bo2-2026-10-20/bo2-5499-pr8756-digest.txt), [summary file](https://github.com/milescoviello/AnyPS5/releases/download/perf-bo2-2026-10-20/bo2-5499-pr8756-aps5-summary.jsonl) The two window summary lines: ```json {"commit":"95ca794b3144","dirty":false,"env":{"APS5_PAD_INPUT_FILE":"<path>","APS5_TRACE_DIR":".","APS5_TRACE_SECONDS":"175:30","APS5_TRACE_SUMMARY_EVERY":"10"},"gpu":"NVIDIA GeForce RTX 4070 Ti","driver":"NVIDIA 595.99.02","os":"Linux 6.8.0-147-generic","cpu":"13th Gen Intel(R) Core(TM) i7-13700K","cpu_threads":24,"memory_mib":32022,"title_id":"PPSA34502","title":"Call of Duty\u00c2\u00ae: Black Ops II","content_version":"01.010.000","resolution":"1920x1080","window":{"spec":"seconds 175:30","first_present":7366,"ms":31330.847},"presents":21,"frame_ms":{"p50":1454.423,"p90":1749.238,"p99":1846.609,"max":1846.609},"gpu_busy_ms_per_present":38.712,"worker_busy_pct":{"queue worker 0x0":95.006},"top_phases_ms_per_frame":{"Driver.Packet":1362.634,"Driver.Packet.draw":1308.267,"Driver.Draw":1306.314,"Graphics.Draw":1305.491,"Graphics.Draw.draw_and_resource_release":1290.930,"Driver.Draw.draw_enqueued":1160.591,"Shader.ResolveAbi":160.218,"Shader.ResolveGraphicsStagesAbi":128.027},"trace_dropped":true,"trace_dropped_threads":{"queue worker 0x0":{"events_full_after_s":27.907,"events_lost":30237,"totals_full":false}},"trace":"aps5-trace-95ca794b3144-3.json.gz"} {"commit":"76c494418f46","dirty":false,"env":{"APS5_PAD_INPUT_FILE":"<path>","APS5_TRACE_DIR":".","APS5_TRACE_SECONDS":"175:30","APS5_TRACE_SUMMARY_EVERY":"10"},"gpu":"NVIDIA GeForce RTX 4070 Ti","driver":"NVIDIA 595.99.02","os":"Linux 6.8.0-147-generic","cpu":"13th Gen Intel(R) Core(TM) i7-13700K","cpu_threads":24,"memory_mib":32022,"title_id":"PPSA34502","title":"Call of Duty\u00c2\u00ae: Black Ops II","content_version":"01.010.000","resolution":"1920x1080","window":{"spec":"seconds 175:30","first_present":7490,"ms":30110.924},"presents":88,"frame_ms":{"p50":334.454,"p90":426.100,"p99":515.947,"max":515.947},"gpu_busy_ms_per_present":31.103,"worker_busy_pct":{"queue worker 0x0":75.818},"top_phases_ms_per_frame":{"Driver.Packet":254.310,"Driver.Packet.draw":223.632,"Driver.Draw":222.203,"Graphics.Draw":154.148,"Shader.ResolveAbi":145.148,"Graphics.Draw.draw_and_resource_release":143.457,"Shader.ResolveGraphicsStagesAbi":119.041,"Driver.Draw.draw_enqueued":98.137},"trace_dropped":true,"trace_dropped_threads":{"title":{"events_full_after_s":14.503,"events_lost":147698,"totals_full":false},"queue worker 0x0":{"events_full_after_s":6.467,"events_lost":841597,"totals_full":false}},"trace":"aps5-trace-76c494418f46-3.json.gz"} ``` Before the menu, both builds hold 60 FPS, with p99 frame times of 18 to 20 ms. The window title's frame counter agrees with the summaries: 49 frames in 75 s without this PR, 254 in about 90 s with it (first pair of runs). The menu is still slow with this PR. In its trace, `Shader.ResolveAbi` takes about 60 ms per frame summed over the title's five threads, and the draw committer is busy for 39 % of each frame. I haven't traced where the rest of the frame goes. **Super Meat Boy 3D (PPSA31162), level 1-1, as a second title.** The builds are `main` eea640a5bf and this PR on it, with release libs and one shared shader cache. Runs are scripted from the game's own map-load log lines, and each measures 60 s after a 30 s settle. Six runs alternated PR, `main`, three times, plus two earlier runs of each: | run | build | presents per 10 s | committer per draw | other processes' CPU before the run | |---|---|---|---|---| | alternating 1 | this PR | 30 to 35 | 31 to 35 us | 737 % | | alternating 1 | `main` | 6 to 8 | 212 to 232 us | 724 % | | alternating 2 | this PR | 6 to 9 | 179 to 201 us | 817 % | | alternating 2 | `main` | 16 to 19 | 73 to 86 us | 523 % | | alternating 3 | this PR | 14 to 16 | 86 to 98 us | 677 % | | alternating 3 | `main` | 6 to 7 | 241 to 282 us | 507 % | | earlier | this PR | 9 to 10, and 8 to 9 | 181 to 200 us | | | earlier | `main` | 16 to 18, and 6 to 7 | 76 to 88, and 242 to 275 us | | The per-draw figures are from the `[draw] pipelined` lines; the CPU column is `top`'s total for the other processes just before each run. Both builds land in the same three groups, about 32, 85 and 200 to 280 us per draw. The fastest run was a PR run and the slowest a `main` run. So this level's cost changes from run to run with something other than this PR, and these runs show no slowdown from it. I haven't found what picks the slow group. - Windows 11 Enterprise 26300, NVIDIA GeForce GT 1030 (driver 582.78), WinLibs GCC 15.2.0 r7 (UCRT), Release: the 8 draw snapshot, draw descriptor and draw cache tests pass 3 of 3 on `main` and 3 of 3 with this change. - AMD, Windows: @savvaniss [ran](https://github.com/boykopovar/AnyPS5/pull/8756#issuecomment-6349690347) the 12 snapshot and kept-bytes tests on an RX 9070 XT (driver 32.0.31041.1004, Windows 11, WinLibs GCC 15.2.0) under the 1.4.363 layer, 3 times each, with head 9b93d38464 merged into `main` 0cece6ebbc against that `main`. They pass 12 of 12 on both with no `VUID-` line, and the containing-snapshot cases ran. With `ReusableDrawSnapshot` not calling `containingDrawSnapshot`, `agc_draw_snapshot_cap` fails 3 of 3 (`an unchanged range inside a kept snapshot was not taken from it at its offset`). Not tested: Intel (a 64-byte storage offset alignment would reject some of these offsets), titles other than these two. ### Checklist <!-- Rules behind each item: https://github.com/boykopovar/AnyPS5/blob/main/CONTRIBUTING.md --> - [x] Based on current `main`; no other open PR implements the same functions - [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 - [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 - [x] Generic behaviour, not specific to one title - [x] Depends on: none (BO2 itself needs #5499 to reach the menu) - [x] Fixes: none - [x] Unblocks: none - [x] GPUs tested: NVIDIA GeForce RTX 4070 Ti, driver 595.99.02, Ubuntu 24.04; NVIDIA GeForce GT 1030, driver 582.78, Windows 11; AMD Radeon RX 9070 XT, driver 32.0.31041.1004, Windows 11 (@savvaniss) - [x] AI-assisted: yes (Claude Code) 🤖 Generated with [Claude Code](https://claude.com/claude-code)
github-actions[bot] commented 2026-10-20 23:48:17 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-20T23:48:17Z.


This pull request is labeled perf, so it needs the summary line of a capture on main and one with the change, from the same title, scene and machine, as the Performance report form asks. Please paste both aps5-summary.jsonl lines, attach the two traces and add the output of tools/trace_digest.py.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6304385350 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/8756#issuecomment-6304385350). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-20T23:48:17Z. --- <!-- pr-labels-perf --> This pull request is labeled `perf`, so it needs the summary line of a capture on `main` and one with the change, from the same title, scene and machine, as the Performance report form asks. Please paste both `aps5-summary.jsonl` lines, attach the two traces and add the output of `tools/trace_digest.py`.
MarcZX10 commented 2026-10-20 23:50:30 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-20T23:50:30Z.


The containing-range lookup and its tests look internally consistent: exact hits remain first, only storage descriptors receive offsets, alignment and allocation-generation checks are preserved, and write tracking is checked on the requested subrange. Before approval, please add the required performance artifacts: attach both trace files, paste the matching aps5-summary.jsonl summary lines, and include tools/trace_digest.py output. The current before/after table does not include those reviewable artifacts, and the automated performance gate is requesting them.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6304414487 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/8756#issuecomment-6304414487). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-20T23:50:30Z. --- The containing-range lookup and its tests look internally consistent: exact hits remain first, only storage descriptors receive offsets, alignment and allocation-generation checks are preserved, and write tracking is checked on the requested subrange. Before approval, please add the required performance artifacts: attach both trace files, paste the matching `aps5-summary.jsonl` summary lines, and include `tools/trace_digest.py` output. The current before/after table does not include those reviewable artifacts, and the automated performance gate is requesting them.
milescoviello commented 2026-10-21 00:00:21 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by milescoviello on 2026-10-21T00:00:21Z.


@MarcZX10 thanks for the review. The description now has the captures:

  • trace windows from both builds, same machine and scene, 30 s inside the menu;
  • both aps5-summary.jsonl window lines;
  • tools/trace_digest.py output for each;
  • the traces, digests and full summary files, attached as assets of a release on my fork.

The base is #5499 rebased on main eea640a5bf, since main alone stops at 15 s before the menu. In the window, presents go from 21 to 88 in 30 s, and the frame p50 from 1454.4 to 334.5 ms. The draw committer goes from 1290.8 ms busy per frame (86 %) to 134.3 ms (39 %). A second pair of runs shows the same per-interval figures.

AI-assisted: yes (Claude Code)

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6304542854 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/8756#issuecomment-6304542854). Originally posted by [milescoviello](https://github.com/milescoviello) on 2026-10-21T00:00:21Z. --- @MarcZX10 thanks for the review. The description now has the captures: - trace windows from both builds, same machine and scene, 30 s inside the menu; - both `aps5-summary.jsonl` window lines; - `tools/trace_digest.py` output for each; - the traces, digests and full summary files, attached as assets of [a release on my fork](https://github.com/milescoviello/AnyPS5/releases/tag/perf-bo2-2026-10-20). The base is #5499 rebased on `main` eea640a5bf, since `main` alone stops at 15 s before the menu. In the window, presents go from 21 to 88 in 30 s, and the frame p50 from 1454.4 to 334.5 ms. The draw committer goes from 1290.8 ms busy per frame (86 %) to 134.3 ms (39 %). A second pair of runs shows the same per-interval figures. AI-assisted: yes (Claude Code)
MarcZX10 commented 2026-10-21 00:03:29 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-21T00:03:29Z.

Review: APPROVED


Reviewed the changed storage snapshot path and containing-range tests. I downloaded both trace assets from the linked release and reran tools/trace_digest.py with the supplied summary files; the window headlines and embedded JSON summaries match the values in the PR description (including the reported dropped-event flags). The trace loss limits interpretation of per-event attribution, but the 10-second summaries and the disclosed scope support the performance comparison. The exact lookup remains first, containment is storage-only and alignment-checked, and the requested subrange is checked against write tracking.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5593318136 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/8756#pullrequestreview-5593318136). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-21T00:03:29Z. **Review:** APPROVED --- Reviewed the changed storage snapshot path and containing-range tests. I downloaded both trace assets from the linked release and reran tools/trace_digest.py with the supplied summary files; the window headlines and embedded JSON summaries match the values in the PR description (including the reported dropped-event flags). The trace loss limits interpretation of per-event attribution, but the 10-second summaries and the disclosed scope support the performance comparison. The exact lookup remains first, containment is storage-only and alignment-checked, and the requested subrange is checked against write tracking.
milescoviello commented 2026-10-21 00:31:16 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by milescoviello on 2026-10-21T00:31:16Z.


@MarcZX10 I've moved this back to draft: it slows a second title down. Super Meat Boy 3D (PPSA31162), level 1-1, same machine. The runs went main eea640a5bf, then this PR, then main again, with one shared shader cache, scripted from the game's own map-load log lines, measuring 60 s after a 30 s settle:

run presents per 10 s committer per draw waiting for room per draw
main, cold cache 4, 1, 6, 16, 22
this PR 9, 10, 9, 9, 9 180.6 us 115.3 us
main, warm 17, 18, 16, 17, 17, 18 75.9 us 33.6 us

The per-draw figures are from the [draw] pipelined line. I'm profiling both builds in that level now and will post the cause and a fix. It shouldn't be merged before then.

AI-assisted: yes (Claude Code)

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6304962765 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/8756#issuecomment-6304962765). Originally posted by [milescoviello](https://github.com/milescoviello) on 2026-10-21T00:31:16Z. --- @MarcZX10 I've moved this back to draft: it slows a second title down. Super Meat Boy 3D (PPSA31162), level 1-1, same machine. The runs went `main` eea640a5bf, then this PR, then `main` again, with one shared shader cache, scripted from the game's own map-load log lines, measuring 60 s after a 30 s settle: | run | presents per 10 s | committer per draw | waiting for room per draw | |---|---|---|---| | `main`, cold cache | 4, 1, 6, 16, 22 | | | | this PR | 9, 10, 9, 9, 9 | 180.6 us | 115.3 us | | `main`, warm | 17, 18, 16, 17, 17, 18 | 75.9 us | 33.6 us | The per-draw figures are from the `[draw] pipelined` line. I'm profiling both builds in that level now and will post the cause and a fix. It shouldn't be merged before then. AI-assisted: yes (Claude Code)
milescoviello commented 2026-10-21 00:40:29 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by milescoviello on 2026-10-21T00:40:29Z.


@MarcZX10 a correction to my last comment: one pair of runs wasn't enough. I ran the same level twice more, the PR and then main, with a 15 s profile before each measured minute:

run presents per 10 s committer per draw
main, warm (earlier) 16 to 18 76 to 88 us
this PR (earlier) 9 to 10 181 to 198 us
this PR 8 to 9 191 to 200 us
main 6 to 7 242 to 275 us

So main itself ranges from 76 to 275 us per draw on this level, which is wider than the gap I reported. Other services on this host were using about six cores while these ran, and that load changes over time. I can't yet say whether this PR slows this title. I'll run the two builds alternately, several times each, and post the spread. It stays in draft until then.

AI-assisted: yes (Claude Code)

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6305084354 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/8756#issuecomment-6305084354). Originally posted by [milescoviello](https://github.com/milescoviello) on 2026-10-21T00:40:29Z. --- @MarcZX10 a correction to my last comment: one pair of runs wasn't enough. I ran the same level twice more, the PR and then `main`, with a 15 s profile before each measured minute: | run | presents per 10 s | committer per draw | |---|---|---| | `main`, warm (earlier) | 16 to 18 | 76 to 88 us | | this PR (earlier) | 9 to 10 | 181 to 198 us | | this PR | 8 to 9 | 191 to 200 us | | `main` | 6 to 7 | 242 to 275 us | So `main` itself ranges from 76 to 275 us per draw on this level, which is wider than the gap I reported. Other services on this host were using about six cores while these ran, and that load changes over time. I can't yet say whether this PR slows this title. I'll run the two builds alternately, several times each, and post the spread. It stays in draft until then. AI-assisted: yes (Claude Code)
MarcZX10 commented 2026-10-21 00:42:10 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-21T00:42:10Z.

Review: DISMISSED


Withdrew my earlier approval because of the new cross-title performance data. I agree this should remain draft until the suspected regression is explained or the repeated comparison establishes the effect. The wider main variance in the latest runs means the current data is inconclusive; please update the traces and summary once the alternating runs are complete.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5593562808 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/8756#pullrequestreview-5593562808). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-21T00:42:10Z. **Review:** DISMISSED --- Withdrew my earlier approval because of the new cross-title performance data. I agree this should remain draft until the suspected regression is explained or the repeated comparison establishes the effect. The wider `main` variance in the latest runs means the current data is inconclusive; please update the traces and summary once the alternating runs are complete.
milescoviello commented 2026-10-21 01:18:00 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by milescoviello on 2026-10-21T01:18:00Z.


@MarcZX10 the alternating runs are done, and they don't show a slowdown from this PR in Super Meat Boy 3D. Same level, same machine, PR and main alternated three times, plus the earlier runs:

build committer per draw, run by run
this PR 31 to 35, 179 to 201, 86 to 98 (alternating); 181 to 198, 191 to 200 (earlier)
main 212 to 232, 73 to 86, 241 to 282 (alternating); 76 to 88, 242 to 275 (earlier)

Both builds land in the same three groups, about 32, 85 and 200 to 280 us per draw. The fastest run of the eight was a PR run, and the slowest a main run. My first report compared a PR run in the slow group with a main run in the middle one. The full table, with presents and the other processes' CPU before each run, is now in the description.

I haven't found what puts a run in one group or another. It isn't simply the host's other load: that was 507 to 817 % across the runs and doesn't follow the groups.

I've marked the PR ready again. Could you re-review when convenient? The BO2 captures and traces are unchanged.

AI-assisted: yes (Claude Code)

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6305598856 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/8756#issuecomment-6305598856). Originally posted by [milescoviello](https://github.com/milescoviello) on 2026-10-21T01:18:00Z. --- @MarcZX10 the alternating runs are done, and they don't show a slowdown from this PR in Super Meat Boy 3D. Same level, same machine, PR and `main` alternated three times, plus the earlier runs: | build | committer per draw, run by run | |---|---| | this PR | 31 to 35, 179 to 201, 86 to 98 (alternating); 181 to 198, 191 to 200 (earlier) | | `main` | 212 to 232, 73 to 86, 241 to 282 (alternating); 76 to 88, 242 to 275 (earlier) | Both builds land in the same three groups, about 32, 85 and 200 to 280 us per draw. The fastest run of the eight was a PR run, and the slowest a `main` run. My first report compared a PR run in the slow group with a `main` run in the middle one. The full table, with presents and the other processes' CPU before each run, is now in the description. I haven't found what puts a run in one group or another. It isn't simply the host's other load: that was 507 to 817 % across the runs and doesn't follow the groups. I've marked the PR ready again. Could you re-review when convenient? The BO2 captures and traces are unchanged. AI-assisted: yes (Claude Code)
oneandonlydean commented 2026-10-21 07:17:54 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-21T07:17:54Z.


@milescoviello thanks, the change reads correct to us on 2bdd2d3b9e. @MarcZX10, your changes request from 00:42 asked for the suspected regression to be explained or ruled out by repeated runs, and the author has posted alternating runs since. Could you take another look and say whether that settles it for you? On our side, a no-harm gate follows once that's resolved.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6310370449 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/8756#issuecomment-6310370449). Originally posted by [oneandonlydean](https://github.com/oneandonlydean) on 2026-10-21T07:17:54Z. --- @milescoviello thanks, the change reads correct to us on `2bdd2d3b9e`. @MarcZX10, your changes request from 00:42 asked for the suspected regression to be explained or ruled out by repeated runs, and the author has posted alternating runs since. Could you take another look and say whether that settles it for you? On our side, a no-harm gate follows once that's resolved.
milescoviello commented 2026-10-21 11:58:58 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by milescoviello on 2026-10-21T11:58:58Z.


@MarcZX10 one more data point on the Super Meat Boy 3D question, from #8840 / #9026 since then. On a single build, level 1-1 lands in one of three speed modes, chosen per run by where the title places a depth plane:

  • 2 to 12 presents per 10 s, when a buffer read ends inside a stale 3840x2160 depth plane and stores the whole plane on most draws;
  • about 15 to 27;
  • about 30 to 46.

Plain main has come up in all three. In #8840's twelve runs it took both the slow and the fast mode, and in today's seven base runs it took the slow mode twice and the middle one five times. So one slow run on either side of an A/B says nothing about this PR, which is what the alternating runs above found too. #9026 removes the slowest mode. Could you take another look when you have a moment?

AI-assisted: yes (Claude Code)

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6315348891 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/8756#issuecomment-6315348891). Originally posted by [milescoviello](https://github.com/milescoviello) on 2026-10-21T11:58:58Z. --- @MarcZX10 one more data point on the Super Meat Boy 3D question, from #8840 / #9026 since then. On a single build, level 1-1 lands in one of three speed modes, chosen per run by where the title places a depth plane: - 2 to 12 presents per 10 s, when a buffer read ends inside a stale 3840x2160 depth plane and stores the whole plane on most draws; - about 15 to 27; - about 30 to 46. Plain `main` has come up in all three. In #8840's twelve runs it took both the slow and the fast mode, and in today's seven base runs it took the slow mode twice and the middle one five times. So one slow run on either side of an A/B says nothing about this PR, which is what the alternating runs above found too. #9026 removes the slowest mode. Could you take another look when you have a moment? AI-assisted: yes (Claude Code)
milescoviello commented 2026-10-22 04:53:37 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by milescoviello on 2026-10-22T04:53:37Z.


@MarcZX10 the alternating runs are done, on current code: Call of Duty: Black Ops II's war-room menu, interleaved main, PR, main, PR, main, PR, one session.

Setup: RTX 4070 Ti, NVIDIA 615.71.09, Ubuntu 26.04.1, 1920x1080, release libraries, warm cache. main is ab347d144d. The PR side is main + this head 2bdd2d3b9e, merged as 5a49111422.

Since #9137, BO2 stops at sceVoiceGetPortAttr (#9601). So both builds carry the same local patch that answers that attribute with 0, as before. Nothing else differs between them.

Each run: 120 s after the window, Cross, Options, then 90 s in the menu with 10 s trace summaries. Below are the presents in the last eight 10 s intervals (the menu):

run presents per 10 s mean median frame ms
main 1 9 9 9 9 9 9 9 9 9.0 1150 to 1250
PR 1 39 38 37 38 37 36 33 33 36.4 259 to 308
main 2 11 11 11 11 11 11 11 11 11.0 897 to 986
PR 2 39 40 38 39 39 38 38 38 38.6 250 to 264
main 3 10 10 10 9 9 9 10 9 9.5 1072 to 1171
PR 3 37 35 37 37 37 37 37 37 36.8 265 to 286

main stays at 9 to 11 presents per 10 s, and the PR at 36 to 39. That's about 3.8 times as many presents, with no overlap between the two sides in any interval. The queue-0 worker is about 98% busy on main and about 69% with the PR. GPU busy per present drops from 107 ms to 79 ms.

The summaries are attached to https://github.com/milescoviello/AnyPS5/releases/tag/perf-bo2-8756-ab-2026-10-21. These runs took no traces. I'll update the description's summary with these numbers.

AI-assisted: yes (Claude Code)

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6333032420 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/8756#issuecomment-6333032420). Originally posted by [milescoviello](https://github.com/milescoviello) on 2026-10-22T04:53:37Z. --- @MarcZX10 the alternating runs are done, on current code: Call of Duty: Black Ops II's war-room menu, interleaved main, PR, main, PR, main, PR, one session. **Setup:** RTX 4070 Ti, NVIDIA 615.71.09, Ubuntu 26.04.1, 1920x1080, release libraries, warm cache. `main` is ab347d144d. The PR side is `main` + this head `2bdd2d3b9e`, merged as 5a49111422. Since #9137, BO2 stops at `sceVoiceGetPortAttr` (#9601). So both builds carry the same local patch that answers that attribute with 0, as before. Nothing else differs between them. Each run: 120 s after the window, Cross, Options, then 90 s in the menu with 10 s trace summaries. Below are the presents in the last eight 10 s intervals (the menu): | run | presents per 10 s | mean | median frame ms | |---|---|---|---| | main 1 | 9 9 9 9 9 9 9 9 | 9.0 | 1150 to 1250 | | PR 1 | 39 38 37 38 37 36 33 33 | 36.4 | 259 to 308 | | main 2 | 11 11 11 11 11 11 11 11 | 11.0 | 897 to 986 | | PR 2 | 39 40 38 39 39 38 38 38 | 38.6 | 250 to 264 | | main 3 | 10 10 10 9 9 9 10 9 | 9.5 | 1072 to 1171 | | PR 3 | 37 35 37 37 37 37 37 37 | 36.8 | 265 to 286 | `main` stays at 9 to 11 presents per 10 s, and the PR at 36 to 39. That's about 3.8 times as many presents, with no overlap between the two sides in any interval. The queue-0 worker is about 98% busy on `main` and about 69% with the PR. GPU busy per present drops from 107 ms to 79 ms. The summaries are attached to https://github.com/milescoviello/AnyPS5/releases/tag/perf-bo2-8756-ab-2026-10-21. These runs took no traces. I'll update the description's summary with these numbers. AI-assisted: yes (Claude Code)
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!8756
No description provided.