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

Re: [Xen-users] memory allocation



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

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

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