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/
Home Products Support Community News


Re: Re: [Xen-devel] Balloon driver for Linux/HVM

To: Daniel Kiper <dkiper@xxxxxxxxxxxx>
Subject: Re: Re: [Xen-devel] Balloon driver for Linux/HVM
From: Chu Rui <ruichu@xxxxxxxxx>
Date: Wed, 17 Nov 2010 22:05:40 +0800
Cc: "Xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 17 Nov 2010 07:44:51 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=Z/djP7ezaRXglHVI4E5x+r0MUdTGd1LuZ2HJqXVDksc=; b=qIUDAQmK+mbiGMPl5/4kXrX0FdBuZdsWe4d6K1yKHtXZiPeu7BgU6cwqdkL9MoevN0 J85VQpgDQCJD6v6y6xd6g23bSc3cjbRNWFPZJDNurkppyeDwO2uVevUV8Jehz8NraWsO GTtwtF0tIjPnMqf8yPZvyBuyjFDXCV3VQp5PY=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=eIDWC8BXp07+Tr2QPXhOPKUFWGTBrxSkpEOutP6UajoeApTSnP4B9O7PXcu4aaTrTq s5WidL94s3eqLhWf3q/u6W8lC0ry/9cGZn2SjkVjJY66ySArJLyb/QspM6YwU6OThhl9 2Siaj0tofqJFU8CK7/O3Wd/5gAC7DAXgVsrU4=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20101117130400.GA20940@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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>
References: <AANLkTimG5Z3FFrKc21Mtfg-q3eF-aEPEeWZ1cfEDqB7D@xxxxxxxxxxxxxx> <alpine.DEB.2.00.1011161133350.2373@kaball-desktop> <1ae18b.16279.12c547ff769.Coremail.topperxin@xxxxxxx> <AANLkTinEEc=3rFaoWBPrD4zrGU_dqR5s4rmW74jJH543@xxxxxxxxxxxxxx> <AANLkTimgiR1a_BYQiTLK=5pKtfqH7LNaS2CNgYAimpeO@xxxxxxxxxxxxxx> <AANLkTim6MWmcLOJrAjf5K9ydAUGXuOnbw-0KGvLqACtn@xxxxxxxxxxxxxx> <AANLkTi=5Vzv9Jh5kdKN55WVak9Y5Axy7tq60RYJCe-7G@xxxxxxxxxxxxxx> <AANLkTikZfJOTw+h3SkcmqRgexwCJOJqVGo4DxYx8fmef@xxxxxxxxxxxxxx> <20101117130400.GA20940@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Nice to hear that!
In my image, the memory hotplug only works in the PV guest. Did you figured out an HVM version? If so, could you tell me the method you are using? Maybe binary patching with an HVM driver?

2010/11/17 Daniel Kiper <dkiper@xxxxxxxxxxxx>

On Wed, Nov 17, 2010 at 07:50:18PM +0800, Chu Rui wrote:
> You are right, so balloon is an important tool to adjust the capacity of the
> buffer caches among the guests. But balloon is usually criticized for its
> long reactive time. Would you please tell me how slow it is? Can we
> temporarily suspend the guest when the balloon deflating speed is not as far
> as required?
> Furthermore, with HVM, the balloon does not work when the guest is short of
> memory and swapping, even the host has a lot of surplus at that time.
> Besides promise a large size to the booting guest, it there any better way?

Yes, it is - memory hotplug. Now it is under development. Currently,
I am waiting for some comments for new version of patch. I will make
it public when I receive those reviews.


Xen-devel mailing list