[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



Dne pÃtek 16 bÅezna 2012 17:28:30 Pandu Poluan napsal(a):
> On Mar 16, 2012 10:21 PM, "Michal Vyoral" <michal.vyoral@xxxxxxx> wrote:
> > 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.
> 
> Could you post the guest's uname -a ?
> 
> Rgds,

[root@pr-idm ~]# uname -a
Linux pr-idm.chmi.cz 2.6.32-220.7.1.el6.x86_64 #1 SMP Wed Mar 7 00:52:02 GMT 
2012 x86_64 x86_64 x86_64 GNU/Linux

Regards,
Michal Vyoral

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