[PATCH] add PLE stats to kvmstat

2012-07-05 Thread Andrew Theurer
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 g

Re: [PATCH] add PLE stats to kvmstat

2012-07-06 Thread Xiao Guangrong
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

Re: [PATCH] add PLE stats to kvmstat

2012-07-06 Thread Andrew Theurer
On Fri, 2012-07-06 at 15:42 +0800, Xiao Guangrong wrote: > 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

Re: [PATCH] add PLE stats to kvmstat

2012-07-06 Thread Xiao Guangrong
On 07/06/2012 09:22 PM, Andrew Theurer wrote: > On Fri, 2012-07-06 at 15:42 +0800, Xiao Guangrong wrote: >> 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

Re: [PATCH] add PLE stats to kvmstat

2012-07-06 Thread Andrew Theurer
On Sat, 2012-07-07 at 01:40 +0800, Xiao Guangrong wrote: > On 07/06/2012 09:22 PM, Andrew Theurer wrote: > > On Fri, 2012-07-06 at 15:42 +0800, Xiao Guangrong wrote: > >> On 07/06/2012 05:50 AM, Andrew Theurer wrote: > >>> I, and I expect others, have a keen interest in knowing how often we > >>> e

Re: [PATCH] add PLE stats to kvmstat

2012-07-08 Thread Avi Kivity
On 07/06/2012 09:12 PM, Andrew Theurer wrote: > On Sat, 2012-07-07 at 01:40 +0800, Xiao Guangrong wrote: >> On 07/06/2012 09:22 PM, Andrew Theurer wrote: >> > On Fri, 2012-07-06 at 15:42 +0800, Xiao Guangrong wrote: >> >> On 07/06/2012 05:50 AM, Andrew Theurer wrote: >> >>> I, and I expect others,

Re: [PATCH] add PLE stats to kvmstat

2012-07-08 Thread Xiao Guangrong
On 07/08/2012 05:50 PM, Avi Kivity wrote: > On 07/06/2012 09:12 PM, Andrew Theurer wrote: >> On Sat, 2012-07-07 at 01:40 +0800, Xiao Guangrong wrote: >>> On 07/06/2012 09:22 PM, Andrew Theurer wrote: On Fri, 2012-07-06 at 15:42 +0800, Xiao Guangrong wrote: > On 07/06/2012 05:50 AM, Andrew

Re: [PATCH] add PLE stats to kvmstat

2012-07-09 Thread Avi Kivity
On 07/09/2012 09:42 AM, Xiao Guangrong wrote: >> >> Note, kvm_stat is able to use both the old debugfs based statistics and >> the tracepoint based events. The latter requires root privileges. >> > > Yes, but you are going to remove KVM debugfs statistics, will you > plan to remove kvm_stat aft