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-users

Re: [Xen-users] memory allocation

To: Paras pradhan <pradhanparas@xxxxxxxxx>
Subject: Re: [Xen-users] memory allocation
From: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
Date: Wed, 4 Feb 2009 19:17:20 +0700
Cc: Xen Users <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 04 Feb 2009 04:18:11 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <8b711df40902020944i5a4dbc11tcfbdec18f4ba0634@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <8b711df40902020944i5a4dbc11tcfbdec18f4ba0634@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Tue, Feb 3, 2009 at 12:44 AM, Paras pradhan <pradhanparas@xxxxxxxxx> wrote:
> Its showing 345MB instead of 8GB.
>

When domU starts it "takes away" memory from dom0. Meaning whenever
(and after) any domU runs, dom0 will be left with less than total
physical RAM. In your case, dom0 is left with only 345MB.

Sometimes it's more desirable to limit dom0s memory from start and
prevent it from changing. This is done using some settings on
xend-config.sxp and kernel parameter.

>
> xm info o/p:
>
> total_memory           : 8165
> free_memory            : 3583
>

In your case :
(1) What does "xm list" show?
(2) What is the value of "dom0-min-mem" on /etc/xen/xend-config.sxp?
(3) Have you ever start domUs which (together) takes up about 4.5 GB memory?


>
> What do i need to do to make memory available to my host system from dom0?

In your current state,

xm mem-set 0 3G

will tell dom0 to use available memory (as shown from xm info) up to
3G total. Try running "xm list" and "xm info" afterwards.

Regards,

Fajar

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

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