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

[Xen-users] Ram Calculation

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Ram Calculation
From: ShaunR <mailinglists@xxxxxxxxxxxxxxxx>
Date: Sun, 20 Dec 2009 13:01:33 -0800
Delivery-date: Sun, 20 Dec 2009 13:02:47 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.5) Gecko/20091204 Thunderbird/3.0
Years ago when i first started using xen i specified a dom0_mem=xxx in grub. I no longer do this, what i do now is set the dom0_min-mem setting in xend-config.sxp to 1024. I also have a few scripts that run at boot and one of them does a `xm mem-set 0 1024`. after that a xm list 0 shows dom0 allocated 1024 Ram. The problem comes on teh system when i run free or free -m, free shows dom0 using 1336096 with only 1160512 used. This also prevents the other command i run `xm mem-max 0 1024` from running correctly. Anybody know if this is a bug or what may be going on here. Is there anyway to force dom0 to 1024 with out having to specify it in grub?

Next problem is the mem usage from xm info. xm info shows the host having a total of 32766 Ram, and a free memory of 12531. when i do a xm list and total the ram for all running domains (including dom0) it doesn't come out to 12531. How can i get accurate reporting of how much ram the system has, how much each guest is really using, and how much ram is really free?


~Shaun


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

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