From d6a8f8fc4945958cef117aa07168d3057d0763e2 Mon Sep 17 00:00:00 2001 From: Anees Iqbal Date: Fri, 20 Nov 2026 03:18:17 -0800 Subject: [PATCH] rt README: prepare_dispatch's measured effect at 1 and 4 threads on the 3090 The planner asked for the exclusive interleaved pair as the README's number. On an RTX 3090, cold, exclusive (job 57987, um870), three plays at each width in turn of the player at b506518794 (sha256 f0b1d8476ee3): a frame whose command buffers first use 66 compute pipelines spent 1,729 ms in first-use waits at --prepass-width 1 and 613 ms at 4, the frame 3,565 and 2,430 ms; the resident memory rose at most 410 and 441 MiB in that frame. Verified: the figures are the means of job 57987's three rounds; docs only. --- crates/metal2vulkan-rt/README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/crates/metal2vulkan-rt/README.md b/crates/metal2vulkan-rt/README.md index 529c5ae79..8b2952b05 100644 --- a/crates/metal2vulkan-rt/README.md +++ b/crates/metal2vulkan-rt/README.md @@ -2107,6 +2107,12 @@ while the driver's exit handler waited on a lock, with every runtime thread alre - Each lowering on a calling thread is one translation within its own 500 MiB ceiling, so the caller's width multiplies the bound: calls on 4 threads at once hold at most 2 GiB of translation. +- Measured on an RTX 3090, cold, the machine to itself, three plays of each width in turn: a + frame whose command buffers first use 66 compute pipelines, 47 of them in one command buffer, + spent 1,729 ms in first-use waits with the player's pre-pass on 1 thread (56 or 57 waits) and + 613 ms on 4 threads (10 waits, each for a make still in flight), the frame 3,565 ms and + 2,430 ms long; the process's resident memory rose by at most 410 MiB in that frame at 1 thread + and 441 MiB at 4. - `ComputePipelineState::precision_notes` carries the translator's notes of where the kernel's answers may differ from Metal's on this device, fixed per operation: those of the modules made with the state, and the emulated-SIMD-group module's once it is lowered. A kernel compiled