From: Sylvain CHEVALIER Subject: Re: Re: [Xen-users] Issues migrating to xen 4.1 / qemu-dm memory leak? Date: Fri, 29 Apr 2011 08:56:04 +0800 Message-ID: References: <20110410193014.GL32595@reaktio.net> <20110411065427.GM32595@reaktio.net> <20110428194238.GK32595@reaktio.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <20110428194238.GK32595@reaktio.net> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: =?ISO-8859-1?Q?Pasi_K=E4rkk=E4inen?= Cc: xen-devel@lists.xensource.com, xen-users@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Hi Pasi, I think it does leak memory although I am not completely sure. What I am seeing is that it uses almost 2GB of memory, and that it is (slowly) growing. Before we updated to xen 4.1 (which included a qemu update), we only had 512MB for dom0. Right now, we have (24576 is qemu's pid): $ pmap 24576 total 1765848K $ pmap 24576 | grep /proc/xen/privcmd | wc -l 1624 Thanks, Sylvain On Fri, Apr 29, 2011 at 3:42 AM, Pasi K=E4rkk=E4inen wrote: > On Mon, Apr 11, 2011 at 09:54:27AM +0300, Pasi K=E4rkk=E4inen wrote: >> On Mon, Apr 11, 2011 at 08:41:59AM +0800, Sylvain CHEVALIER wrote: >> > > And did you mean qemu-dm process in dom0 is leaking memory? >> > > >> > >> > I believe so. After running the whole week-end, with one instance of >> > windows 2008 used as a domain controller, qemu-dm uses 2GB of RAM. >> > Running pmap, I am getting lots of lines like this one: >> > >> > 00007fcd73f2e000 =A0 1024K rw-s- =A0/proc/xen/privcmd >> > >> > $ pmap 10423| grep /proc/xen/privcmd | wc -l >> > 1827 >> > >> > Any clue? >> > >> >> Ok. So, a summary: >> >> - VM has 512 MB of memory: qemu-dm leaks memory. >> - VM has 4GB of memory: qemu-dm doesn't leak memory. >> >> Is that what you meant? >> >> btw. is that Windows running any PV drivers or pure HVM with emulated de= vices? >> > > Hello again, > > Sylvain: Are you still seeing this qemu-dm memleak problem? Did you resol= ve it? > > -- Pasi > >