perf: ASTRO BOT (PPSA21567) first level drops from 3 to 0.7 FPS as the device-local heap fills; with the staging switches off it holds 3.3 FPS #18020

Closed
opened 2026-11-10 04:53:09 +00:00 by BunnyFl · 0 comments
BunnyFl commented 2026-11-10 04:53:09 +00:00 (Migrated from github.com)
Contributor

Imported from boykopovar/AnyPS5. Originally posted by BunnyFl on 2026-11-10T04:53:09Z.


Title and scene

PPSA21567 (ASTRO BOT, 01.019.000), first level aerial_garden ("Sky Garden"): the fly-in after DIVE IN on the galaxy map, entered by hand from a save made after the opening cutscene. Windows, 3840x2160.

What is slow or what changed

Two play sessions of main 32b292ba38 on one machine (RX 9070 XT 16 GB, AMD 26.10.2, Ryzen 7 5800X3D), one per setting. This is one run per setting: an observation, not a reproduction.

Run A, default settings. In the level the title presents at about 3 FPS for about 90 s (frame p50 about 325 ms, GPU busy about 200 ms per present), then at about 0.7 FPS until the session ends (frame p50 about 1450 ms, GPU busy 400 to 630 ms per present). The fly-in never finishes.

Run B, the same with APS5_NO_WRITTEN_SHADOW=1 APS5_NO_ATOMIC_STAGING=1 APS5_NO_DRAW_STAGING=1 APS5_NO_BDA_STAGING=1. 3.1 to 3.6 FPS for the whole 6.4 minutes in the level (two intervals at 2.8), the fly-in finishes, the title card shows and the character spawns.

FPS per APS5_TRACE_SUMMARY_EVERY=10 interval, from the level's first present to the end of each session (presents / interval seconds):

Run A (default) Run B (staging switches off)
first 90 s in the level 2.0, 3.1, 3.1, 3.1, 2.7, 3.0, 3.0, 2.7, 3.1 3.1, 3.4, 3.4, 3.3, 3.3, 3.3, 3.3, 3.4, 3.4
next 30 s 1.5, 1.6, 0.5 3.4, 3.4, 3.1
rest of the session 0.7 in each of 6 intervals 2.8 to 3.6 in each of 26 intervals

Device-local heap 1 from the [gpu-memory] blocks of APS5_TRACE_MEMORY_BUDGET=1, in MiB (active plus retained):

Run A, world map Run A, last block in the level Run B, last block in the level
reported budget 15419 12322 (it alternates between 15419 and 12322 in the level) 15419
usage 5690 11623 9384
vkAllocateMemory buffer 100 4068 not present
vkAllocateMemory texture 2340 3862 (5208 at its peak, earlier in the level) 5670
vkAllocateMemory storage texture 1424 1437 1486
vkAllocateMemory device buffer 719 895 795
unit shadow 320 368 376

In Run A the vkAllocateMemory buffer category grows through the level; among its values in successive blocks are 223, 836, 1075, 1868, 2386, 2779, 3285, 3722, 4006 and 4068, and it stays at 4068 for the last five blocks. Over the same blocks vkAllocateMemory texture goes from 5208 down to between 3053 and 3966.

Log lines of Run A in the level:

[gpu] sampled texture cache budget 6938 MiB (was 7872 MiB): device-local heap 1 has a VK_EXT_memory_budget budget of 15419 MiB and uses 7937 MiB, 4106 MiB of it sampled textures (4101 MiB in the cache) and 1353 MiB cached storage images; active storage image cache budget 6907 MiB (was 7709 MiB); storage_limit_age_ms=0
[buffers] staging shadow of 4041076 bytes refused: its device-local heap is within an eighth of its budget

Run A prints 17 "sampled texture cache budget" lines after the level starts, and the last four of them give a budget of 2048 MiB; Run B prints 2. The "staging shadow ... refused" line appears 4 times in Run A (the code prints it at most four times) and not in Run B.

