mbox series

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

Message ID 20240308085515.2445091-1-marcandre.lureau@redhat.com (mailing list archive)
Headers show
Series ui/dbus: optimize a bit message queuing | expand

Message

Marc-André Lureau March 8, 2024, 8:55 a.m. UTC
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(-)