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

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



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?

Thank you very much.

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