[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
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,
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users
|