From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric B Munson Subject: Re: [PATCH v2 6/7] KVM-GST: adjust scheduler cpu power Date: Thu, 16 Jun 2011 20:49:10 -0400 Message-ID: <20110617004910.GG27252@mgebm.net> References: <1308262856-5779-1-git-send-email-glommer@redhat.com> <1308262856-5779-7-git-send-email-glommer@redhat.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="BzCohdixPhurzSK4" Cc: kvm@vger.kernel.org, linux-kernel@vger.kernel.org, Rik van Riel , Jeremy Fitzhardinge , Peter Zijlstra , Avi Kivity , Anthony Liguori To: Glauber Costa Return-path: Content-Disposition: inline In-Reply-To: <1308262856-5779-7-git-send-email-glommer@redhat.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org --BzCohdixPhurzSK4 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, 16 Jun 2011, Glauber Costa wrote: > This is a first proposal for using steal time information > to influence the scheduler. There are a lot of optimizations > and fine grained adjustments to be done, but it is working reasonably > so far for me (mostly) >=20 > With this patch (and some host pinnings to demonstrate the situation), > two vcpus with very different steal time (Say 80 % vs 1 %) will not get > an even distribution of processes. This is a situation that can naturally > arise, specially in overcommited scenarios. Previosly, the guest scheduler > would wrongly think that all cpus have the same ability to run processes, > lowering the overall throughput. >=20 > Signed-off-by: Glauber Costa > CC: Rik van Riel > CC: Jeremy Fitzhardinge > CC: Peter Zijlstra > CC: Avi Kivity > CC: Anthony Liguori > CC: Eric B Munson Tested-by: Eric B Munson --BzCohdixPhurzSK4 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQEcBAEBAgAGBQJN+qSGAAoJEH65iIruGRnNNHIIALHZMVPYigIgoe4ln/JeVM7A FPHPw5CgxzK446kxvg39dKB1rvVtHScIQrYbPS4QI+fKLP4hi/cx3nF+7DvhKtZr cwKsuuU780IGBApQuM5u/XgpCnI4GB177cGjNmB4MWmtvH9oA5LuM7uyycp0YPTw 7q01B2aNisJ5HQ4LoCWyNSORE0JzzQbNtA7CobzBjmDHrD0kNb1ggbDhGYtq1s9G OwdiisJWpc1hynuj3Km3Yvl5n7eh0D0LZdLTS0KSEnzAfZGfEkuXHzFFLz+Xgj5X j6oywo3gk2JFGbR1sZn4VMjh1PvEuTEH0asz4vbzgNjffKDnbaUUYFco+wGmAvk= =fpTs -----END PGP SIGNATURE----- --BzCohdixPhurzSK4--