From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52833) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZUz2A-0006mU-6U for qemu-devel@nongnu.org; Thu, 27 Aug 2015 11:24:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZUz25-0005b2-Ai for qemu-devel@nongnu.org; Thu, 27 Aug 2015 11:24:10 -0400 Date: Thu, 27 Aug 2015 11:23:57 -0400 (EDT) From: Paolo Bonzini Message-ID: <1648114497.20345814.1440689037970.JavaMail.zimbra@redhat.com> In-Reply-To: <55DED7D1.3020101@kamp.de> References: <55DED7D1.3020101@kamp.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] coroutine pool memory usage List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Lieven Cc: Kevin Wolf , Stefan Hajnoczi , qemu-devel@nongnu.org, qemu block > i was debugging increased memory footprint of qemu over the past time and > found that the coroutine pool heap usage can grow up to 70MB by just booting > an Ubuntu Live CD. And those 70MB are never freed. > > Is this expected? Wouldn't it make sense to asynchronically throw some > coroutines (or at least their stack) away if there is no I/O? Yes, perhaps that can be added. But is it RSS that increases, or is it just wasted address space? Paolo