WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Re: [Xen-users] Issues migrating to xen 4.1 / qemu-dm me

To: Pasi Kärkkäinen <pasik@xxxxxx>
Subject: Re: [Xen-devel] Re: [Xen-users] Issues migrating to xen 4.1 / qemu-dm memory leak?
From: Sylvain CHEVALIER <sylvain.chevalier@xxxxxxxxx>
Date: Fri, 29 Apr 2011 08:56:04 +0800
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 28 Apr 2011 18:07:20 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=B8/1nsqOA/HpNBHvHieHR9R8lfd0UA+Vext8aDRHDws=; b=cZwE6KLdyDMOzy0/cx/tQkwbBgu9vKa2Suszvu2kUFq+uQx7tKlD2lOXaj6byDUySm 6ZqMBuFRlXaX/O6gOdyWpVu8sSErx4wHd8DGWtDz/gJwBQk7/vMGjdPG85BtTCK1GmOa 2AUPozQ96koB3CCzF+84yyz4NiiSSvghOT3TI=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=S3zX4OfqASWgdcl2V8IvUbqSIMlOKu3MLFNrSDe+Z9VItICcPMDB7mADJ9q7zQ9oad E6wiojL1bK3+MzBPc/kfCKpdJoUL/4P92pSrAn43Qr9FWzO9lGt0Bfa7ABiI7ge8k3j9 e3oje7hZvsT8e/FMzPNc/RueASE4w+rg8EAU8=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20110428194238.GK32595@xxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <BANLkTikc2VGspO2icP335+e+3vLev9uYgg@xxxxxxxxxxxxxx> <20110410193014.GL32595@xxxxxxxxxxx> <BANLkTimbtouQAk+1J5cfeCvS9FSCvEva2A@xxxxxxxxxxxxxx> <20110411065427.GM32595@xxxxxxxxxxx> <20110428194238.GK32595@xxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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ärkkäinen <pasik@xxxxxx> wrote:
> On Mon, Apr 11, 2011 at 09:54:27AM +0300, Pasi Kärkkäinen 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   1024K rw-s-  /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 
>> devices?
>>
>
> Hello again,
>
> Sylvain: Are you still seeing this qemu-dm memleak problem? Did you resolve 
> it?
>
> -- Pasi
>
>

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>