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

Re: [Xen-API] Can someone explain these metrics?

To: Hetal Badheka <hetal.badheka@xxxxxxxxxx>
Subject: Re: [Xen-API] Can someone explain these metrics?
From: Ewan Mellor <ewan@xxxxxxxxxxxxx>
Date: Tue, 6 Mar 2007 16:39:39 +0000
Cc: xen-api@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 06 Mar 2007 08:38:38 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <45ED7AF3.7050108@xxxxxxxxxx>
List-help: <mailto:xen-api-request@lists.xensource.com?subject=help>
List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
List-post: <mailto:xen-api@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
References: <45ED7AF3.7050108@xxxxxxxxxx>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.9i
On Tue, Mar 06, 2007 at 08:00:11PM +0530, Hetal Badheka wrote:

> Hello,
> 
> Class VM has 4 memory metrics:
> 1) memory/dynamic max (RW)
> 2) memory/dynamic min (RW)
> 3) memory/static min
> 4) memory/static max
> 5) memory/actual (Guest?s actual usage)
> 
> Questions:
> 1) What is dynamic memory? Is the "memory/dynamic max" a configuration 
> parameter that you set imposing a limit on the maximum amount of memory 
> a guest may use at runtime? In that case, what does "memory/dynamic min" 
> mean?

The dynamic values are the "target" memory settings, i.e. how much
memory the administrator would like the VM to use at the moment.  The
static_max is the value used at boot-time to size page-tables and so on.
In other words, the administrator may use the dynamic_max to change the
VM's size at runtime, up to the static_max.

We have a dynamic min and max because some people have expressed an
interest in automatic (e.g. load-sensitive) memory balancers.  With one
of these, the balancer would be allowed to float the VM's memory within
the dynamic range.  We don't actually have one of these things yet, so
Xend will force the dynamic min and dynamic max to be equal.

> 2) What does "memory/actual" pertain to? A guests usage of the real, 
> physical memory available on the box or its usage of the total memory 
> (which could be more than the physical available) that has been 
> allocated to it?

This is the actual amount of memory being consumed by the VM, as
reported by Xen.  If the VM is behaving itself, then this will move
towards the dynamic_max over time.

Note that some changes to this functionality are being implemented at
the moment.  In particular, memory/actual has moved from VM to a new
VM_metrics class.  This class is documented in the API doc, and will
soon be checked in.

Ewan.

_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-api

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