Re: [PATCH] sched: Prefer sibiling only if local group is under-utilized

2017-03-23 Thread Vincent Guittot
On 22 March 2017 at 18:57, Srikar Dronamraju wrote: > If the child domain prefers tasks to go siblings, the local group could > end up pulling tasks to itself even if the local group is almost equally > loaded as the source group. > > Lets assume a 4 core,smt==2 machine running 5 thread ebizzy wor

Re: [PATCH] sched: Prefer sibiling only if local group is under-utilized

2017-03-23 Thread Peter Zijlstra
On Wed, Mar 22, 2017 at 11:27:50PM +0530, Srikar Dronamraju wrote: > @@ -7536,8 +7537,8 @@ static inline void update_sd_lb_stats(struct lb_env > *env, struct sd_lb_stats *sd >* the tasks on the system). >*/ > if (prefer_sibling && sds->local && > -

[PATCH] sched: Prefer sibiling only if local group is under-utilized

2017-03-22 Thread Srikar Dronamraju
If the child domain prefers tasks to go siblings, the local group could end up pulling tasks to itself even if the local group is almost equally loaded as the source group. Lets assume a 4 core,smt==2 machine running 5 thread ebizzy workload. Everytime, local group has capacity and source group ha