From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Bareiro Subject: Re: Swap usage with KVM Date: Mon, 2 Aug 2010 16:52:57 -0300 Message-ID: <20100802195257.GL21963@defiant.freesoftware> References: <20100711151257.GA13279@defiant.freesoftware> <20100711191227.GD9267@defiant.freesoftware> <4C3A3C77.2010408@redhat.com> <20100802185705.GJ21963@defiant.freesoftware> <4C571D23.3040802@redhat.com> Reply-To: dbareiro@gmx.net Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Mjqg7Yu+0hL22rav" Cc: dbareiro@gmx.net, KVM General , "hugh.dickins@tiscali.co.uk" To: Rik van Riel Return-path: Received: from mailout-de.gmx.net ([213.165.64.22]:57072 "HELO mail.gmx.net" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with SMTP id S1753495Ab0HBTxE (ORCPT ); Mon, 2 Aug 2010 15:53:04 -0400 Content-Disposition: inline In-Reply-To: <4C571D23.3040802@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: --Mjqg7Yu+0hL22rav Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, Rik. On Monday, 02 August 2010 15:31:47 -0400, Rik van Riel wrote: >>>>> I have an installation with Debian GNU/Linux 5.0.4 amd64 with >>>>> qemu-kvm 0.12.3 compiled with the source code obtained from the >>>>> official site of KVM and Linux 2.6.32.12 compiled from source code >>>>> of kernel.org. All this is installed on an HP Proliant DL380 G6 >>>>> with two Xeon E5530 quadcore processors and 16 GiB of RAM which >>>>> has two VMs with the following configuration of memory: >>>>> >>>>> Hostname | RAM >>>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D+=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D >>>>> Aps4 | 7 GiB >>>>> Leela | 7 GiB >>>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D+=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D >>>>> TOTAL | 14 GiB >>>>> >>>>> Initially the host was created with a swap partition of 1 GiB, but >>>>> today we found that the use of swap quickly began to grow >>>>> increasingly. Therefore, as a contingency, we had to hot-add a >>>>> logical volume of 1 GB of swap on the VMHost. Is 'normal' this use >>>>> of memory? >>> That depends on what is going on in the host. >>> >>> Did you notice any performance issues in the guest when you started >>> using swap? >> After the logical volume of 1 GB that I added when I found this >> problem (being the operating system with 2 GB), I added other 3 GB to >> have a little more margin, but today I got again a new alert of >> Nagios: >> >> >> Swap usage WARNING [...] SWAP WARNING - 30% free (1490 MB ou= t of 5052 MB) >> >> >> I don't see performance issue in the VMs. >> >> Marcelo Tosatti recommended me to apply the EPT patch >> (6316e1c8c6af6ccb55ff8564231710660608f46c). Should it be safe for use in >> production? Are there plans that this patch is applied on some version >> of Linux stable? > Yes, that patch is safe and definitely recommended. Perfect. Thanks for so fast answer. And there are some estimates of when this patch is in Linux stable? Regards, Daniel --=20 Mi frase del d=EDa: BOFH excuse #281: The co-locator cannot verify the frame-relay gateway to the ISDN server. Daniel Bareiro - GNU/Linux registered user #188.598 Proudly running Debian GNU/Linux with uptime: 16:44:53 up 23 days, 21:37, 11 users, load average: 0.02, 0.06, 0.08 --Mjqg7Yu+0hL22rav 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) iEYEARECAAYFAkxXIhkACgkQZpa/GxTmHTc1CgCfastBN6OLsJl5Ep1t567C7eNO zc4An0Q0ttTK1/ywranomsGVEzuQuUMo =Mp/9 -----END PGP SIGNATURE----- --Mjqg7Yu+0hL22rav--