Re: [PATCH v3 3/6] KVM-GST: KVM Steal time accounting

2011-02-15 Thread Peter Zijlstra
On Tue, 2011-02-15 at 17:17 +0200, Avi Kivity wrote: > > Ah, so we're all set. Do you know if any user tools process this > information? I suppose there are, I bet Jeremy knows, Xen after all supports this stuff ;-) -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body

Re: [PATCH v3 3/6] KVM-GST: KVM Steal time accounting

2011-02-15 Thread Avi Kivity
On 02/15/2011 05:24 PM, Rik van Riel wrote: On 02/15/2011 10:17 AM, Avi Kivity wrote: Ah, so we're all set. Do you know if any user tools process this information? Top and vmstat have been displaying steal time for maybe 4 or 5 years now. Excellent, thanks. -- To unsubscribe from this list:

Re: [PATCH v3 3/6] KVM-GST: KVM Steal time accounting

2011-02-15 Thread Rik van Riel
On 02/15/2011 10:17 AM, Avi Kivity wrote: Ah, so we're all set. Do you know if any user tools process this information? Top and vmstat have been displaying steal time for maybe 4 or 5 years now. -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to major

Re: [PATCH v3 3/6] KVM-GST: KVM Steal time accounting

2011-02-15 Thread Avi Kivity
On 02/15/2011 04:45 PM, Peter Zijlstra wrote: On Tue, 2011-02-15 at 16:35 +0200, Avi Kivity wrote: On 02/11/2011 08:19 PM, Glauber Costa wrote: This patch accounts steal time time in kernel/sched. I kept it from last proposal, because I still see advantages in it: Doing it here will give us eas

Re: [PATCH v3 3/6] KVM-GST: KVM Steal time accounting

2011-02-15 Thread Avi Kivity
On 02/11/2011 08:19 PM, Glauber Costa wrote: This patch accounts steal time time in kernel/sched. I kept it from last proposal, because I still see advantages in it: Doing it here will give us easier access from scheduler variables such as the cpu rq. The next patch shows an example of usage for

Re: [PATCH v3 3/6] KVM-GST: KVM Steal time accounting

2011-02-15 Thread Peter Zijlstra
On Tue, 2011-02-15 at 16:35 +0200, Avi Kivity wrote: > On 02/11/2011 08:19 PM, Glauber Costa wrote: > > This patch accounts steal time time in kernel/sched. > > I kept it from last proposal, because I still see advantages > > in it: Doing it here will give us easier access from scheduler > > variab

Re: [PATCH v3 3/6] KVM-GST: KVM Steal time accounting

2011-02-12 Thread Glauber Costa
On Fri, 2011-02-11 at 20:05 +0100, Peter Zijlstra wrote: > On Fri, 2011-02-11 at 13:19 -0500, Glauber Costa wrote: > > > diff --git a/include/linux/sched.h b/include/linux/sched.h > > index d747f94..5dbf509 100644 > > --- a/include/linux/sched.h > > +++ b/include/linux/sched.h > > @@ -302,6 +302,7

Re: [PATCH v3 3/6] KVM-GST: KVM Steal time accounting

2011-02-11 Thread Peter Zijlstra
On Fri, 2011-02-11 at 13:19 -0500, Glauber Costa wrote: > diff --git a/include/linux/sched.h b/include/linux/sched.h > index d747f94..5dbf509 100644 > --- a/include/linux/sched.h > +++ b/include/linux/sched.h > @@ -302,6 +302,7 @@ long io_schedule_timeout(long timeout); > extern void cpu_init (vo