RUNTIME_VERSION 1993 and the runtime-sources pin for small blocks with a sixteenth and nearness by the largest block held

Behaviour from nvreds' 532d06c235 and c3fd622421:
- Small plain blocks are the power of two plus a sixteenth (17 MiB at the least). Four quarter-block images,
  each with its metadata, then fit. A 1024x1024 RGBA8 render target is placed in 4,210,688 bytes at 64 KiB
  alignment on RADV and ANV, so three fit in 16 MiB.
- A pool counts as near its next block below three quarters of the largest pooled block it holds, so a
  mid-run shrink no longer leaves a pool's first 64 MiB block unreserved. sweep_stale uses the same measure.

Measured by nvreds:
- 780M bench, pooled blocks made per phase: images 67 -> 51 pressed, mixed 39 -> 33, bursts 64-67 -> 51;
  calls that waited 20-23 -> 15.
- The new test mixed_sizes_after_blocks_made_smaller_find_their_blocks_made_ahead fails 3 of 3 on the 780M
  without the fix.
- The 66 memory tests pass on the 780M (3 of 3), RX 550, lavapipe and Iris (jobs 12692-12694).
- clippy (plain, m2v_gpu, m2v_cpu_icd) and the runtime's Rustdoc are clean.
This commit is contained in:
Anees Iqbal committed 2026-11-09 17:52:53 -08:00
1 parent f066aaf587
commit 32ea3ac198
2 files changed
+2 -2

No files matched your search

@@ -1 +1 @@
1c7a6f49a3fe264ae5821ffb5ee5bf154dcf247c5b8f303ff653b714b7de53ba
d2253f72fca107f1685bcd3acaf9deeb4623f5519fe78100ad729d6274935f7f
+1 -1
View File
@@ -93,7 +93,7 @@ pub const ARTIFACT_FORMAT_VERSION: u32 = 497;
/// changes no behaviour, and then updates that hash alone with the commit saying why, or changes
/// behaviour and also bumps this version. The commit that bumps it says what changed; this comment
/// keeps no history.
pub const RUNTIME_VERSION: u32 = 1992;
pub const RUNTIME_VERSION: u32 = 1993;
/// The digest of the sources this build of the crate was compiled from: SHA-256, as lowercase hex,
/// of the manifest, the build script, and exactly the files the crate roots' module tree compiles