Iris constant twin doc: state the per-encoder evidence, not one walk's totals
What: DriverWorkaround::PushReadsLengthenThreadPayload's doc (device/profile.rs) said a storage twin of a kernel's uniform view took 145.8 to 150.2 s of GPU time over a walk of guest compute workloads that took 137.4 s without it. It now gives the mean GPU time an encoder from the runtime's encoder times in two walks without the twin against four with it. Comment only; no code, version or answer changes. Why: the 137.4 s total came from one walk (m3-max-35702, scratch 68e39640e9). The second walk without twins, m3-max-36778 atc3d5b3e05e(8933378831landed), took 146.0 s, inside the twin walks' range. Its excess over the first sits in workload openings where the Iris governor requested 300 to 1,200 MHz at 55 to 85% busy. Two walks of one sha (C0 and C02) differ there as much. The totals do not separate the twin from the clock. Per encoder the twin's effect is the same in both walks without it. 8933378831's message cites the totals and one workload's 4.93 s as evidence. The message stays as it is, and this commit corrects the record: that workload's difference was the first walk's opening, and the second walk without twins took 6.42 s there. The twin's removal holds on the per-encoder figures below. Evidence (mean ms an encoder; without twin: m3-max-35702, m3-max-36778; with: m3-max-35628 atbd3c1a8c37, walk T at45d2a94af9, m3-max-36202 and walk C02 at 8d57656475; Mesa 26.2.6, Iris Xe RPL-P; every window listed these rows, so the counts are whole): - one workload's two heaviest convolution encoders, 200 each: 22.4 / 23.0 against 41.9, 46.0, 28.1, 41.2; and 17.8 / 18.9 against 32.3, 32.8, 35.5, 32.5 - another workload's convolution encoder, 3,920: 6.27 / 6.30 against 6.79, 6.79, 6.77, 6.78 - a third workload's eight heaviest encoders, 439 to 480 each: six faster with the twin, e.g. 3.67 / 3.74 against 2.86, 2.87, 2.84, 2.85, and 6.71 / 6.77 against 5.76, 5.75, 5.77, 5.77; one slower (4.82 / 4.92 against 5.56 to 5.63); one mixed Read from each walk's qemu.log encoder-times lines (the walks' files on this Mac, read in place). Verified: cargo fmt --all only (comment change).
This commit is contained in:
1 parent
24ccfe58db
commit
e6900ca020
1 file changed
+9
-3
@@ -1591,9 +1591,15 @@ pub enum DriverWorkaround {
|
||||
/// its residual, and in 102.1 us with the bytes read through a storage view at their bind
|
||||
/// offset (job m3-max-34275). A kernel's uniform view there is read at its residual, as on
|
||||
/// every device without `DriverFact::ConstantOffsetUniformReadsPreloaded`, and nothing else
|
||||
/// binds its range: a second binding of that range as a storage buffer, read at its bind
|
||||
/// offset where the slot's key held, took 145.8 to 150.2 s of GPU time over a walk of guest
|
||||
/// compute workloads that took 137.4 s without it (three walks against one, Mesa 26.2.6). It
|
||||
/// binds its range. A second binding of that range as a storage buffer, read at its bind
|
||||
/// offset where the slot's key held, made the heaviest encoders of guest compute workloads
|
||||
/// slower than it made others faster (Mesa 26.2.6; mean GPU time an encoder, two walks
|
||||
/// without it against four with it, jobs m3-max-35702 and m3-max-36778 against
|
||||
/// m3-max-35628, m3-max-36202 and two more): the two heaviest convolution encoders of one
|
||||
/// workload took 22.4 to 23.0 ms and 17.8 to 18.9 ms without it against 28.1 to 46.0 ms and
|
||||
/// 32.3 to 35.5 ms with it, and another workload's convolution encoder, run 3,920 times,
|
||||
/// 6.27 to 6.30 ms against 6.77 to 6.79 ms; six of a third workload's eight heaviest
|
||||
/// encoders were faster with it, the most 3.67 to 3.74 ms against 2.84 to 2.87 ms. It
|
||||
/// changes no answer.
|
||||
PushReadsLengthenThreadPayload,
|
||||
/// A read through a storage buffer at an address every invocation of a subgroup shares, inside
|
||||
|
||||
Reference in new issue
Block a user