[PATCH 0/2] ui/dbus: optimize a bit message queuing

marcandre.lureau@redhat.com posted 2 patches 1 month, 2 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20240308085515.2445091-1-marcandre.lureau@redhat.com
Maintainers: "Marc-André Lureau" <marcandre.lureau@redhat.com>, Gerd Hoffmann <kraxel@redhat.com>
ui/dbus-listener.c | 75 +++++++++++++++++++++++++++++++++++-----------
ui/trace-events    |  1 +
2 files changed, 58 insertions(+), 18 deletions(-)
[PATCH 0/2] ui/dbus: optimize a bit message queuing
Posted by marcandre.lureau@redhat.com 1 month, 2 weeks ago
From: Marc-André Lureau <marcandre.lureau@redhat.com>

Hi,

Right now, all display updates are sent to the client, regardless of the speed
at which it processes the messages. When QEMU queues a lot of updates, it can
result in display delays. We don't have any optimization around this at this
point (we may optimize the grouping of updates, or simply throttle with some
fixes FPS etc). One simple and effective way already is to discard all pending
updates when receiving a new complete scanout. This improves greatly the
experience with remote displays.

Marc-André Lureau (2):
  ui/dbus: factor out sending a scanout
  ui/dbus: filter out pending messages when scanout

 ui/dbus-listener.c | 75 +++++++++++++++++++++++++++++++++++-----------
 ui/trace-events    |  1 +
 2 files changed, 58 insertions(+), 18 deletions(-)

-- 
2.44.0