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] Allocate more Memory than real

To: deshantm@xxxxxxxxx
Subject: Re: [Xen-users] Allocate more Memory than real
From: "Artur Baruchi" <mail.baruchi@xxxxxxxxx>
Date: Wed, 17 Sep 2008 21:19:15 -0300
Cc: Steffen Heil <lists@xxxxxxxxxxxxxxx>, Xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 17 Sep 2008 17:19:53 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=3kWuijvRa7GD5dvSE7fajAQIq2TgIJ/Ukm+TY40iJfg=; b=dgbypXKPLSFOTZN6gBqia8CtNB3ULm3sE2H77Vc5d+nW1w+OQBnoYdfvYxIcg72pxJ msOTtG5ljtwebXIuvHZObD8z0HJ/lPXnJGaZsjbJa3PMbPAaiIgeJDie9QWu+VUwjgr2 khJ5Y/VUpZtXrfPIp69ZY+mq8+xO3wGpWRg2I=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=OcEzXp2q5qGJHGMqeFMY0eN3mO0p/yi+jf1Jsdg35q1ylJKXuB5gRRfNZzDNGUpkfF GWPYsy9qzrMk64JDxhi9PLG9rMKaN+PpoWgN8Nv7fII8MV6L997k//1WibD2a7QUAszS m0DqOya7kOjlJioLpQvM/VtaXl0SyoJq6Vnck=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <e3977d9c0809171646h785d2286mdb74099bde673a48@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>
References: <e3977d9c0809091257h4c4d34ecvae1a918808bbaf7e@xxxxxxxxxxxxxx> <006501c912ce$b0cc45f0$1264d1d0$@de> <e3977d9c0809091729n22c59093v786684526c70e155@xxxxxxxxxxxxxx> <1e16a9ed0809131643s56e8cc69gc8a5a6c49fc3efe@xxxxxxxxxxxxxx> <e3977d9c0809171646h785d2286mdb74099bde673a48@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Forget my answers... I discovered what is..
The free command uses /proc/meminfo to get memory information... this
entry, uses the totalram_pages and this "variable" is updated by
balloon...
Its more efficient than memory hotplug, since hotplug works just large
amount of memory..

Anyway.. thanks!

Att.
Artur Baruchi


On Wed, Sep 17, 2008 at 8:46 PM, Artur Baruchi <mail.baruchi@xxxxxxxxx> wrote:
> I did the same thing using xen 3.2 latter. I retrieve some memory and
> create new guests. The sum of all domU's memory is greater than real
> memory.
> And, I saw something nice... when I return some memory to xen the
> guest see this and update the memory available to the SO, for example,
> If the guest has 1gb and I use commands like "free" or "top", I see
> 1gb. When I return 512M to xen, this commands show me an updated value
> of 512M of available memory.
>
> So... Does xen implement some kind of Hotplug Memory for
> paravirtualized guests?
>
> And thanks for the last paper... I got some ideas from there...
>
> Att.
> Artur Baruchi
>
>
> On Sat, Sep 13, 2008 at 8:43 PM, Todd Deshane <deshantm@xxxxxxxxx> wrote:
>> Xen 3.3 supports memory overcommitment now.
>>
>> see:
>> http://blog.xen.org/index.php/2008/08/27/xen-33-feature-memory-overcommit/
>>
>> Cheers,
>> Todd
>>
>>
>> --
>> Todd Deshane
>> http://todddeshane.net
>> check out our book: http://runningxen.com
>>
>

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

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