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] Set memory free after shutdown

To: deshantm@xxxxxxxxx
Subject: Re: [Xen-users] Set memory free after shutdown
From: Daniele Piaggesi <d.piaggesi@xxxxxxxxxxxx>
Date: Mon, 21 Jan 2008 14:23:48 +0100
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 21 Jan 2008 05:24:21 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1e16a9ed0801182006x2353e57ard57afa08aea5e66b@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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <4790E375.2000000@xxxxxxxxxxxx> <1e16a9ed0801182006x2353e57ard57afa08aea5e66b@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.6 (X11/20071022)


Todd Deshane wrote:
You should look into the dom0_mem Xen boot option to adjust this.
http://tx.downloads.xensource.com/downloads/docs/user/#SECTION04130000000000000000

It seems that dom0 could then reclaim up to that (dom0_mem) maximum amount of memory freed by VMs.

First of all thanks for help. Anyway I think that my problem should be a bit different. I notice that if I have a physical machine with (for example) 4Gb of Ram, and I start 3 virtual machine each one with 1Gb of Ram, the dom0 results to have the remaining free memory, that is 1Gb. So far so good. But if I stop one virtual machine (then the virtual machines used memory decrease to only 2Gb), dom0 still results to have only 1Gb. Then I think: Where is the giga released? And above all: why the memory released don't increase automatically, the dom0 memory (that is the physical host memory)? Is there a way to adjust this?

I don't know if my analysis is correct or if there's another way, or I'm doing something wrong, 'cause I'm not very expert about Xen, but I would to release to dom0, the memory previously used for one vm now stopped.

Thanks :)
Daniele

--
Daniele Piaggesi
Linux System Administrator
--------------------------
(Pro-Netics) S.p.A.
Sourcesense - making sense of OpenSource
http://www.pronetics.it
Via E. L. Cerva 127/C
00142 Roma - Italy
Tel (+39) 0651530849
Mob (+39) 3286176226

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