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

Re: [Xen-users] A difference between allocated and available memory in Xen virtual guest



Hello,
I have tested the memory by the memtest86+. The memory seems to be OK.
I have created the guest by the command

# virt-install --name pr-idm --ram 4000 --disk path=/data/images/pr-idm.img  
--vnc --hvm --cdrom=/var/local/iso/CentOS-6.0-x86_64-minimal.iso

Maybe I had  some improper configuration of the Xen. I leave this
problem unanswered.

Best regards,
Michal Vyoral

Dne pÃtek 16 bÅezna 2012 16:16:32 Michal Vyoral napsal(a):
> Hello,
> I have allocated 4 GB memory for a guest instance on the Xen hypervisor.
> But within the instance there is only 2 GB memory available. See the
> details, the guest is named pr-idm:
> 
> # Allocated memory on the hypervisor
> [root@pr-hyp xen]# xm list
> Name                                      ID Mem(MiB) VCPUs State   Time(s)
> Domain-0                                   0     3846     8 r-----   5382.2
> ldms                                       4     2007     2 -b----   2658.4
> pr-idm                                     8     4007     2 -b----     15.1
> pr-wstat                                   3      507     1 -b----    931.7
> test_ldap1                                 5      775     2 -b----    127.7
> test_ldap2                                 6      775     2 -b----    201.5
> 
> # Available memory on the guest
> [root@pr-idm ~]# free
>              total       used       free     shared    buffers     cached
> Mem:       2008344     140844    1867500          0       6016      31984
> -/+ buffers/cache:     102844    1905500
> Swap:            0          0          0
> 
> # Distribution of the guest
> [root@pr-idm ~]# cat /etc/issue
> CentOS release 6.2 (Final)
> Kernel \r on an \m
> 
> # Distribution of the hypervisor
> [root@pr-hyp xen]# cat /etc/issue
> CentOS release 5.7 (Final)
> Kernel \r on an \m
> 
> # Versions of the Xen packages
> [root@pr-hyp xen]# rpm -qa | grep xen
> kernel-xen-2.6.18-274.3.1.el5
> kernel-xen-2.6.18-308.1.1.el5
> xen-libs-3.0.3-135.el5_8.2
> xen-3.0.3-135.el5_8.2
> kernel-xen-2.6.18-274.18.1.el5
> xen-libs-3.0.3-135.el5_8.2
> 
> Could it be some problem with the memory usage?
> Thank you.
> 
> Best regards,
> Michal Vyoral
> 
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxx
> http://lists.xen.org/xen-users

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