From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xiao Guangrong Subject: Re: [PATCH] add PLE stats to kvmstat Date: Fri, 06 Jul 2012 15:42:59 +0800 Message-ID: <4FF69703.9080402@linux.vnet.ibm.com> References: <1341525037.12425.46.camel@oc2024037011.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: habanero@linux.vnet.ibm.com Return-path: Received: from e23smtp07.au.ibm.com ([202.81.31.140]:36732 "EHLO e23smtp07.au.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752177Ab2GFHnJ (ORCPT ); Fri, 6 Jul 2012 03:43:09 -0400 Received: from /spool/local by e23smtp07.au.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 6 Jul 2012 07:33:37 +1000 Received: from d23av03.au.ibm.com (d23av03.au.ibm.com [9.190.234.97]) by d23relay05.au.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id q667Z8TO7995728 for ; Fri, 6 Jul 2012 17:35:09 +1000 Received: from d23av03.au.ibm.com (loopback [127.0.0.1]) by d23av03.au.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id q667h2FT024000 for ; Fri, 6 Jul 2012 17:43:02 +1000 In-Reply-To: <1341525037.12425.46.camel@oc2024037011.ibm.com> Sender: kvm-owner@vger.kernel.org List-ID: On 07/06/2012 05:50 AM, Andrew Theurer wrote: > I, and I expect others, have a keen interest in knowing how often we > exit for PLE, and also how often that includes a yielding to another > vcpu. The following adds two more counters to kvmstat to track the > exits and the vcpu yields. This in no way changes PLE behavior, just > helps us track what's going on. > Tracepoint is a better choice than the counters you used. :)