From: Wei Jiang Subject: Calculate Actual Memory Date: Tue, 7 Apr 2009 10:51:19 +0800 Message-ID: <20090407025119.GB5328@catbot-desktop> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Hi, In my Xen 3.2.1, I passed 2G memory to Xen, but just about 256M memory was recognized by command "xe vm-list uuid= params=all|grep memory". ---------------------------------------------------------------------- memory-actual ( RO): 268435456 memory-target ( RO): 268435456 memory-static-max ( RW): 2147483648 memory-dynamic-max ( RW): 2147483648 memory-dynamic-min ( RW): 67108864 memory-static-min ( RW): 67108864 In my xen host, which has 4G memory. So I guess that is not a problem to assign 2G memory to a Guest(I just have ONLY a guest). I wonder how the Actual memory be calculated in Xen hypervisor, any suggestions? Thanks, Wei Jiang