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] RAM size problem

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] RAM size problem
From: George Shuklin <george.shuklin@xxxxxxxxx>
Date: Mon, 07 Mar 2011 18:37:37 +0300
Delivery-date: Mon, 07 Mar 2011 07:38:24 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type; bh=TyfEu+o/auBX0M+S+05Q5wjUxrqP3Ng2K/iZFTk0qOA=; b=HpTAd4WaYysSzza+7FjyPsmhdY+X0AIyTC99an7JIPP81gGT4NRfM3W0B8dgXHvghy LIpgqSvAmfbw4idH8b96qaABa8I0xbjxfXT43jkZq8humWrkqfig+fvh7OLBSIX3N+g6 +DXwv0xCbYiLSaRqIjCcteFuxAi0ORd35uAbg=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type; b=W7tbMHbfS0IBwGTjZziFm+vlDD8kaLoJqnfEZK6fne0YxUS9bceEyrkHJpXRx89SqZ 8reoHoi40oL8QTZnU3uPdVt5kC27vnSQ3JWBuMOuEBh1PagOmOs8Vwwewq6DZUxrclft UgnWjm2uLR+M14VqnHJAQtByYY78U+MelCDVU=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <112498.82481.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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: <112498.82481.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20110303 Icedove/3.0.11
1) There is an ugly problem for pv_kernels: thay can not raise memory above value at start time.
2) XCP use dynamic memory technology, intended for -xen kernels (not PV), so they use dynamic-min, dynamic-max values to regulate domain memory automatically.

Quick and dirty solution:

shutdown VM and set memory-static-min to same value as memory static max (all 4 values can be changed by 'xe vm-memory-limits-set')

On 07.03.2011 14:24, inas mohamed wrote:
Hi,

I have 5 XCP servers joining a pool.

I have more than 16G physical RAM free and when I tried to allocate 16G RAM for my CentOS VM using:

xe vm-param-set   uuid=my-vm-uuid   memory-static-max=17179869184
xe vm-param-set   uuid=my-vm-uuid   memory-dynamic-max=17179869184


and when:
#  free -m                                     //on my VM
the total was: 6130 
and if:
# free -m -t
Total  11698

why it is not 16G?

Thanks for you help

_______________________________________________ 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