Files
reims-vgpu/docs
Anees Iqbal ea2abb2c1e 🐎 Answer at the doorbell only a buffer that ends in its ask
The answer at the doorbell scanned every op of every buffer offered to
it, on the guest's vCPU, to find whether the buffer asks for its
CB_SUBMITTED. Most buffers do not ask: only commitAndWaitUntilSubmitted
on a queue that asks does. Measured with every probe on the msi 5080
host, the shared corr-answer boot's lone round trips had 702 of 706
doorbells offered, 697 declined, at 23 us of vCPU time at the median and
up to 371 us.

The bundle appends SUBMITTED when the buffer is committed, after every
op it encodes, so the answer now reads only the stream's last 8 bytes
first. Where they are not a SUBMITTED, the buffer is left to its take,
as before. A last op whose body only ends in such bytes is still told
apart by the scan, and a buffer whose ask comes earlier is answered at
its take. What the guest sees is unchanged: either way a buffer gets
its CB_SUBMITTED at its take or earlier.
2026-11-05 21:59:26 -08:00
..