From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48030) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZUub7-00079b-O9 for qemu-devel@nongnu.org; Thu, 27 Aug 2015 06:40:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZUub6-0003ga-Ol for qemu-devel@nongnu.org; Thu, 27 Aug 2015 06:39:57 -0400 Received: from mx1.redhat.com ([209.132.183.28]:43806) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZUub6-0003gP-Jl for qemu-devel@nongnu.org; Thu, 27 Aug 2015 06:39:56 -0400 Date: Thu, 27 Aug 2015 11:39:51 +0100 From: "Daniel P. Berrange" Message-ID: <20150827103951.GN24486@redhat.com> References: <1440670734-5616-1-git-send-email-pl@kamp.de> <1440670734-5616-3-git-send-email-pl@kamp.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1440670734-5616-3-git-send-email-pl@kamp.de> Subject: Re: [Qemu-devel] [PATCH 2/4] vnc: allow the Buffer to shrink again Reply-To: "Daniel P. Berrange" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Lieven Cc: qemu-devel@nongnu.org, kraxel@redhat.com On Thu, Aug 27, 2015 at 12:18:52PM +0200, Peter Lieven wrote: > currently the Buffer can only grow. This increases Qemu memory footprint > dramatically since normally the biggest VNC updates are at connection time. > But also after a VNC session has terminated there is one persistent buffer > in queue->buffer which I have seen to increase to over 100MB and it is never > getting smaller again. Do you have any idea what caused the buffer to increase to 100MB in size in the first place ? I would expect a full screen update would cause the biggest buffer usage, and even for a 1920x1140 screen that should not be anywhere near 100MB in size. IOW, i'm wondering if the 100MB usage is symptomatic of a more serious bug somewhere else in the VNC code that you're just masking you reducing buffer size afterwards. Regards, Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|