Files
metal2vulkan/crates
Anees Iqbal 5545b2eb51 Reclaim bench: each phase's pooled blocks made and freed, in bytes, and why they were freed
Test-side counters of the bytes of the pooled blocks added to and freed from their pools, and of
the blocks made ahead and freed unused. Each phase prints the blocks made and freed with their
bytes, those made ahead and freed unused, and the pooled frees by cause (emptied, stale, for
room): the churn a guest's scroll showed with small blocks.

What they read on a Radeon 780M (job 12560, two runs each, identical in both), per phase,
blocks made (MiB) and made ahead and freed unused:
- Images one a frame, 16 MiB blocks: RT 1987 64 (1024) and 64 (1024), none unused; RT 1991
  and the change before this one, quiet 64 (1024), pressed 73 (1168) with 9 (144 MiB) unused.
- Mixed sizes, 16 MiB blocks: RT 1987 36 (576) both phases; RT 1991 and after, pressed 45 (720)
  with 9 unused.
- Bursts, 16 MiB blocks: as images one a frame.
- The 64 MiB arms: 13 or 14 blocks (832 or 896 MiB) a phase at every tree, none unused.
No phase freed an emptied block or one for room. The 9 unused blocks a device are the rest of a
block's worth queued behind each kept pool's first block (the next change). The 64 blocks of
16 MiB against 13 of 64 MiB for the same 192 textures are their packing: three to a 16 MiB
block, fifteen to a 64 MiB one.

(cherry picked from commit 2bbb07158444ddfd2e6309bdcd11aa471573e121)
2026-11-09 16:55:06 -08:00
..