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>, Alan Cox <alan@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] linux/balloon: don't allow ballooningdowna domain below a reasonable limit
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Fri, 02 May 2008 08:05:07 +0100
Cc: Ky Srinivasan <KSrinivasan@xxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, KurtGarloff <garloff@xxxxxxx>, Jan Beulich <jbeulich@xxxxxxxxxx>
Delivery-date: Fri, 02 May 2008 00:05:25 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20080501172753703.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: Acir4vjMmun6nBQMSpW/phdu9vBZbAAP+Fop
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 2/5/08 00:27, "Dan Magenheimer" <dan.magenheimer@xxxxxxxxxx> wrote:

>> There are better ways to measure memory pressure - sizes of the various
>> active and inactive lists etc. OLPC has code for this and a proposed
>> memory pressure notifier feature that they use to allow user space apps
>> to cleanup.
> 
> Definitely agreed that vm_committed_space is just intended to be
> a first order approximation.  It also has the advantage of having
> been around awhile so that the balloon driver will work with many
> distros rather than require a TBD memory pressure indicator.
> 
> Alan, do you have a pointer to the proposed OLPC code?
> 
> Keir, I'm working on some xenbus support and will submit an
> updated patch, probably early next week.  I also have a horrible
> hack to work in a module, but I suspect that will get jettisoned. ;-)

Okay, I will comment when I see it. I'm not sure what design you are working
on: perhaps extract memory stats from the guest via xenbus and implement
ballooning policy in dom0? That is what I would prefer to see. The Novell
ballooning-limit checks were only added as a safety backstop in the guest
itself. Apart from tweaking it to make it less conservative where we are
confident that is safe, any more complicated policy, and of course and
cross-domain global optimisation, doesn't belong in the individual guests.

 -- Keir



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

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