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] [PATCH] linux/balloon: don't allow ballooningdowna domai

To: "dan.magenheimer@xxxxxxxxxx" <dan.magenheimer@xxxxxxxxxx>, Jan Beulich <jbeulich@xxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] linux/balloon: don't allow ballooningdowna domain below a reasonable limit
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Thu, 01 May 2008 08:01:59 +0100
Cc: Ky Srinivasan <KSrinivasan@xxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, KurtGarloff <garloff@xxxxxxx>
Delivery-date: Thu, 01 May 2008 08:00:47 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20080430174950187.00000002360@djm-pc>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Aciq2837Icx9f6ONQ8iHVW90S2iKiQAP/bIgAA9ev3o=
Thread-topic: [Xen-devel] [PATCH] linux/balloon: don't allow ballooningdowna domain below a reasonable limit
User-agent: Microsoft-Entourage/11.4.0.080122
On 1/5/08 00:49, "Dan Magenheimer" <dan.magenheimer@xxxxxxxxxx> wrote:

> I'm experimenting now with an algorithm which starts
> with vm_committed_space* and adds back in a (for
> now) fixed fraction of 1/32 of total physical
> memory.
> 
> Dan
> 
> * Alas this is not exported so won't work in a module,
> but it seems to be a pretty good estimator of active
> virtual memory usage.

Can't vm_committed_space grow *bigger* than available memory when using
swap? It may indicate the 'static' demand for memory (in terms of requested
allocations so far) but we're interested in dynamic demand (how much of that
allocated memory is actually used), which afaics vm_committed_space doesn't
appear very useful for.

Some indication of paging churn, or average age of pages in memory, or
something like that, would seem more useful (albeit arbitrarily harder to
work out from within the balloon driver!).

Maybe I'm missing something. I've only had a quick look at usage of
vm_committed_space.

 -- Keir



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

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