Re: [PATCH v7 00/11] track CPU utilization

2018-07-06 Thread Peter Zijlstra
On Fri, Jul 06, 2018 at 11:35:22AM +0530, Viresh Kumar wrote: > On 05-07-18, 14:36, Peter Zijlstra wrote: > > +/* > > + * This function computes an effective utilization for the given CPU, to be > > + * used for frequency selection given the linear relation: f = u * f_max. > > + * > > + * The

Re: [PATCH v7 00/11] track CPU utilization

2018-07-06 Thread Peter Zijlstra
On Fri, Jul 06, 2018 at 11:35:22AM +0530, Viresh Kumar wrote: > On 05-07-18, 14:36, Peter Zijlstra wrote: > > +/* > > + * This function computes an effective utilization for the given CPU, to be > > + * used for frequency selection given the linear relation: f = u * f_max. > > + * > > + * The

Re: [PATCH v7 00/11] track CPU utilization

2018-07-06 Thread Viresh Kumar
On 05-07-18, 14:36, Peter Zijlstra wrote: > Subject: sched/cpufreq: Clarify sugov_get_util() > > Add a few comments (hopefully) clarifying some of the magic in > sugov_get_util(). > > Signed-off-by: Peter Zijlstra (Intel) > --- > cpufreq_schedutil.c | 69 >

Re: [PATCH v7 00/11] track CPU utilization

2018-07-06 Thread Viresh Kumar
On 05-07-18, 14:36, Peter Zijlstra wrote: > Subject: sched/cpufreq: Clarify sugov_get_util() > > Add a few comments (hopefully) clarifying some of the magic in > sugov_get_util(). > > Signed-off-by: Peter Zijlstra (Intel) > --- > cpufreq_schedutil.c | 69 >

Re: [PATCH v7 00/11] track CPU utilization

2018-07-05 Thread Vincent Guittot
Hi Peter On Thu, 5 Jul 2018 at 14:36, Peter Zijlstra wrote: > > > OK, this looks good I suppose. Rafael, are you OK with me taking these? > > I have the below on top because I once again forgot how it all worked; > does this work for you Vincent? Yes looks good to me Thanks > > --- >

Re: [PATCH v7 00/11] track CPU utilization

2018-07-05 Thread Vincent Guittot
Hi Peter On Thu, 5 Jul 2018 at 14:36, Peter Zijlstra wrote: > > > OK, this looks good I suppose. Rafael, are you OK with me taking these? > > I have the below on top because I once again forgot how it all worked; > does this work for you Vincent? Yes looks good to me Thanks > > --- >

Re: [PATCH v7 00/11] track CPU utilization

2018-07-05 Thread Peter Zijlstra
On Thu, Jun 28, 2018 at 05:45:03PM +0200, Vincent Guittot wrote: > Vincent Guittot (11): > sched/pelt: Move pelt related code in a dedicated file > sched/rt: add rt_rq utilization tracking > cpufreq/schedutil: use rt utilization tracking > sched/dl: add dl_rq utilization tracking >

Re: [PATCH v7 00/11] track CPU utilization

2018-07-05 Thread Peter Zijlstra
On Thu, Jun 28, 2018 at 05:45:03PM +0200, Vincent Guittot wrote: > Vincent Guittot (11): > sched/pelt: Move pelt related code in a dedicated file > sched/rt: add rt_rq utilization tracking > cpufreq/schedutil: use rt utilization tracking > sched/dl: add dl_rq utilization tracking >

[PATCH v7 00/11] track CPU utilization

2018-06-28 Thread Vincent Guittot
This patchset initially tracked only the utilization of RT rq. During OSPM summit, it has been discussed the opportunity to extend it in order to get an estimate of the utilization of the CPU. - Patches 1 move pelt code in a dedicated file and remove some blank lines - Patches 2-3 add

[PATCH v7 00/11] track CPU utilization

2018-06-28 Thread Vincent Guittot
This patchset initially tracked only the utilization of RT rq. During OSPM summit, it has been discussed the opportunity to extend it in order to get an estimate of the utilization of the CPU. - Patches 1 move pelt code in a dedicated file and remove some blank lines - Patches 2-3 add