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: "Steffen Heil" <lists@xxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] Allocate more Memory than real
From: "Artur Baruchi" <mail.baruchi@xxxxxxxxx>
Date: Tue, 9 Sep 2008 21:29:58 -0300
Cc: Xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 09 Sep 2008 17:30:35 -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=b6RvqwgpZ31+rXdpk3kLG43KCaqXBN86bbitvp0tZx8=; b=Qy2sjJrTdcKo/+VUzPUj2GZgdHuj0uRZH6FdJm48FqDHFMZD8+SQLD2LJMaAaIqkOw Gv2mg+hYE3c25aDF7znjnVzI3ixZ1eHRY82Y/W7Ddn6j4NFH+x2YxEiCPsWuw6FC9MjZ wPkG6UF5YnC8Fr8oWteAlgWK30hODlRwI2HaA=
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=P32z0v00H05TudGfYm6JWpYc+pKNFDzbZxhxyghta3nEuVxMgZ5XuZvWdLpZF50kO3 uijXzqam5cw/2CEj1QDVDhrU+Ap9YaNITrmOpETh7MzXaTeTePTCMah82TkKJmUUuq6a X4J3szOgCIv7onZZlA+yNOo5ZcNgZbi06p440=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <006501c912ce$b0cc45f0$1264d1d0$@de>
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
I see now.
This balloon has the same behavior of ESX Balloon driver
(http://www.usenix.org/events/osdi02/tech/waldspurger/waldspurger_html/node6.html).

One thing that I noted is.. when a new guest domain is create, the
dom0 limit is changed to memory_size - vm_memory_size. When I destroy
this guest, the dom0 still has the new limit, this isnt changed back
to memory_size.

Thanks in advance,

Att.
Artur Baruchi


On Tue, Sep 9, 2008 at 7:52 PM, Steffen Heil <lists@xxxxxxxxxxxxxxx> wrote:
> Hi
>
>> Is possible in xen to allocate more memory to virtual machines than the
> real  memory?
>
> Yes and No.
>
> You can "prepare" domUs to use some amount of memory, and then assign it
> some lower memory.
>
> The sum of all "prepared" memory sizes MAY exceed the total amount of real
> memory.
> The sum of the assigned memory sizes MAY NOT exceed the total amount of real
> memory.
>
> Also note, that the dom0 itself also counts. (It usually is prepared to use
> ALL memory and only uses what's left from the domUs.)
>
> Also note, that "total or real memory" in this context always refers to the
> amount of memory you have physically installed MINUS the memory Xen itself
> needs/uses.
> So the sum of all running domains (including dom0) can never reach you
> physical memory limit.
>
> Regards,
>  Steffen
>
>

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