Re: [Xen-devel] [v1] x86/cpuidle: get accurate C0 value with xenpm tool

2015-04-17 Thread Han, Huaitong
-Original Message- From: Jan Beulich [mailto:jbeul...@suse.com] Sent: Thursday, April 16, 2015 4:49 PM To: Han, Huaitong Cc: xen-devel@lists.xen.org Subject: Re: [v1] x86/cpuidle: get accurate C0 value with xenpm tool On 16.04.15 at 08:03, huaitong@intel.com wrote: When checking

Re: [Xen-devel] [v1] x86/cpuidle: get accurate C0 value with xenpm tool

2015-04-17 Thread Jan Beulich
On 17.04.15 at 09:36, huaitong@intel.com wrote: From: Jan Beulich [mailto:jbeul...@suse.com] Sent: Thursday, April 16, 2015 4:49 PM On 16.04.15 at 08:03, huaitong@intel.com wrote: When checking the ACPI funciton of C-status, after 100 seconds sleep, the sampling value of C0

[Xen-devel] [v1] x86/cpuidle: get accurate C0 value with xenpm tool

2015-04-16 Thread Huaitong Han
When checking the ACPI funciton of C-status, after 100 seconds sleep, the sampling value of C0 C-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

Re: [Xen-devel] [v1] x86/cpuidle: get accurate C0 value with xenpm tool

2015-04-16 Thread Jan Beulich
On 16.04.15 at 08:03, huaitong@intel.com wrote: When checking the ACPI funciton of C-status, after 100 seconds sleep, the sampling value of C0 C-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