Re: [RFC PATCH v3 10/10] arch_topology: Start Energy Aware Scheduling

2018-06-19 Thread Quentin Perret
On Tuesday 19 Jun 2018 at 12:31:08 (+0200), Juri Lelli wrote: > On 19/06/18 11:25, Quentin Perret wrote: > > On Tuesday 19 Jun 2018 at 12:19:01 (+0200), Juri Lelli wrote: > > > On 19/06/18 11:02, Quentin Perret wrote: > > > > On Tuesday 19 Jun 2018 at 11:47:14 (+0200), Juri Lelli wrote: > > > > > O

Re: [RFC PATCH v3 10/10] arch_topology: Start Energy Aware Scheduling

2018-06-19 Thread Juri Lelli
On 19/06/18 11:25, Quentin Perret wrote: > On Tuesday 19 Jun 2018 at 12:19:01 (+0200), Juri Lelli wrote: > > On 19/06/18 11:02, Quentin Perret wrote: > > > On Tuesday 19 Jun 2018 at 11:47:14 (+0200), Juri Lelli wrote: > > > > On 19/06/18 10:40, Quentin Perret wrote: > > > > > Hi Pavan, > > > > > >

Re: [RFC PATCH v3 10/10] arch_topology: Start Energy Aware Scheduling

2018-06-19 Thread Quentin Perret
On Tuesday 19 Jun 2018 at 12:19:01 (+0200), Juri Lelli wrote: > On 19/06/18 11:02, Quentin Perret wrote: > > On Tuesday 19 Jun 2018 at 11:47:14 (+0200), Juri Lelli wrote: > > > On 19/06/18 10:40, Quentin Perret wrote: > > > > Hi Pavan, > > > > > > > > On Tuesday 19 Jun 2018 at 14:48:41 (+0530), Pa

Re: [RFC PATCH v3 10/10] arch_topology: Start Energy Aware Scheduling

2018-06-19 Thread Juri Lelli
On 19/06/18 11:02, Quentin Perret wrote: > On Tuesday 19 Jun 2018 at 11:47:14 (+0200), Juri Lelli wrote: > > On 19/06/18 10:40, Quentin Perret wrote: > > > Hi Pavan, > > > > > > On Tuesday 19 Jun 2018 at 14:48:41 (+0530), Pavan Kondeti wrote: > > > > [...] > > > > > > There seems to be a sysfs i

Re: [RFC PATCH v3 10/10] arch_topology: Start Energy Aware Scheduling

2018-06-19 Thread Quentin Perret
On Tuesday 19 Jun 2018 at 11:47:14 (+0200), Juri Lelli wrote: > On 19/06/18 10:40, Quentin Perret wrote: > > Hi Pavan, > > > > On Tuesday 19 Jun 2018 at 14:48:41 (+0530), Pavan Kondeti wrote: > > [...] > > > > There seems to be a sysfs interface exposed by this driver to change > > > cpu_scale.

Re: [RFC PATCH v3 10/10] arch_topology: Start Energy Aware Scheduling

2018-06-19 Thread Juri Lelli
On 19/06/18 10:40, Quentin Perret wrote: > Hi Pavan, > > On Tuesday 19 Jun 2018 at 14:48:41 (+0530), Pavan Kondeti wrote: [...] > > There seems to be a sysfs interface exposed by this driver to change > > cpu_scale. > > Should we worry about it? I don't know what is the usecase for changing the

Re: [RFC PATCH v3 10/10] arch_topology: Start Energy Aware Scheduling

2018-06-19 Thread Quentin Perret
Hi Pavan, On Tuesday 19 Jun 2018 at 14:48:41 (+0530), Pavan Kondeti wrote: > On Mon, May 21, 2018 at 03:25:05PM +0100, Quentin Perret wrote: > > > > > +static void start_eas_workfn(struct work_struct *work); > > +static DECLARE_WORK(start_eas_work, start_eas_workfn); > > + > > static int > >

Re: [RFC PATCH v3 10/10] arch_topology: Start Energy Aware Scheduling

2018-06-19 Thread Pavan Kondeti
On Mon, May 21, 2018 at 03:25:05PM +0100, Quentin Perret wrote: > +static void start_eas_workfn(struct work_struct *work); > +static DECLARE_WORK(start_eas_work, start_eas_workfn); > + > static int > init_cpu_capacity_callback(struct notifier_block *nb, > unsigned long

[RFC PATCH v3 10/10] arch_topology: Start Energy Aware Scheduling

2018-05-21 Thread Quentin Perret
Energy Aware Scheduling starts when the scheduling domains are built if the Energy Model is present and all conditions are met. However, in the typical case of Arm/Arm64 systems, the Energy Model is provided after the scheduling domains are first built at boot time, which results in EAS staying dis