Re: [PATCH] sched: rt: Make RT capacity aware

2019-10-07 Thread Qais Yousef
On 10/07/19 11:14, Dietmar Eggemann wrote: > On 23/09/2019 13:52, Qais Yousef wrote: > > On 09/20/19 14:52, Dietmar Eggemann wrote: > >>> 2. The fallback mechanism means we either have to call cpupri_find() > >>> twice once to find filtered lowest_rq and the other to return the > >>> no

Re: [PATCH] sched: rt: Make RT capacity aware

2019-10-07 Thread Dietmar Eggemann
On 23/09/2019 13:52, Qais Yousef wrote: > On 09/20/19 14:52, Dietmar Eggemann wrote: >>> 2. The fallback mechanism means we either have to call cpupri_find() >>>twice once to find filtered lowest_rq and the other to return the >>>none filtered version. >> >> This is what I have

Re: [PATCH] sched: rt: Make RT capacity aware

2019-09-23 Thread Qais Yousef
On 09/20/19 14:52, Dietmar Eggemann wrote: > > 2. The fallback mechanism means we either have to call cpupri_find() > >twice once to find filtered lowest_rq and the other to return the > >none filtered version. > > This is what I have in mind. (Only compile tested! ... and the

Re: [PATCH] sched: rt: Make RT capacity aware

2019-09-20 Thread Dietmar Eggemann
On 9/18/19 4:52 PM, Qais Yousef wrote: > On 09/13/19 14:30, Dietmar Eggemann wrote: >> On 9/4/19 4:40 PM, Qais Yousef wrote: >>> On 09/04/19 07:25, Steven Rostedt wrote: On Tue, 3 Sep 2019 11:33:29 +0100 Qais Yousef wrote: [...] >> On a big.LITTLE system (6 CPUs with [446 1024 1024 44

Re: [PATCH] sched: rt: Make RT capacity aware

2019-09-18 Thread Qais Yousef
On 09/13/19 14:30, Dietmar Eggemann wrote: > On 9/4/19 4:40 PM, Qais Yousef wrote: > > On 09/04/19 07:25, Steven Rostedt wrote: > >> On Tue, 3 Sep 2019 11:33:29 +0100 > >> Qais Yousef wrote: > > [...] > > >>> @@ -1614,7 +1660,8 @@ static void put_prev_task_rt(struct rq *rq, struct > >>> task_s

Re: [PATCH] sched: rt: Make RT capacity aware

2019-09-13 Thread Dietmar Eggemann
On 9/4/19 4:40 PM, Qais Yousef wrote: > On 09/04/19 07:25, Steven Rostedt wrote: >> On Tue, 3 Sep 2019 11:33:29 +0100 >> Qais Yousef wrote: [...] >>> @@ -1614,7 +1660,8 @@ static void put_prev_task_rt(struct rq *rq, struct >>> task_struct *p) >>> static int pick_rt_task(struct rq *rq, struct

Re: [PATCH] sched: rt: Make RT capacity aware

2019-09-04 Thread Qais Yousef
On 09/04/19 07:25, Steven Rostedt wrote: > On Tue, 3 Sep 2019 11:33:29 +0100 > Qais Yousef wrote: > > > Capacity Awareness refers to the fact that on heterogeneous systems > > (like Arm big.LITTLE), the capacity of the CPUs is not uniform, hence > > when placing tasks we need to be aware of this

Re: [PATCH] sched: rt: Make RT capacity aware

2019-09-04 Thread Steven Rostedt
On Tue, 3 Sep 2019 11:33:29 +0100 Qais Yousef wrote: > Capacity Awareness refers to the fact that on heterogeneous systems > (like Arm big.LITTLE), the capacity of the CPUs is not uniform, hence > when placing tasks we need to be aware of this difference of CPU > capacities. > > In such scenari

[PATCH] sched: rt: Make RT capacity aware

2019-09-03 Thread Qais Yousef
Capacity Awareness refers to the fact that on heterogeneous systems (like Arm big.LITTLE), the capacity of the CPUs is not uniform, hence when placing tasks we need to be aware of this difference of CPU capacities. In such scenarios we want to ensure that the selected CPU has enough capacity to me