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] Memory allocation with rebooted HVM

To: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>, John <lists.xen@xxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Memory allocation with rebooted HVM
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Tue, 13 Oct 2009 19:21:45 +0100
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 13 Oct 2009 11:22:11 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <alpine.DEB.2.00.0910131907040.22447@kaball-desktop>
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcpMMO90qKiu+aVLTD2Se1fMb1MFoAAARWXM
Thread-topic: [Xen-devel] Memory allocation with rebooted HVM
User-agent: Microsoft-Entourage/12.20.0.090605
On 13/10/2009 19:13, "Stefano Stabellini" <stefano.stabellini@xxxxxxxxxxxxx>
wrote:

>> This seems to have been triggered just by that one domU being restarted.
>> I've seen this before as well, when a 4G domU tried to restart and hosed a
>> box that only had 3G of memory free (on top of the 4G it was using).
> 
> It seems to me that the new domain is always created after the old one
> has been destroyed with the exception that the old stubdom may still be
> alive but one stubdom uses only 32MB of ram, therefore cannot be the one
> preventing you from restarting the domain, especially in the case above
> where you had 3G free.

How much guest memory might the stubdom map? Could the stubdom be preventing
the guest's memory from being freed, by holding references to the pages?

 -- Keir



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