Files
reims-vgpu/docs
Anees Iqbal 6c47de82f2 🐎 Wait for the spare being made rather than make a second
A drawn cache's ask that found no spare made its own surface on the ring
while the spares' thread could be making the very spare it asked for. Two
makes at once contend in the driver: in held 4K H.264 on the UHD 630
(m3-max-56925, round 1 pass 2), 78 makes on the ring took 29.2 ms each and
the spares' thread's 162 took 21.0 ms, where the same pass made each on
the ring at 9.8 ms before the spares (m3-max-56661), and the pass fell
from 76.1 to 44.3 fps.

So an ask whose make is running waits for it and takes its spare, bounded
at ten slices of 10 ms, past which it makes its own as before. Counted:
video-drawn-spares-waited, the asks that waited, with
video-drawn-spares-wait-ns their wait and video-drawn-spares-wait-max-ns
the longest, so a boot shows each take waits about one make.
2026-11-19 23:15:49 -08:00
..