From dc0ff8201fec983186ccd75f9fbcbcdb95d63cfb Mon Sep 17 00:00:00 2001 From: Anees Iqbal Date: Thu, 12 Nov 2026 10:07:41 -0800 Subject: [PATCH] :memo: Say what eight walkers measured against four [ci skip] LANE_THREADS's comment said Valley ran at 24.5 frames a second at eight and 22.6 at four, a single measurement with the device's trace on, on an older runtime. An A/B on metal2vulkan 30a5a88ef6's runtime with the trace off, one run each on the RX 7900 XTX (m3-max-21602 at eight, m3-max-21604 at four), does not show that gain: the device presented 15.5 and 15.6 frames a second over Valley's run, with 127 and 140 gaps of 100 ms or more, 9% fewer at eight. The comment now gives that measurement in place of the rate, and keeps the waits for a walker the choice of eight rests on. Comment only. --- crates/reims-vgpu/src/graphics/decode/lane.rs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/crates/reims-vgpu/src/graphics/decode/lane.rs b/crates/reims-vgpu/src/graphics/decode/lane.rs index 111bbf93d..8e4129eaf 100644 --- a/crates/reims-vgpu/src/graphics/decode/lane.rs +++ b/crates/reims-vgpu/src/graphics/decode/lane.rs @@ -75,9 +75,11 @@ use reims_vgpu_vulkan::core::sync::{Condvar, Mutex, MutexGuard}; /// wait for what is committed before them ([`Lane::waiting`]) are not counted. Eight: at four, a /// buffer of Valley's GL queue waited 8.6 ms for a walker at the median and 36 ms at the 90th /// percentile, three walked as it came at the median and four at the 90th; at eight it waited -/// 0.03 and 0.05 ms, three walked at the median and five at the 90th, and Valley ran at 24.5 -/// frames a second where four ran at 22.6 (1920 x 1080, RX 7900 XTX host, the device's trace on; -/// measured). +/// 0.03 and 0.05 ms, three walked at the median and five at the 90th (1920 x 1080, RX 7900 XTX +/// host, the device's trace on; measured). Valley's rate is the same at both: with the trace off, +/// on metal2vulkan 30a5a88ef6's runtime, one run each (potluck jobs m3-max-21602 at eight and +/// m3-max-21604 at four), the device presented 15.5 and 15.6 frames a second over Valley's run, +/// with 127 and 140 gaps of 100 ms or more between frames, 9% fewer at eight (measured). pub(crate) const LANE_THREADS: usize = 8; /// The most threads a lane has, those whose jobs wait among them; a job past it waits to start,