What I read in main 32b292ba38, without running it under a debugger:

  • main 32b292ba38 core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp:5832 is stagingBuffer(): it returns nothing when deviceLocalHasRoom() (:5812) says no, otherwise allocates through Buffer::WithinDeviceLocalHeadroom, and prints the "staging shadow ... refused" line at most four times (:5840). deviceLocalHasRoom() compares the device-local heap's reported usage plus an eighth of its budget with the budget, re-reading both at most every 250 ms.
  • It has three callers in that file, at :6150, :6584 and :6659.
  • The comment above deviceLocalHasRoom() at :5808 reads "shadow is its own VkDeviceMemory, retained by cached builds".

What I did not establish: which cached builds hold the 4068 MiB, whether those buffers are the ones the four switches disable one by one (all four were set together), and why the frame time rises again once the heap is near its budget. The entry into the level also stalled for longer in Run A (one present in 27 s, after 179 presents in 116 s) than in Run B (one interval at 8.9 FPS with a 5.2 s frame). Run B ran second, with whatever shader cache Run A left. I did not control for that and do not attribute the difference in the entry to the switches.

Not run: APS5_WRITTEN_SHADOW_MAX_KIB on its own, each of the four switches on its own, a second run of either setting, another GPU.

Summary lines

Two intervals of each run, from aps5-summary.jsonl: Run A at about 3 FPS and at about 0.7 FPS, Run B at the same points of its session.

