[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] memory allocation


  • To: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
  • From: Paras pradhan <pradhanparas@xxxxxxxxx>
  • Date: Wed, 4 Feb 2009 14:27:41 -0600
  • Cc: Xen Users <xen-users@xxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Wed, 04 Feb 2009 12:28:23 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=LdJ2SIOff31Byv/i9A+tA/4GnMfqphjP8jAtG2KGKHmIaKy1Ie/KMGzqBqkdH1O9qU zw/cnDde/IOrXdqklQ3LSIRvlKdeZFrl01VWBdnl7HF6deIgv1f3FVzeD9blLUxEqo1L gxRXmhvYPTKGvMcs08Z8m0AATjy8J+sVNGFgM=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

On Wed, Feb 4, 2009 at 6:17 AM, Fajar A. Nugraha <fajar@xxxxxxxxx> wrote:
> On Tue, Feb 3, 2009 at 12:44 AM, Paras pradhan <pradhanparas@xxxxxxxxx> wrote:
>> Its showing 345MB instead of 8GB.
>>
>
> When domU starts it "takes away" memory from dom0. Meaning whenever
> (and after) any domU runs, dom0 will be left with less than total
> physical RAM. In your case, dom0 is left with only 345MB.
>
> Sometimes it's more desirable to limit dom0s memory from start and
> prevent it from changing. This is done using some settings on
> xend-config.sxp and kernel parameter.
>
>>
>> xm info o/p:
>>
>> total_memory           : 8165
>> free_memory            : 3583
>>
>
> In your case :
> (1) What does "xm list" show?
> (2) What is the value of "dom0-min-mem" on /etc/xen/xend-config.sxp?
> (3) Have you ever start domUs which (together) takes up about 4.5 GB memory?
>
>
>>
>> What do i need to do to make memory available to my host system from dom0?
>
> In your current state,
>
> xm mem-set 0 3G

This works.. But why the free memory at dom0 is not automatically
available to host.



>
> will tell dom0 to use available memory (as shown from xm info) up to
> 3G total. Try running "xm list" and "xm info" afterwards.
>
> Regards,
>
> Fajar
>

Thanks
Paras.

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.