From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755807Ab2GJN1m (ORCPT ); Tue, 10 Jul 2012 09:27:42 -0400 Received: from e7.ny.us.ibm.com ([32.97.182.137]:42239 "EHLO e7.ny.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753174Ab2GJN1k (ORCPT ); Tue, 10 Jul 2012 09:27:40 -0400 Subject: Re: [PATCH RFC 0/2] kvm: Improving directed yield in PLE handler From: Andrew Theurer Reply-To: habanero@linux.vnet.ibm.com To: Raghavendra K T Cc: "H. Peter Anvin" , Thomas Gleixner , Marcelo Tosatti , Ingo Molnar , Avi Kivity , Rik van Riel , S390 , Carsten Otte , Christian Borntraeger , KVM , chegu vinod , LKML , X86 , Gleb Natapov , linux390@de.ibm.com, Srivatsa Vaddagiri , Joerg Roedel In-Reply-To: <4FFC17D8.5010108@linux.vnet.ibm.com> References: <20120709062012.24030.37154.sendpatchset@codeblue> <1341870457.2909.27.camel@oc2024037011.ibm.com> <4FFC17D8.5010108@linux.vnet.ibm.com> Content-Type: text/plain; charset="UTF-8" Date: Tue, 10 Jul 2012 08:27:29 -0500 Message-ID: <1341926849.2909.28.camel@oc2024037011.ibm.com> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 (2.28.3-24.el6) Content-Transfer-Encoding: 7bit X-Content-Scanned: Fidelis XPS MAILER x-cbid: 12071013-5806-0000-0000-00001723FB60 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2012-07-10 at 17:24 +0530, Raghavendra K T wrote: > On 07/10/2012 03:17 AM, Andrew Theurer wrote: > > On Mon, 2012-07-09 at 11:50 +0530, Raghavendra K T wrote: > >> Currently Pause Looop Exit (PLE) handler is doing directed yield to a > >> random VCPU on PL exit. Though we already have filtering while choosing > >> the candidate to yield_to, we can do better. > > > > Hi, Raghu. > > > [...] > > > > Can you briefly explain the 1x and 2x configs? This of course is highly > > dependent whether or not HT is enabled... > > > > Sorry if I had not made very clear in earlier threads. Have you applied > Rik's following patch for base. without this you could see some > inconsistent results perhaps. > > https://lkml.org/lkml/2012/6/19/401 Yes, I do have that applied with your patch and in my baseline. -Andrew Theurer