[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] Xen inconsistency: what is the memory size of domU?
On Fri, 2013-08-09 at 20:37 -0400, Guanglin Xu wrote: > 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? You might find docs/misc/libxl_memory.txt useful? > and what is exact the memory size? info.nr_pages I think is the actual use at the point at which the state snapshot was taken, but it will vary as PV drivers do their thing etc. Ian. _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxx http://lists.xen.org/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |