From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54903) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZUz6M-00042i-Cp for qemu-devel@nongnu.org; Thu, 27 Aug 2015 11:28:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZUz6J-0000SS-6u for qemu-devel@nongnu.org; Thu, 27 Aug 2015 11:28:30 -0400 Received: from mx-v6.kamp.de ([2a02:248:0:51::16]:50831 helo=mx01.kamp.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZUz6I-0000RW-QE for qemu-devel@nongnu.org; Thu, 27 Aug 2015 11:28:27 -0400 References: <55DED7D1.3020101@kamp.de> <1648114497.20345814.1440689037970.JavaMail.zimbra@redhat.com> From: Peter Lieven Message-ID: <55DF2C8E.2050102@kamp.de> Date: Thu, 27 Aug 2015 17:28:14 +0200 MIME-Version: 1.0 In-Reply-To: <1648114497.20345814.1440689037970.JavaMail.zimbra@redhat.com> Content-Type: text/plain; charset=utf-8; format=flowed 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: Paolo Bonzini Cc: Kevin Wolf , Stefan Hajnoczi , qemu-devel@nongnu.org, qemu block Am 27.08.2015 um 17:23 schrieb Paolo Bonzini: >> 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? Sorry, false alarm. I had a debugger running and in this case all memory seems to be allocated. RSS is fine. I tracked the actual stack space that is used to around 1400 Byte per coroutine. So no problem. Peter