{"commit":"32b292ba3809","dirty":false,"env":{"APS5_DUMP_FRAMES":"120","APS5_DUMP_FRAMES_EVERY":"50","APS5_PROFILE_GPU":"1","APS5_TRACE_DIR":"<path>","APS5_TRACE_MEMORY_BUDGET":"1","APS5_TRACE_SUMMARY_EVERY":"10"},"gpu":"AMD Radeon RX 9070 XT","driver":"AMD proprietary driver 26.10.2 (LLPC)","os":"Windows 10.0.26300","cpu":"AMD Ryzen 7 5800X3D 8-Core Processor","cpu_threads":16,"memory_mib":65440,"title_id":"PPSA21567","title":"ASTRO BOT","content_version":"01.019.000","resolution":"3840x2160","window":{"spec":"summary_every 10","first_present":2585,"ms":10023.752},"interval_start_s":361.560,"interval_end_s":371.584,"presents":31,"frame_ms":{"p50":323.299,"p90":328.258,"p99":336.874,"max":336.874},"gpu_busy_ms_per_present":201.238,"worker_busy_pct":{"queue worker 0x0":98.919,"queue worker 0x40":99.991,"queue worker 0x48":100.179,"queue worker 0x3a":0.000,"queue worker 0x46":0.913},"top_phases_ms_per_frame":{"Driver.Packet":968.740,"Driver.Packet.memory_wait":608.741,"Driver.Packet.draw":204.653,"Driver.Draw":202.969,"Graphics.Draw":186.638,"Graphics.Draw.draw_and_resource_release":158.718,"Driver.Draw.shader_compile_and_link":119.121,"Shader.DrawStage":98.091},"owned_draw_counts":{},"trace_dropped":false,"trace":""}
{"commit":"32b292ba3809","dirty":false,"env":{"APS5_DUMP_FRAMES":"120","APS5_DUMP_FRAMES_EVERY":"50","APS5_PROFILE_GPU":"1","APS5_TRACE_DIR":"<path>","APS5_TRACE_MEMORY_BUDGET":"1","APS5_TRACE_SUMMARY_EVERY":"10"},"gpu":"AMD Radeon RX 9070 XT","driver":"AMD proprietary driver 26.10.2 (LLPC)","os":"Windows 10.0.26300","cpu":"AMD Ryzen 7 5800X3D 8-Core Processor","cpu_threads":16,"memory_mib":65440,"title_id":"PPSA21567","title":"ASTRO BOT","content_version":"01.019.000","resolution":"3840x2160","window":{"spec":"summary_every 10","first_present":2862,"ms":10164.579},"interval_start_s":504.918,"interval_end_s":515.082,"presents":7,"frame_ms":{"p50":1471.084,"p90":1511.613,"p99":1511.613,"max":1511.613},"gpu_busy_ms_per_present":460.818,"worker_busy_pct":{"queue worker 0x0":99.724,"queue worker 0x40":99.874,"queue worker 0x48":98.888,"queue worker 0x3a":0.003,"queue worker 0x46":0.187},"top_phases_ms_per_frame":{"Driver.Packet":4335.927,"Driver.Packet.memory_wait":2843.771,"Driver.Packet.draw":1319.205,"Driver.Draw":1317.279,"Graphics.Draw":1309.182,"Graphics.Draw.draw_and_resource_release":1276.704,"Driver.Draw.draw_enqueued":1160.045,"Resources.Complete":1068.242},"owned_draw_counts":{},"trace_dropped":false,"trace":""}
{"commit":"32b292ba3809","dirty":false,"env":{"APS5_DUMP_FRAMES":"120","APS5_DUMP_FRAMES_EVERY":"50","APS5_NO_ATOMIC_STAGING":"1","APS5_NO_BDA_STAGING":"1","APS5_NO_DRAW_STAGING":"1","APS5_NO_WRITTEN_SHADOW":"1","APS5_PROFILE_GPU":"1","APS5_TRACE_DIR":"<path>","APS5_TRACE_MEMORY_BUDGET":"1","APS5_TRACE_SUMMARY_EVERY":"10"},"gpu":"AMD Radeon RX 9070 XT","driver":"AMD proprietary driver 26.10.2 (LLPC)","os":"Windows 10.0.26300","cpu":"AMD Ryzen 7 5800X3D 8-Core Processor","cpu_threads":16,"memory_mib":65440,"title_id":"PPSA21567","title":"ASTRO BOT","content_version":"01.019.000","resolution":"3840x2160","window":{"spec":"summary_every 10","first_present":2655,"ms":10116.893},"interval_start_s":161.670,"interval_end_s":171.787,"presents":34,"frame_ms":{"p50":297.825,"p90":302.059,"p99":305.310,"max":305.310},"gpu_busy_ms_per_present":172.815,"worker_busy_pct":{"queue worker 0x0":98.890,"queue worker 0x40":99.963,"queue worker 0x48":100.040,"queue worker 0x3a":0.000,"queue worker 0x46":0.880},"top_phases_ms_per_frame":{"Driver.Packet":890.729,"Driver.Packet.memory_wait":561.508,"Driver.Packet.draw":192.274,"Driver.Draw":190.621,"Graphics.Draw":181.064,"Graphics.Draw.draw_and_resource_release":153.345,"Driver.Draw.shader_compile_and_link":116.918,"Shader.DrawStage":96.582},"owned_draw_counts":{},"trace_dropped":false,"trace":""}
{"commit":"32b292ba3809","dirty":false,"env":{"APS5_DUMP_FRAMES":"120","APS5_DUMP_FRAMES_EVERY":"50","APS5_NO_ATOMIC_STAGING":"1","APS5_NO_BDA_STAGING":"1","APS5_NO_DRAW_STAGING":"1","APS5_NO_WRITTEN_SHADOW":"1","APS5_PROFILE_GPU":"1","APS5_TRACE_DIR":"<path>","APS5_TRACE_MEMORY_BUDGET":"1","APS5_TRACE_SUMMARY_EVERY":"10"},"gpu":"AMD Radeon RX 9070 XT","driver":"AMD proprietary driver 26.10.2 (LLPC)","os":"Windows 10.0.26300","cpu":"AMD Ryzen 7 5800X3D 8-Core Processor","cpu_threads":16,"memory_mib":65440,"title_id":"PPSA21567","title":"ASTRO BOT","content_version":"01.019.000","resolution":"3840x2160","window":{"spec":"summary_every 10","first_present":3809,"ms":10070.412},"interval_start_s":506.949,"interval_end_s":517.020,"presents":36,"frame_ms":{"p50":280.139,"p90":283.138,"p99":287.110,"max":287.110},"gpu_busy_ms_per_present":172.752,"worker_busy_pct":{"queue worker 0x0":98.832,"queue worker 0x40":99.993,"queue worker 0x48":99.990,"queue worker 0x3a":0.000,"queue worker 0x46":1.004},"top_phases_ms_per_frame":{"Driver.Packet":837.275,"Driver.Packet.memory_wait":521.754,"Driver.Packet.draw":171.762,"Driver.Draw":170.344,"Graphics.Draw":162.013,"Graphics.Draw.draw_and_resource_release":136.898,"Driver.Draw.shader_compile_and_link":101.709,"Shader.DrawStage":84.121},"owned_draw_counts":{},"trace_dropped":false,"trace":""}

