RUNTIME_VERSION 1989 and the runtime-sources pin for a block's worth of bytes made ahead

RT 1984's 16 MiB plain blocks on a slow, fragmented host made about 4x as many blocks, and the
ready thread, one block ahead, fell behind: in reims's pin 31 scroll on the 780M (12.7.6), 82-114
image blocks a boot were made in place on the guest's threads with 306-833 ms of compaction there
(1 and 0 at pins 29 and 30), and 8 of 11 rAF gaps of 100 ms or more overlapped them. Now each pool
keeps a block's worth of bytes ahead (64 MiB at most: 4 x 16 MiB with small blocks; one block of a
large placement's size while such placements are recent), made back to back by its thread, and a
call that finds no block waits for the making under way instead of making one (096241d096).

Verified by the change's owner: lavapipe 78/78 over the memory, blocks_ahead, plain_blocks,
clip_bursts, freed and exported memory, device_recovery and host_copy tests (12486); the two new
tests fail at the base (12487: 1 in place and 16 MiB ahead; 5 in place, four of 32 MiB); clippy
under m2v_cpu_icd and rustdoc clean (12491). Not yet in: the 780M bench before/after (gem10 12492)
and plain clippy at the exact tip (12494). Resting cost: unchanged against pre-1984 (64 MiB ahead
per growing pool); a pool of 16 MiB blocks keeps up to 48 MiB more than RT 1987 while it grows.
Expected to move the M3 cost records' made-ahead and made-in-place counts (re-blessed next).
Here: API table check and generators unchanged, pin recomputed.
This commit is contained in:
Anees Iqbal committed 2026-11-09 15:20:17 -08:00
1 parent 074d8e762e
commit d562bd4148
2 files changed
+2 -2

No files matched your search

@@ -1 +1 @@
96a0be30c77fa570445a80464ae8c6e25079c552450b436aa522fcb7893a9f99
6c32568b0bbd6a20772b0bb70f1407c4a090cbd29f8bbd8cce3e33adede66e56
+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 = 1988;
pub const RUNTIME_VERSION: u32 = 1989;
/// 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