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] domU unable to release memory to dom0

To: Luke S Crawford <lsc@xxxxxxxxx>
Subject: Re: [Xen-devel] domU unable to release memory to dom0
From: Sandesh <sandesh.ahiremath@xxxxxxxxx>
Date: Wed, 09 Jul 2008 03:14:26 +0530
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 08 Jul 2008 14:33:14 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <m3k5fw6tcg.fsf@xxxxxxxxxxxxxxxxxx>
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: <1215544643.9133.18.camel@ec4t16cg-1518809> <m3k5fw6tcg.fsf@xxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
> from what I understand, when a XenU exits, it frees the memory back to
the xen free pool
is this done by domain_relinquish_resources which eventually calls
relinquish_memory??

> but does not automatically baloon that ram back to the Dom0.
is it done by xend then???
> 
> look at 'xm info'  -  is the ram from the DomU being sent back to the 
> free_memory  pool?
yes its in the free pool. But it is inconsistent. It does not come back
immediately, after shuting down multiple domU, the whole chunk of it
comes under free pool at once, instead of for each termination of domU.
> 
> if so, and you want the ram back in the Dom0, just 'xm mem-set 0 [megabytes]'
> 



Please do not print this email unless it is absolutely necessary. 

The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should 
check this email and any attachments for the presence of viruses. The company 
accepts no liability for any damage caused by any virus transmitted by this 
email. 

www.wipro.com

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

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