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] maximum domain memory

To: Xen Users <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] maximum domain memory
From: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
Date: Tue, 3 Aug 2010 10:39:52 +0700
Delivery-date: Mon, 02 Aug 2010 20:41:25 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20100803030154.GC25521@xxxxxxxxxxx>
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: <20100803022534.GB25521@xxxxxxxxxxx> <20100803030154.GC25521@xxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Tue, Aug 3, 2010 at 10:01 AM, Igor Serebryany <igor47@xxxxxxxxxxx> wrote:
> Nevermind, sort of,
>
>        This is actually an 8GB box. The problem appears to be that whenever
>        a domain is created, the amount of memory it's using is deducted
>        from total memory and this amount is never restored, even after the
>        domain goes away:
>
> xen1:~# free -m

Hint: Do NOT use "free". Use "xm list".
If you want, you can also run "xm mem-set 0 ..." later to assign the
unused memory back to dom0.

Note that Xen is different from Vmware/virtualbox w.r.t. memory
management. In Xen, you're actually recommended to set dom0's memory
as small as it'll ever be from the start. See
http://wiki.xensource.com/xenwiki/XenBestPractices

--
Fajar

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

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