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

[Xen-users] Xen inconsistency: what is the memory size of domU?



Hi all,

The results reporting the memory size of domU seem inconsistency .

For example, in my domU settings with 1 GB memory (8MB of them are
taken as VGA memory) where we don't need to concern balloon and PCI &
MMIO holes, I get 4 different reports.

libxc: xc_domain_getinfo()
(1) info.nr_pages == domctl.u.getdomaininfo.tot_pages == 261113 == 1019.9 MB
(2) info.max_memkb == domctl.u.getdomaininfo.max_pages <<
(PAGE_SHIFT-10) == 1049600 KB = 1025 MB ( >1 GB ! )

libxl: libxlDomainGetInfo()
(3) info->memory = d_info.current_memkb = 1044452 KB == 1019.9 MB
(4) info->maxMem = d_info.max_memkb = 1049600 KB == 1025 MB

(5) domU (winxpsp2) reports physical memory 1039916KB == 1015.5 MB
(6) 1 GB = 1024 MB

Is any know the reason? and what is exact the memory size?

Thanks,

Guanglin

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