Traces

None. Both sessions were recorded with APS5_TRACE_SUMMARY_EVERY=10, not with APS5_TRACE_FRAMES. Neither wrote an aps5-trace-*.json.gz. I can capture one of a fixed window in the level if that helps; say which window.

Digest

None, for the same reason. The per-class GPU time of APS5_PROFILE_GPU=1 in Run A, per present, while it was at about 3 FPS: draw about 120 ms for about 950 to 1000 draws, staging-in about 8.5 ms and staging-out about 11 ms for about 130 MiB each way, label-run about 5.5 ms.

Capture

  • The caches were warm (the scene ran once and the title was restarted). Not as the form asks: Run A was the first time this build entered the level; Run B came after it.
  • No other APS5_TRACE_* or APS5_PROFILE_* switch was set and the log was not redirected. Not so: both runs set APS5_TRACE_MEMORY_BUDGET=1, APS5_PROFILE_GPU=1, APS5_TRACE_SUMMARY_EVERY=10 and frame dumps (APS5_DUMP_FRAMES=120, every 50), and the log was written to a file. The memory table above comes from those switches. I have not measured what these switches cost. Both runs carry the same ones.
  • Captures compared here come from the same machine, scene and settings (apart from the four staging switches of Run B).

AI-assisted: yes. The measurements are from the runs above; the reading of the source is mine and is marked as such.

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:6300532333 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/18020). Originally posted by [BunnyFl](https://github.com/BunnyFl) on 2026-11-10T04:53:09Z. --- ### Title and scene PPSA21567 (ASTRO BOT, 01.019.000), first level `aerial_garden` ("Sky Garden"): the fly-in after DIVE IN on the galaxy map, entered by hand from a save made after the opening cutscene. Windows, 3840x2160. ### What is slow or what changed Two play sessions of `main` `32b292ba38` on one machine (RX 9070 XT 16 GB, AMD 26.10.2, Ryzen 7 5800X3D), one per setting. This is one run per setting: an observation, not a reproduction. **Run A, default settings.** In the level the title presents at about 3 FPS for about 90 s (frame p50 about 325 ms, GPU busy about 200 ms per present), then at about 0.7 FPS until the session ends (frame p50 about 1450 ms, GPU busy 400 to 630 ms per present). The fly-in never finishes. **Run B, the same with `APS5_NO_WRITTEN_SHADOW=1 APS5_NO_ATOMIC_STAGING=1 APS5_NO_DRAW_STAGING=1 APS5_NO_BDA_STAGING=1`.** 3.1 to 3.6 FPS for the whole 6.4 minutes in the level (two intervals at 2.8), the fly-in finishes, the title card shows and the character spawns. FPS per `APS5_TRACE_SUMMARY_EVERY=10` interval, from the level's first present to the end of each session (presents / interval seconds): | | Run A (default) | Run B (staging switches off) | |---|---|---| | first 90 s in the level | 2.0, 3.1, 3.1, 3.1, 2.7, 3.0, 3.0, 2.7, 3.1 | 3.1, 3.4, 3.4, 3.3, 3.3, 3.3, 3.3, 3.4, 3.4 | | next 30 s | 1.5, 1.6, 0.5 | 3.4, 3.4, 3.1 | | rest of the session | 0.7 in each of 6 intervals | 2.8 to 3.6 in each of 26 intervals | Device-local heap 1 from the `[gpu-memory]` blocks of `APS5_TRACE_MEMORY_BUDGET=1`, in MiB (active plus retained): | | Run A, world map | Run A, last block in the level | Run B, last block in the level | |---|---|---|---| | reported budget | 15419 | 12322 (it alternates between 15419 and 12322 in the level) | 15419 | | usage | 5690 | 11623 | 9384 | | `vkAllocateMemory buffer` | 100 | 4068 | not present | | `vkAllocateMemory texture` | 2340 | 3862 (5208 at its peak, earlier in the level) | 5670 | | `vkAllocateMemory storage texture` | 1424 | 1437 | 1486 | | `vkAllocateMemory device buffer` | 719 | 895 | 795 | | `unit shadow` | 320 | 368 | 376 | In Run A the `vkAllocateMemory buffer` category grows through the level; among its values in successive blocks are 223, 836, 1075, 1868, 2386, 2779, 3285, 3722, 4006 and 4068, and it stays at 4068 for the last five blocks. Over the same blocks `vkAllocateMemory texture` goes from 5208 down to between 3053 and 3966. Log lines of Run A in the level: ``` [gpu] sampled texture cache budget 6938 MiB (was 7872 MiB): device-local heap 1 has a VK_EXT_memory_budget budget of 15419 MiB and uses 7937 MiB, 4106 MiB of it sampled textures (4101 MiB in the cache) and 1353 MiB cached storage images; active storage image cache budget 6907 MiB (was 7709 MiB); storage_limit_age_ms=0 [buffers] staging shadow of 4041076 bytes refused: its device-local heap is within an eighth of its budget ``` Run A prints 17 "sampled texture cache budget" lines after the level starts, and the last four of them give a budget of 2048 MiB; Run B prints 2. The "staging shadow ... refused" line appears 4 times in Run A (the code prints it at most four times) and not in Run B. What I read in `main` `32b292ba38`, without running it under a debugger: - `main` `32b292ba38` `core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp:5832` is `stagingBuffer()`: it returns nothing when `deviceLocalHasRoom()` (`:5812`) says no, otherwise allocates through `Buffer::WithinDeviceLocalHeadroom`, and prints the "staging shadow ... refused" line at most four times (`:5840`). `deviceLocalHasRoom()` compares the device-local heap's reported usage plus an eighth of its budget with the budget, re-reading both at most every 250 ms. - It has three callers in that file, at `:6150`, `:6584` and `:6659`. - The comment above `deviceLocalHasRoom()` at `:5808` reads "shadow is its own VkDeviceMemory, retained by cached builds". What I did not establish: which cached builds hold the 4068 MiB, whether those buffers are the ones the four switches disable one by one (all four were set together), and why the frame time rises again once the heap is near its budget. The entry into the level also stalled for longer in Run A (one present in 27 s, after 179 presents in 116 s) than in Run B (one interval at 8.9 FPS with a 5.2 s frame). Run B ran second, with whatever shader cache Run A left. I did not control for that and do not attribute the difference in the entry to the switches. Not run: `APS5_WRITTEN_SHADOW_MAX_KIB` on its own, each of the four switches on its own, a second run of either setting, another GPU. ### Summary lines Two intervals of each run, from `aps5-summary.jsonl`: Run A at about 3 FPS and at about 0.7 FPS, Run B at the same points of its session. ```json {"commit":"32b292ba3809","dirty":false,"env":{"APS5_DUMP_FRAMES":"120","APS5_DUMP_FRAMES_EVERY":"50","APS5_PROFILE_GPU":"1","APS5_TRACE_DIR":"<path>","APS5_TRACE_MEMORY_BUDGET":"1","APS5_TRACE_SUMMARY_EVERY":"10"},"gpu":"AMD Radeon RX 9070 XT","driver":"AMD proprietary driver 26.10.2 (LLPC)","os":"Windows 10.0.26300","cpu":"AMD Ryzen 7 5800X3D 8-Core Processor","cpu_threads":16,"memory_mib":65440,"title_id":"PPSA21567","title":"ASTRO BOT","content_version":"01.019.000","resolution":"3840x2160","window":{"spec":"summary_every 10","first_present":2585,"ms":10023.752},"interval_start_s":361.560,"interval_end_s":371.584,"presents":31,"frame_ms":{"p50":323.299,"p90":328.258,"p99":336.874,"max":336.874},"gpu_busy_ms_per_present":201.238,"worker_busy_pct":{"queue worker 0x0":98.919,"queue worker 0x40":99.991,"queue worker 0x48":100.179,"queue worker 0x3a":0.000,"queue worker 0x46":0.913},"top_phases_ms_per_frame":{"Driver.Packet":968.740,"Driver.Packet.memory_wait":608.741,"Driver.Packet.draw":204.653,"Driver.Draw":202.969,"Graphics.Draw":186.638,"Graphics.Draw.draw_and_resource_release":158.718,"Driver.Draw.shader_compile_and_link":119.121,"Shader.DrawStage":98.091},"owned_draw_counts":{},"trace_dropped":false,"trace":""} {"commit":"32b292ba3809","dirty":false,"env":{"APS5_DUMP_FRAMES":"120","APS5_DUMP_FRAMES_EVERY":"50","APS5_PROFILE_GPU":"1","APS5_TRACE_DIR":"<path>","APS5_TRACE_MEMORY_BUDGET":"1","APS5_TRACE_SUMMARY_EVERY":"10"},"gpu":"AMD Radeon RX 9070 XT","driver":"AMD proprietary driver 26.10.2 (LLPC)","os":"Windows 10.0.26300","cpu":"AMD Ryzen 7 5800X3D 8-Core Processor","cpu_threads":16,"memory_mib":65440,"title_id":"PPSA21567","title":"ASTRO BOT","content_version":"01.019.000","resolution":"3840x2160","window":{"spec":"summary_every 10","first_present":2862,"ms":10164.579},"interval_start_s":504.918,"interval_end_s":515.082,"presents":7,"frame_ms":{"p50":1471.084,"p90":1511.613,"p99":1511.613,"max":1511.613},"gpu_busy_ms_per_present":460.818,"worker_busy_pct":{"queue worker 0x0":99.724,"queue worker 0x40":99.874,"queue worker 0x48":98.888,"queue worker 0x3a":0.003,"queue worker 0x46":0.187},"top_phases_ms_per_frame":{"Driver.Packet":4335.927,"Driver.Packet.memory_wait":2843.771,"Driver.Packet.draw":1319.205,"Driver.Draw":1317.279,"Graphics.Draw":1309.182,"Graphics.Draw.draw_and_resource_release":1276.704,"Driver.Draw.draw_enqueued":1160.045,"Resources.Complete":1068.242},"owned_draw_counts":{},"trace_dropped":false,"trace":""} {"commit":"32b292ba3809","dirty":false,"env":{"APS5_DUMP_FRAMES":"120","APS5_DUMP_FRAMES_EVERY":"50","APS5_NO_ATOMIC_STAGING":"1","APS5_NO_BDA_STAGING":"1","APS5_NO_DRAW_STAGING":"1","APS5_NO_WRITTEN_SHADOW":"1","APS5_PROFILE_GPU":"1","APS5_TRACE_DIR":"<path>","APS5_TRACE_MEMORY_BUDGET":"1","APS5_TRACE_SUMMARY_EVERY":"10"},"gpu":"AMD Radeon RX 9070 XT","driver":"AMD proprietary driver 26.10.2 (LLPC)","os":"Windows 10.0.26300","cpu":"AMD Ryzen 7 5800X3D 8-Core Processor","cpu_threads":16,"memory_mib":65440,"title_id":"PPSA21567","title":"ASTRO BOT","content_version":"01.019.000","resolution":"3840x2160","window":{"spec":"summary_every 10","first_present":2655,"ms":10116.893},"interval_start_s":161.670,"interval_end_s":171.787,"presents":34,"frame_ms":{"p50":297.825,"p90":302.059,"p99":305.310,"max":305.310},"gpu_busy_ms_per_present":172.815,"worker_busy_pct":{"queue worker 0x0":98.890,"queue worker 0x40":99.963,"queue worker 0x48":100.040,"queue worker 0x3a":0.000,"queue worker 0x46":0.880},"top_phases_ms_per_frame":{"Driver.Packet":890.729,"Driver.Packet.memory_wait":561.508,"Driver.Packet.draw":192.274,"Driver.Draw":190.621,"Graphics.Draw":181.064,"Graphics.Draw.draw_and_resource_release":153.345,"Driver.Draw.shader_compile_and_link":116.918,"Shader.DrawStage":96.582},"owned_draw_counts":{},"trace_dropped":false,"trace":""} {"commit":"32b292ba3809","dirty":false,"env":{"APS5_DUMP_FRAMES":"120","APS5_DUMP_FRAMES_EVERY":"50","APS5_NO_ATOMIC_STAGING":"1","APS5_NO_BDA_STAGING":"1","APS5_NO_DRAW_STAGING":"1","APS5_NO_WRITTEN_SHADOW":"1","APS5_PROFILE_GPU":"1","APS5_TRACE_DIR":"<path>","APS5_TRACE_MEMORY_BUDGET":"1","APS5_TRACE_SUMMARY_EVERY":"10"},"gpu":"AMD Radeon RX 9070 XT","driver":"AMD proprietary driver 26.10.2 (LLPC)","os":"Windows 10.0.26300","cpu":"AMD Ryzen 7 5800X3D 8-Core Processor","cpu_threads":16,"memory_mib":65440,"title_id":"PPSA21567","title":"ASTRO BOT","content_version":"01.019.000","resolution":"3840x2160","window":{"spec":"summary_every 10","first_present":3809,"ms":10070.412},"interval_start_s":506.949,"interval_end_s":517.020,"presents":36,"frame_ms":{"p50":280.139,"p90":283.138,"p99":287.110,"max":287.110},"gpu_busy_ms_per_present":172.752,"worker_busy_pct":{"queue worker 0x0":98.832,"queue worker 0x40":99.993,"queue worker 0x48":99.990,"queue worker 0x3a":0.000,"queue worker 0x46":1.004},"top_phases_ms_per_frame":{"Driver.Packet":837.275,"Driver.Packet.memory_wait":521.754,"Driver.Packet.draw":171.762,"Driver.Draw":170.344,"Graphics.Draw":162.013,"Graphics.Draw.draw_and_resource_release":136.898,"Driver.Draw.shader_compile_and_link":101.709,"Shader.DrawStage":84.121},"owned_draw_counts":{},"trace_dropped":false,"trace":""} ``` ### Traces None. Both sessions were recorded with `APS5_TRACE_SUMMARY_EVERY=10`, not with `APS5_TRACE_FRAMES`. Neither wrote an `aps5-trace-*.json.gz`. I can capture one of a fixed window in the level if that helps; say which window. ### Digest None, for the same reason. The per-class GPU time of `APS5_PROFILE_GPU=1` in Run A, per present, while it was at about 3 FPS: draw about 120 ms for about 950 to 1000 draws, staging-in about 8.5 ms and staging-out about 11 ms for about 130 MiB each way, label-run about 5.5 ms. ### Capture - [ ] The caches were warm (the scene ran once and the title was restarted). Not as the form asks: Run A was the first time this build entered the level; Run B came after it. - [ ] No other APS5_TRACE_* or APS5_PROFILE_* switch was set and the log was not redirected. Not so: both runs set `APS5_TRACE_MEMORY_BUDGET=1`, `APS5_PROFILE_GPU=1`, `APS5_TRACE_SUMMARY_EVERY=10` and frame dumps (`APS5_DUMP_FRAMES=120`, every 50), and the log was written to a file. The memory table above comes from those switches. I have not measured what these switches cost. Both runs carry the same ones. - [x] Captures compared here come from the same machine, scene and settings (apart from the four staging switches of Run B). AI-assisted: yes. The measurements are from the runs above; the reading of the source is mine and is marked as such.
Sign in to join this conversation.
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#18020
No description provided.