From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Bareiro Subject: Re: Swap usage with KVM (and KSM) Date: Fri, 27 Aug 2010 07:04:34 -0300 Message-ID: <20100827100434.GA12203@defiant.freesoftware> References: <20100711151257.GA13279@defiant.freesoftware> <20100711191227.GD9267@defiant.freesoftware> <4C3A3C77.2010408@redhat.com> <20100802185705.GJ21963@defiant.freesoftware> <4C571D23.3040802@redhat.com> <20100802195257.GL21963@defiant.freesoftware> <4C5728F6.3070703@redhat.com> Reply-To: dbareiro@gmx.net Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="3MwIy2ne0vdjdPXF" 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]:57256 "HELO mail.gmx.net" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with SMTP id S1751068Ab0H0KEl (ORCPT ); Fri, 27 Aug 2010 06:04:41 -0400 Content-Disposition: inline In-Reply-To: <4C5728F6.3070703@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: --3MwIy2ne0vdjdPXF Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, Rik. On Monday, 02 August 2010 16:22:14 -0400, Rik van Riel wrote: >> And there are some estimates of when this patch is in Linux stable? > It should be there already in 2.6.33-stable and 2.6.34-stable. In a test environment I have Linux 2.6.34.5 compiled with the source code from kernel.org and qemu-kvm 0.12.4 installed from the Backports repository of Debian GNU/Linux. In this environment I have running the following virtual machines: * 2 x OpenBSD (2 x 512 MB) | * 2 x Debian GNU/Linux (2 x 256 MB) | * 2 x Debian GNU/Linux (2 x 512 MB) +--=3D 11008 MB * 1 x Centos 5.5 (1 x 256 MB) | * 8 x Debian GNU/Linux (8 x 1024 MB) | I'm just starting to test KSM, so I was using as reference the read of the tests made by RedHat about run as many as 52 Windows XP VMs with 1 GB of RAM each on a server with just 16 GB of RAM. In the previous case the ratio would be 52/16 =3D 3.25. In my case the VMHost has 4 GB of RAM, so the ratio would be 10.75/4 =3D 2.6875. In RH tests do not talk about the amount of swap used in that case, so I wonder if a distribution of VMs as I have, it is normal to use 290 MB of swap. Regards, Daniel --=20 Mi frase del d=EDa: BOFH excuse #335: the AA battery in the wallclock sends magnetic interference Daniel Bareiro - GNU/Linux registered user #188.598 Proudly running Debian GNU/Linux with uptime: 05:57:46 up 48 days, 10:50, 11 users, load average: 0.01, 0.04, 0.06 --3MwIy2ne0vdjdPXF 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) iEYEARECAAYFAkx3jbIACgkQZpa/GxTmHTdF4QCfXGOzpGn7nYtFjh+kxfL60QVG E9gAmgPRsMuOguMr/FpemE+rltRR7ZRT =jScD -----END PGP SIGNATURE----- --3MwIy2ne0vdjdPXF--