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

[Xen-devel] Why does xc_domain_getinfolist() think 256 == 244?



Hi,

I am using xc_domain_getinfolist() on x86_32 and have noticed something
rather odd.

If a dom-u is allocated 256 MB , xc.curmem thinks its 244.

We take curmem, and divide it by (1024 * 1024). Any other multiple of 1,
2, 4, 8 (and more) is accurate .. however if curmem == 256, we've lost
12 * (1024 * 1024).

To reproduce, start 3 mini-os guests with 256 MB of ram, use
xc_domain_getinfolist() and see what it says :) I'm working with the
current tip of xen-unstable.

Yet, xm list reports the memory accurately.

I'm puzzled.

Regards,
--Tim






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


 


Rackspace

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