From: Ian Campbell Subject: Re: [PATCH] RFC: initial libxl support for xenpaging Date: Mon, 27 Feb 2012 09:44:37 +0000 Message-ID: <1330335877.8557.253.camel@zakaz.uk.xensource.com> References: <1329486241.3131.81.camel@zakaz.uk.xensource.com> <20120217142505.GA10523@aepfle.de> <1329490712.3131.97.camel@zakaz.uk.xensource.com> <20120217152443.GA16995@aepfle.de> <1329492796.3131.104.camel@zakaz.uk.xensource.com> <20120217154346.GA19731@aepfle.de> <1329494069.3131.109.camel@zakaz.uk.xensource.com> <20120217160341.GA22266@aepfle.de> <1329496998.3131.131.camel@zakaz.uk.xensource.com> <20120220111230.GA5856@aepfle.de> <1329818358.25232.64.camel@dagon.hellion.org.uk> <1329826841.2196.85.camel@elijah> <1329993761.8557.66.camel@zakaz.uk.xensource.com> <1329999531.19361.74.camel@elijah> <1330078304.8557.157.camel@zakaz.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: "andres@lagarcavilla.org" Cc: George Dunlap , Olaf Hering , "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On Fri, 2012-02-24 at 17:12 +0000, Andres Lagar-Cavilla wrote: > Sharing + balloon is mostly a bad idea. It's not forbidden or broken > from the hypervisor angle, but it's a lose-lose game. Ballooning a > shared page gains you nothing. The ballooner can't know what is shared > and what isn't, in order to make an educated decision. And the sharer > can't foresee what the balloon will victimize. Doesn't ballooning generally evict unused pages, because it allocates new _free_ pages, even if they were shared is there any benefit to doing so? Or is it more of a second order effect, e.g. ballooning can cause the guest to swap out stuff which could have been shared? Ian.