From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric B Munson Subject: Re: [PATCH 6/7] KVM-GST: adjust scheduler cpu power Date: Mon, 13 Jun 2011 21:21:16 -0400 Message-ID: <20110614012116.GH5341@mgebm.net> References: <1308007897-17013-1-git-send-email-glommer@redhat.com> <1308007897-17013-7-git-send-email-glommer@redhat.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="2oox5VnwalALFvA7" 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: <1308007897-17013-7-git-send-email-glommer@redhat.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org --2oox5VnwalALFvA7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, 13 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 --2oox5VnwalALFvA7 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQEcBAEBAgAGBQJN9reMAAoJEH65iIruGRnNpK4H/2N2y0lzZGbK1lqcJ3m5UKvH OuhwWaD8wmenPrijoIQ1jIg3p1kWdi+lqYSxPM1siLBTBYUAa05Y+SRw4qo55ZvJ y1YkNc6BCnygiCtyhlc/kTvJz+bjMW2eM4biY2KDpNcP+aCiwxzUYqrWjBjsGcPh x706va9EDfirNg/azXRxj+q8YauRzw+ea9VkqspQWLduDF8Mty0H6iJBzctqx69l 5NVcVDZVAztMA8BOAbcGGQ61J7OaZe9vEwLrBlgM7UrDfRxRJ1Si5Ht9fQvwZlPe zcu38yw85656q+cFN7V/1PrmFEUBST04aT4pn+JqUHG2dLlIg7/67thOLPhWmo4= =atqC -----END PGP SIGNATURE----- --2oox5VnwalALFvA7--