From: "Jan Beulich" Subject: Re: [V3] x86/cpuidle: get accurate C0 value with xenpm tool Date: Fri, 08 May 2015 09:35:15 +0100 Message-ID: <554C91630200007800078036@mail.emea.novell.com> References: <1431072666-13151-1-git-send-email-huaitong.han@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1431072666-13151-1-git-send-email-huaitong.han@intel.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Huaitong Han Cc: xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org >>> On 08.05.15 at 10:11, wrote: > When checking the ACPI funciton of C-status, after 100 seconds sleep, > the sampling value of C0 status from the xenpm tool decreases. > Because C0=NOW()-C1-C2-C3-C4, when NOW() value is during idle time, > NOW() value is bigger than last C-status update time, and C0 value > is also bigger than ture value. if margin of the second error cannot > make up for margin of the first error, the value of C0 would decrease. > > Signed-off-by: Huaitong Han Please address all comments on the previous iteration before re-submitting. Jan