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] Monitoring domU real memory usage

To: "Pasi Kärkkäinen" <pasik@xxxxxx>, bhavani krishnan <bhavi63@xxxxxxxxx>
Subject: RE: [Xen-devel] Monitoring domU real memory usage
From: Dan Magenheimer <dan.magenheimer@xxxxxxxxxx>
Date: Fri, 16 Oct 2009 06:53:50 -0700 (PDT)
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 16 Oct 2009 06:55:54 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20091016130848.GK1434@xxxxxxxxxxx>
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
> On Thu, Oct 15, 2009 at 08:00:07PM -0700, bhavani krishnan wrote:
> > Hi,
> > 
> > xentop is only giving me the memory allocated to the a domU 
> (Static info). It does not change this info at all. Is there 
> anyway to get how much of the allocated memory is the domU 
> using? I saw few other similar posts in the archives but no 
> solution to it. Please help me out here.

You'll have to define more precisely what "using" means
since an OS "uses" (nearly) all the memory given to it for one
thing or another.  Are you referring to ballooning?

> I don't know if that information is tracked.
> 
> Xen doesn't do memory overcommit, so it dedicates physical memory for
> each guest, so it's up to the guests what they do with it.
> 
> -- Pasi

Xen CAN do memory overcommit, just not transparently (yet).

In the xen tree, see tools/xenballoond.  See this link
from Xen Summit 2008 for more description:

http://wiki.xensource.com/xenwiki/Open_Topics_For_Discussion?action=AttachFile&do=get&target=Memory+Overcommit.pdf

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

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