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, George Shuklin <george.shuklin@xxxxxxxxx>
Subject: Re: [Xen-users] RAM size problem
From: inas mohamed <inas_2003@xxxxxxxxx>
Date: Mon, 7 Mar 2011 22:42:01 -0800 (PST)
Cc:
Delivery-date: Mon, 07 Mar 2011 22:43:27 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1299566521; bh=FCj/tc2/zltjUAcOVJlPW9BZfc/51MyJ0K1APB4hcJ8=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=fyn/ClTMoAtjFJOZpCwcjuxK/S9NX7BtmQDtGPP3ua3KowJ5rxEV1uPX0OQGl2npPGs/6zvmqCGHKm3MUFSZaMhASKmRhHAdPlvRXREMguabhl4lc1zgv4qM6qNcT5V7QRy7uNH902fpSRVjp/S+Ut9MEfGcNPZuOgibUyRy/Lo=
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=IOwIiQ7tTi/TUVvruI5x3GqJSkqIscomyeD598WZiK69Q+s5pmxALZxKjtGFzV97Av+vq6XamOLbDqBKZeH99x9ur6lIk9i8ZBT8hRpozyKhTEqv7sKTA+40o32SYc6xJpVhcD32gYpd323LN19FgzOUaZXUm7fSV28zIJXJTuo=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4D74FBC1.6080300@xxxxxxxxx>
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
Thanks for your reply.

I have another problem, now after assigning the values to my VM I tried to start it up but I received the following error:
There are no suitable hosts to start this VM on.

now I added more hosts to the pool and I already have free memory on some of them (in the pool ) but I don't have shared storage, when I created the VM I used:

xe vm-install template="$VM_OS_UUID" new-name-label="$VM_NAME" $XCP_ID     sr-uuid=”sr-uuid of targeted Xen Host”)

so now my xen server is trying to start this VM on the same host who has the sr of this VM  and giving me cannot start here [ Not enough free memory]

why it is not taking the memory from the pool I already have other hosts with enough free memory??

Thanks again.
Inas
--- On Mon, 3/7/11, George Shuklin <george.shuklin@xxxxxxxxx> wrote:

From: George Shuklin <george.shuklin@xxxxxxxxx>
Subject: Re: [Xen-users] RAM size problem
To: xen-users@xxxxxxxxxxxxxxxxxxx
Date: Monday, March 7, 2011, 5:37 PM

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

-----Inline Attachment Follows-----

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