Files
reims-vgpu/docs
Anees Iqbal 738140c093 🐛 Pace the releases' copies of device caches into their pages
A decoder's process lets its output surfaces' blocks go together, and the
kext lets go at once those past its caps that a client still holds (a
VideoToolbox decode-back holding every frame of a 2160p H.264 stream). Each
release then copied a written 12.4 MB cache into the guest's RAM, back to
back on the transfer queue: 61 copies kept an RTX 3090 79 to 100% busy for
400 ms, NVDEC decodes of the guest's session made meanwhile took 60 to 377
ms, and some answered failed (status 8), so the guest got zeros for frame
296 (Y 5.17 dB). The same stream on NVDEC with no VM, beside CUDA copies of
the same size and rate into host memory, failed none.

A release that may copy now takes a turn: at once where none is out and the
last release's copy landed as long ago as it held the GPU, else on a thread
of its own, in the order asked, waiting at most 2 s, far inside the 10 s the
kext waits for the answer. The pages take the same bytes; a burst's answers
come later, and its copies take at most half the GPU's time.
2026-11-17 00:10:17 -08:00
..
2026-11-15 15:16:04 -08:00