diff options
| author | TheGeogeo <57634077+TheGeogeo@users.noreply.github.com> | 2026-12-01 02:40:18 +0100 |
|---|---|---|
| committer | TheGeogeo <57634077+TheGeogeo@users.noreply.github.com> | 2026-12-01 02:40:18 +0100 |
| commit | f8ad7e24558749098691125cb9429e84a1512118 (patch) | |
| tree | 22ea113a86407834931ba82fcfc22d4b4a585326 /runtime/xma_decoder/tests/ffi_cpp_smoke.cpp | |
| parent | d920d850d0a268749b8bc5f6dc508aee9ecdbb37 (diff) | |
d3d12: lists' scratch stays in the PC's memory by default for now (D3D12-SCRATCH-CARD-OFF-BY-DEFAULT)
Part of enlighted's D3D12-REAPER-BOUNDED-QUEUE, agreed with them. Card scratch, on by default where the
card's budget is 9 GiB or more and it has a GPU upload heap, churns chunks: SPARE_CARD keeps 256 MiB in all
and gives back an exact size only, so chunks of other sizes are let go in the list resets on the reaper and
made again on the recording threads. The reaper falls behind and the memory it holds piles up. Measured on
an RTX 3090 with a resizable BAR (23 pairs): frame median 64.6 ms with card scratch against 33.3 ms without.
It is off by default until the card's spare chunks are kept by size; LEONIDA_SCRATCH_CARD=1 still puts it
there and LEONIDA_AB still switches it. A card that used to get it says once that it is off now.
switches.md is regenerated for that row.
Diffstat (limited to 'runtime/xma_decoder/tests/ffi_cpp_smoke.cpp')
0 files changed, 0 insertions, 0 deletions