Re: [RFC PATCH v3 06/10] sched: Add over-utilization/tipping point indicator

2018-06-19 Thread Dietmar Eggemann
On 06/19/2018 09:01 AM, Pavan Kondeti wrote: On Mon, May 21, 2018 at 03:25:01PM +0100, Quentin Perret wrote: [...] @@ -8152,6 +8176,9 @@ static inline void update_sg_lb_stats(struct lb_env *env, if (nr_running > 1) *overload = true; + if (cpu_overut

Re: [RFC PATCH v3 06/10] sched: Add over-utilization/tipping point indicator

2018-06-19 Thread Pavan Kondeti
On Mon, May 21, 2018 at 03:25:01PM +0100, Quentin Perret wrote: > util_est_enqueue(&rq->cfs, p); > hrtick_update(rq); > @@ -8121,11 +8144,12 @@ static bool update_nohz_stats(struct rq *rq, bool > force) > * @local_group: Does group contain this_cpu. > * @sgs: variable to hold th

[RFC PATCH v3 06/10] sched: Add over-utilization/tipping point indicator

2018-05-21 Thread Quentin Perret
From: Morten Rasmussen Energy-aware scheduling is only meant to be active while the system is _not_ over-utilized. That is, there are spare cycles available to shift tasks around based on their actual utilization to get a more energy-efficient task distribution without depriving any tasks. When a