From mboxrd@z Thu Jan 1 00:00:00 1970 From: Asias He Subject: Re: [PATCH 6/7] KVM-GST: adjust scheduler cpu power Date: Tue, 14 Jun 2011 10:47:58 +0800 Message-ID: <4DF6CBDE.2070208@gmail.com> 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: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org, linux-kernel@vger.kernel.org, Rik van Riel , Jeremy Fitzhardinge , Peter Zijlstra , Avi Kivity , Anthony Liguori , Eric B Munson To: Glauber Costa Return-path: Received: from mail-px0-f179.google.com ([209.85.212.179]:56617 "EHLO mail-px0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751520Ab1FNCtb (ORCPT ); Mon, 13 Jun 2011 22:49:31 -0400 In-Reply-To: <1308007897-17013-7-git-send-email-glommer@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On 06/14/2011 07:31 AM, 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) > > 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. One typo in the commit log: s/Previosly/Previously -- Best Regards, Asias He