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

Re: [Xen-users] xenballooning

To: Xen User-List <xen-users@xxxxxxxxxxxxxxxxxxx>, "Fajar A. Nugraha" <fajar@xxxxxxxxx>
Subject: Re: [Xen-users] xenballooning
From: Boris Derzhavets <bderzhavets@xxxxxxxxx>
Date: Thu, 29 Jul 2010 09:10:21 -0700 (PDT)
Cc:
Delivery-date: Thu, 29 Jul 2010 09:13:21 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1280419822; bh=z7hSNrxiEANrYyyKIr9psMNEOUebZ7/gFtnK8BvgRXQ=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=HTAL/HjnLT7ZgPIJA4jealo85GyW2fKTwwz9a0wIO1Ou2MoQp0+z2EpHGScBdedQr0kJEzIpeLI4+5B3ZPy7KW50+TE7IyfiqwmXs4GNUDOzQtF3+10UrHbZAv4v+rIAk4x/UW+yaNiv1g2ONiaBaR6b+EDj1Fb6F5ykHEISX7c=
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=Y0+X5mWbOXHmJaVjtIi4upHDAW6LrpgDwI78ljLMXYhbc1m326SKZ45tQ30yoomcgNd/2Hh+0zGasSKeAf8pLhL6A0UQh+4m+p3TL0YBEviC62kkwNH90bsr6HwUiZSsJ4ZKf6ETYkSY7TXevs/4aTvLshfAVOdUMk7fQLiAUP8=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTimt8QBQrWTH3kUxGBo3TGmpHwaeZJdzFY4wHWN=@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
> (2) Last time I check, it didn't work with Ubuntu Lucid stock pv_ops
> kernel (linux-image-server or linux-image-virtual).

In other words :
# aptitude install linux-image-server
would install pv_ops kernel on Lucid Server ?

What version of kernel it 's supposed to be ?

Boris.

--- On Thu, 7/29/10, Fajar A. Nugraha <fajar@xxxxxxxxx> wrote:

From: Fajar A. Nugraha <fajar@xxxxxxxxx>
Subject: Re: [Xen-users] xenballooning
To: "Xen User-List" <xen-users@xxxxxxxxxxxxxxxxxxx>
Date: Thursday, July 29, 2010, 11:52 AM

On Thu, Jul 29, 2010 at 9:58 PM, Simon Hobson <linux@xxxxxxxxxxxxxxxx> wrote:
> George Shuklin wrote:
>> Can we somehow make balloon inflated at start time? (F.e. VM starts with
>> memory = 512Mb and balloon inflating to +512Mb).
>
> Yes, you can do that, and it took me a while to find out how. In your config
> file put something like this :
> memory  = '512'
> maxmem  = '1024'
>
> As I understnad it, it will start the guest with (in this example) 512M of
> RAM, but you can use "xm mem-set nnn" to increase that within the bounds of
> the maxmem setting. If increasing, the extra memory is hotplugged into the
> client. When decreasing, I assume there is a process for getting the client
> to free up the memory before it is hotplug removed.

Note two caveats:
(1) In order to allow the additional memory to be hot-add later, some
memory needs to be allocated to maintain the maximum amount of memory
address that will be available. And that can be a waste. So while the
above (memory=512/maxmem=1024) is a good example, it wouldn't make
sense to have something like maxmem having 10 times the amount of
memory, cause the overhead will be too big (from my test, the overhead
was about 4.8M or 16% of the original memory with memory=30/maxmem=300
setup)
(2) Last time I check, it didn't work with Ubuntu Lucid stock pv_ops
kernel (linux-image-server or linux-image-virtual). It simply use the
value in "maxmem" from the start. It works great with RHEL-5's
kernel-xen or novell's xenified kernel though.

--
Fajar

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

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>