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] 3.0.5-rc3: Creating HVM guest fails with: Cannot allocat

To: "Daniel P. Berrange" <berrange@xxxxxxxxxx>, Charles Coffing <ccoffing@xxxxxxxxxx>
Subject: Re: [Xen-devel] 3.0.5-rc3: Creating HVM guest fails with: Cannot allocate memory
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Mon, 30 Apr 2007 22:55:07 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 30 Apr 2007 14:52:06 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20070430191134.GO22697@xxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AceLcjcUdX8hjfdlEducVQAWy6hiGQ==
Thread-topic: [Xen-devel] 3.0.5-rc3: Creating HVM guest fails with: Cannot allocate memory
User-agent: Microsoft-Entourage/11.3.3.061214
On 30/4/07 20:11, "Daniel P. Berrange" <berrange@xxxxxxxxxx> wrote:

>> We have received bug reports from ISVs of this problem in both the PV
>> and FV cases.  I traced code paths and discovered that FV attempts to
>> allocate the most memory during the initial domain creation; 64-bit PV
>> allocates the next most; 32-bit PV allocates the least.  So failures
>> for PV are less common, but not impossible.
> 
> Indeed - in testing on 64-bit PV over the weekend I saw perhaps 1 in 5
> PV creation attempts fail with the not enough memory bug. So it does look
> like the patch needs to be de-indented to fix PV too.

It's weird that this is only cropping up now. Still, the workaround is
pretty harmless.

 -- Keir



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