qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 0 of 4] vnc performance improvements v2


From: Stefano Stabellini
Subject: [Qemu-devel] [PATCH 0 of 4] vnc performance improvements v2
Date: Thu, 30 Jul 2009 14:15:36 +0100
User-agent: Alpine 2.00 (DEB 1167 2008-08-23)

Hi all,
this small patch series introduces few important performance
improvements in the vnc server:

- the first patch is now the copyrect fix by Gerd;

- the second patch adds a single timer to refresh the screen and update all
the vnc clients, this way we call vga_hw_update only once in the timer
handler instead of once per client connected;

- the third patch removes the malloc'ed server surface from VncState and
moves it to VncDisplay: this way we don't allocate a secondary surface
per client connected but only one for all the possible clients; each vnc
client still maintains its own dirty bitmap;

- the forth patch introduces variable update intervals for the timer so
that if there is small activity in the guest, or few framebuffer updates
are requested by clients, we can slow down the refresh rate in the
server and save precious resources.


Compared to the previous version I added Gerd's CopyRect fix at the
beginning of the series, and I updated the "single vnc server surface"
patch to better handle CopyRect as well.
My tests show that CopyRect is working now, but please let me know if
you keep having problems.

Cheers,

Stefano Stabellini




reply via email to

[Prev in Thread] Current Thread [Next in Thread]