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] Xen runs out of memory! - succeeds now

To: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] Xen runs out of memory! - succeeds now
From: "Jayaraman, Bhaskar" <Bhaskar.Jayaraman@xxxxxxx>
Date: Thu, 12 Mar 2009 17:49:32 +0530
Accept-language: en-US
Acceptlanguage: en-US
Cc:
Delivery-date: Thu, 12 Mar 2009 05:20:07 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C5DEA059.4DE0%keir.fraser@xxxxxxxxxxxxx>
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: <F4789BF54654AC44982AC0ED2DE2E64B2CC5F225E7@xxxxxxxxxxxxxxxxx> <C5DEA059.4DE0%keir.fraser@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acmi/DNsQ1ey4PhgTNqtIkIjByRHQAAAaW1FAAAJMYAAAZ5MVwAA/L0A
Thread-topic: [Xen-devel] Xen runs out of memory! - succeeds now
Thanks Keir, reducing Dom0 memory usage alone helps but I'm not able to figure 
how. This is why: -

Case 1: - 

I have 8GB of memory in the system and Dom0 was initially using 2.5 GB. I 
brought up a DomU that came up with 4GB memory which still leaves out 1.5GB 
free and still I wasn't able to setup the 1536 grant table pages which I wished 
to.

Case 2: -

Next I reduce Dom0 usage to 800MB and then bring up DomU with 3GB (~4.5GB free) 
of memory and I am able to setup 1536 pages ----> This is great

Next I bring up another DomU with 3GB memory (~1.5GB free now) and once again 
I'm able to setup 1536 grant table pages ----> Even better.

I'm don't know why case 1 with 1.5GB memory free on the system, 1536 grant 
table pages weren't setup with just one domU, while in the 2nd case, with again 
~ 1.5GB free I'm able to setup the grant table on the second domU?


Regards,
Bhaskar.

-----Original Message-----
From: Keir Fraser [mailto:keir.fraser@xxxxxxxxxxxxx] 
Sent: Thursday, March 12, 2009 4:50 PM
To: Jayaraman, Bhaskar; xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] Xen runs out of memory!

On 12/03/2009 11:01, "Jayaraman, Bhaskar" <Bhaskar.Jayaraman@xxxxxxx> wrote:

> Do you think I can increase contiguous pages by increasing the value of
> MAX_ORDER, which is right now defined as
> #define MAX_ORDER 20 /* 2^20 contiguous pages */
> 
> Which is a hell of a lot of pages and all I'm asking for are 1536 contiguous
> ones.

You're not needing contiguous memory. You're simply out of memory. Not much
Xen can do about that. Your domains are using it all.

 -- Keir



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

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