Files
reims-vgpu/docs
Anees Iqbal 1271804ce8 🆕 Count the guest's slow answers that ran over a pool make
A ring-0 answer that reaches the guest a frame or more after the device read
its command stalls whatever the guest's frameworks wait on, and the makerstall
walks tied some of those to rt's 16 MiB pool makes only with a diag build.
Every boot and walk now carries it:

- reims-vgpu-graphics times each answer given through a CompleteAnswer,
  PoolAnswer or PrivateAnswer (a clock read at its make and one at its post;
  none for PRESENT_SURFACE, whose answer waits for the display's refresh) and
  tells the host of one of 16.7 ms or more (Host::answer_slow).
- The rt platform keeps when each of rt's last 16 pool makes ended
  (rt_platform::overlap, from the device's BlockMappings), and folds rt's
  first-use variant waits of compute dispatches onto the counts line:
  rt-first-use-variant-waits, -wait-ns and -wait-max-ns.
- reims-vgpu counts a slow answer during which a make ended,
  slow-answer-over-make with slow-answer-over-make-max-ns, logs the first of
  each command type with its makes and, for a BLOCK_RELEASE or a POOL_GIVE,
  the split of its waits, and counts the first-use waits that met any slow
  answer, slow-answer-first-use-waits.

A diagnostic: nothing the guest sees changes.
2026-11-22 00:12:56 -08:00
..