vnc performance improvements
PATCH 1/1 vnc performance improvements
Hi all,
this small patch series introduces few important performance improvements for in the vnc server:
- the first 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 second 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 third 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.
Cheers,
Stefano Stabellini