From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Bareiro Subject: Re: Memory usage with qemu-kvm-0.12.1.1 Date: Sun, 27 Dec 2009 15:07:33 -0300 Message-ID: <20091227180733.GA2035@defiant.freesoftware> References: <20091227155107.GK7104@defiant.freesoftware> <4B378546.6070104@redhat.com> <20091227170058.GL7104@defiant.freesoftware> <4B379753.6080004@redhat.com> <4B379A6B.1050202@redhat.com> Reply-To: dbareiro@gmx.net Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="EeQfGwPcQSOJBaQU" To: KVM General Return-path: Received: from mail.gmx.net ([213.165.64.20]:50935 "HELO mail.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1750823AbZL0SHj (ORCPT ); Sun, 27 Dec 2009 13:07:39 -0500 Received: from defiant (defiant.freesoftware [10.1.0.65]) by hermes.freesoftware (Postfix) with ESMTP id 4955B999 for ; Sun, 27 Dec 2009 15:08:41 -0300 (ART) Content-Disposition: inline In-Reply-To: <4B379A6B.1050202@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: --EeQfGwPcQSOJBaQU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, Avi. On Sunday, 27 December 2009 19:33:31 +0200, Avi Kivity wrote: >>>> Also, qemu might be leaking memory. Please post 'pmap $pid' for >>>> all of your guests (do that before any of the other tests, on your >>>> swapped-out system). >>> --------------------------------------------------------------------- >>> >>> total 626376K >>> >>> total 626472K >>> >>> total 626396K >>> >>> total 635292K >>> >>> total 625388K >> These all seem sane. So it's a swap regression, hopefully >> 2.6.32.something will have a fix. It draws attention to me that I didn't have this problem with qemu-kvm-0.12.0-rc2 but after updating to qemu-kvm-0.12.1.1. Mmmm... thinking a little, I made the update to see if with 0.12.1.1 no longer had the problem with the e1000 network interface in OpenBSD. Therefore, I only shutdown an boot this VM and not all. Could it have caused that increase in the swap usage? In both cases the used version of kernel was the same. > btw, does your system have ept? > > $ cat /sys/module/kvm_intel/parameters/ept It doesn't have: root@ubuntu:~# ls /sys/module/kvm_amd/parameters/ nested npt root@ubuntu:~# uname -a Linux ubuntu 2.6.32-dgb #1 SMP Mon Dec 14 06:18:06 ART 2009 x86_64 GNU/Linux Thanks for your reply. Regards, Daniel --=20 Fingerprint: BFB3 08D6 B4D1 31B2 72B9 29CE 6696 BF1B 14E6 1D37 Powered by Debian GNU/Linux Lenny - Linux user #188.598 --EeQfGwPcQSOJBaQU 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) iEYEARECAAYFAks3omUACgkQZpa/GxTmHTeGMACglWwiSNHUC3jv1yC0UexmPs1T GvUAn2I3FdbVBi5FoMHv29+GH7f1v2/R =lPYq -----END PGP SIGNATURE----- --EeQfGwPcQSOJBaQU--