From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Wright Subject: Re: [PATCH] qemu-kvm: response to SIGUSR1 to start/stop a VCPU (v2) Date: Wed, 1 Dec 2010 09:46:56 -0800 Message-ID: <20101201174656.GC8514@sequoia.sous-sol.org> References: <1290530963-3448-1-git-send-email-aliguori@us.ibm.com> <4CECCA39.4060702@redhat.com> <4CED1A23.9030607@linux.vnet.ibm.com> <4CED1FD3.1000801@redhat.com> <20101201123742.GA3780@linux.vnet.ibm.com> <4CF6460C.5070604@redhat.com> <20101201161221.GA8073@linux.vnet.ibm.com> <1291220718.32004.1696.camel@laptop> <20101201171758.GA8514@sequoia.sous-sol.org> <1291224176.32004.1763.camel@laptop> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Chris Wright , vatsa@linux.vnet.ibm.com, Avi Kivity , Anthony Liguori , qemu-devel@nongnu.org, kvm@vger.kernel.org, Ingo Molnar , Mike Galbraith , riel@redhat.com To: Peter Zijlstra Return-path: Received: from sous-sol.org ([216.99.217.87]:57443 "EHLO sequoia.sous-sol.org" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751344Ab0LARro (ORCPT ); Wed, 1 Dec 2010 12:47:44 -0500 Content-Disposition: inline In-Reply-To: <1291224176.32004.1763.camel@laptop> Sender: kvm-owner@vger.kernel.org List-ID: * Peter Zijlstra (a.p.zijlstra@chello.nl) wrote: > On Wed, 2010-12-01 at 09:17 -0800, Chris Wright wrote: > > Directed yield and fairness don't mix well either. You can end up > > feeding the other tasks more time than you'll ever get back. > > If the directed yield is always to another task in your cgroup then > inter-guest scheduling fairness should be maintained. > > Yes, but not the inter-vcpu fairness. That same vcpu doesn't get fair scheduling if it spends its entire timeslice spinning on a lock held by a de-scheduled vcpu.