This was brought up last month in the dev mailing list, look for 'KVM
memory overprovision breaking me'.
http://mail-archives.apache.org/mod_mbox/cloudstack-dev/201401.mbox/date?16

This explains the background behind it quite well:
http://blog.braastad.org/?p=211

'rmmod virtio-balloon' is a temporary fix, however I am running KVM with 4.2.0
and I have never had this issue (currentMemory always equals memory).

Marty




On Wed, Feb 5, 2014 at 8:10 PM, motty cruz <motty.c...@gmail.com> wrote:

> Hi, Thanks for your reply
>   <name>i-2-95-VM</name>
>   <uuid>129a3e1b-ce45-4d9f-9f3f-af95b82dfe09</uuid>
>   <description>Other PV (64-bit)</description>
>   <memory unit='KiB'>8388608</memory>
>   <currentMemory unit='KiB'>4194304</currentMemory>
>   <vcpu placement='static'>2</vcpu>
>   <cputune>
>     <shares>2000</shares>
>   </cputune>
>   <os>
>     <type arch='x86_64' machine='rhel6.5.0'>hvm</type>
>     <boot dev='cdrom'/>
>
>
> in the machines :
> [root@hdp1 ~]# free -m
>              total       used       free     shared    buffers     cached
> Mem:          3774       3610        164          0          4        553
> -/+ buffers/cache:       3052        722
> Swap:         7999       1692       6307
>
> [root@hdp1 ~]# uname -a
> Linux hdp1.fqdn.com 2.6.32-431.3.1.el6.x86_64 #1 SMP Fri Jan 3 21:39:27
> UTC
> 2014 x86_64 x86_64 x86_64 GNU/Linux
>
>
>
>
> On Wed, Feb 5, 2014 at 11:46 AM, Marty Sweet <msweet....@gmail.com> wrote:
>
> > Also, it might be worth confirming the VM is 64bit.
> >
> > # uname -a
> >
> > Marty
> >
> >
> > On Wed, Feb 5, 2014 at 7:44 PM, Marty Sweet <msweet....@gmail.com>
> wrote:
> >
> > > Hi,
> > >
> > > Can you run the following command on the hypervisor where the VM
> resides:
> > >
> > > # virsh dumpxml i-X-XX
> > >
> > > Where i-X-XX is the internal system name of the VM.
> > >
> > > Marty
> > >
> > >
> > > On Wed, Feb 5, 2014 at 6:55 PM, motty cruz <motty.c...@gmail.com>
> wrote:
> > >
> > >> Hello All,
> > >> I created a System Offering with 2 Core CPU and 8GB or RAM.
> > >>
> > >> when I build the first Instance it only had 3GB, a CentOS VM 64bit
> > >> less /proc/meminfo
> > >> MemTotal: 3865376 KB.
> > >>
> > >> any idea how to fix this issue?
> > >>
> > >
> > >
> >
>

Reply via email to