From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Bareiro Subject: Re: Very high memory usage with KVM Date: Sun, 26 Jul 2009 12:50:12 -0300 Message-ID: <20090726155012.GE31411@defiant.freesoftware.org> References: <20090725174340.GA21733@defiant.freesoftware.org> <4A6C3EAD.9040303@redhat.com> <20090726145603.GD31411@defiant.freesoftware.org> <4A6C721F.8030702@redhat.com> Reply-To: dbareiro@gmx.net Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="YkJPYEFdoxh/AXLE" To: KVM General Return-path: Received: from mail.gmx.net ([213.165.64.20]:54125 "HELO mail.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1753699AbZGZPuR (ORCPT ); Sun, 26 Jul 2009 11:50:17 -0400 Received: from defiant (defiant.freesoftware.org [10.1.0.65]) by hermes.freesoftware.org (Postfix) with ESMTP id D983D98D for ; Sun, 26 Jul 2009 12:47:44 -0300 (ART) Content-Disposition: inline In-Reply-To: <4A6C721F.8030702@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: --YkJPYEFdoxh/AXLE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Avi On Sunday, 26 July 2009 18:11:27 +0300, Avi Kivity wrote: > >>What is the storage configuration? Are you using qcow2? > >I'm not using qcow2 files. The /dev/cciss/c0d0p3 partition is a > >physical volume that maintains the logical volumes that are used for > >VM's disks: =20 > In this case there should be no excessive memory usage. qcow2 could > use extra memory, especially on older qemu-kvm versions (or images > created with older qemu-img versions). =20 > >>What is the host kernel (uname -a)? > >root@ss02:~# uname -a > >Linux ss02 2.6.24-19-server #1 SMP Wed Aug 20 18:43:06 UTC 2008 x86_64 G= NU/Linux > kvm memory management with pre 2.6.27 host kernels is pretty weak. > Using a newer host kernel (and newer kvm) may solve this problem. Initially I am going to see how it improves the situation upgrading to KVM-84 of backports of Hardy Heron, since at the moment last kernel available for Hardy is the one I has commented. I would like to know if the newest versions of KVM published in the official site of the project solve a bug recently reported in Ubuntu Launchpad [1]. Also I was observing errors of type 'to swapper Not tainted' or 'java Not tainted' in the VM (aps2, with a high rate of I/O) and that I've commented in a previous message sent to the list [2]. I would want to know if you could indicate to me if this can be due to KVM bug that would be solved in a later version. Thanks for so quick reply. Regards, Daniel [1] https://bugs.launchpad.net/ubuntu/+source/kvm/+bug/359447 [2] http://thread.gmane.org/gmane.comp.emulators.kvm.devel/37631 --=20 Fingerprint: BFB3 08D6 B4D1 31B2 72B9 29CE 6696 BF1B 14E6 1D37 Powered by Debian GNU/Linux Squeeze - Linux user #188.598 --YkJPYEFdoxh/AXLE Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkpsezQACgkQZpa/GxTmHTfq6gCfS59ZMrl4RsmvSTFBLtVMPKaJ G/kAn38PirSkthRzzM7rk5Rm18uTMb2U =okfd -----END PGP SIGNATURE----- --YkJPYEFdoxh/AXLE--