Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MW7w3-000228-MK for qemu-devel@nongnu.org; Wed, 29 Jul 2009 08:07:07 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MW7vy-0001x2-Oo for qemu-devel@nongnu.org; Wed, 29 Jul 2009 08:07:06 -0400 Received: from [199.232.76.173] (port=47362 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MW7vy-0001wg-9q for qemu-devel@nongnu.org; Wed, 29 Jul 2009 08:07:02 -0400 Received: from smtp.eu.citrix.com ([62.200.22.115]:58883) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MW7vx-00017E-JH for qemu-devel@nongnu.org; Wed, 29 Jul 2009 08:07:01 -0400 Date: Wed, 29 Jul 2009 13:07:42 +0100 From: Stefano Stabellini Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Subject: [Qemu-devel] [PATCH 0 of 3] vnc performance improvements List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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