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

Re: [Xen-users] How does domU memory allocation work?



On Fri, Nov 21, 2014 at 5:16 PM, Marco Guazzone
<marco.guazzone@xxxxxxxxx> wrote:
> Hi,
>
> I don't understand how Xen memory allocation works.
>
> Suppose you create a HVM domU with:
>
> maxmem = 3072
> memory = 3072
>
> Now, if I quey Xen I gen
> * xl list:
>     Name  ID   Mem VCPUs    State    Time(s)
>     testvm   1  3067     1     -b----      12.8
> * xenstore-ls:
>     static-max = "3145728"
>     target = "3137536"
>      videoram = "8192"
> *  xl top:
>      MEM(k) MEM(%)  MAXMEM(k) MAXMEM(%)
>      3141600        3.1         3146752              3.1
>
> So, for the max memory, we have:
>
> CFG_MAXMEM == XENSTORE_STATIC_MAX  <  XL_TOP_MAXMEM
>
> While, for the current memory, we have:
>
> XENSTORE_TARGET < XL_TOP_MEM < CFG_MEMORY < XL_LIST_MEM
>
> I'm really confused.
>
> Could you explain how it works?
>

I've just realized I forgot to mention my setup:

Fedora 20 x86_64
kernel: 3.17.3-200
Xen: 4.3.3-3


Thank you very much for any help.

Best,

-- Marco

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users


 


Rackspace

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