Messages in this thread | | | Subject | Re: [PATCH] sched, fair: Allow a small degree of load imbalance between SD_NUMA domains | From | Rik van Riel <> | Date | Wed, 18 Dec 2019 21:58:01 -0500 |
| |
On Wed, 2019-12-18 at 15:44 +0000, Mel Gorman wrote:
> + /* > + * Ignore imbalance unless busiest sd is close > to 50% > + * utilisation. At that point balancing for > memory > + * bandwidth and potentially avoiding > unnecessary use > + * of HT siblings is as relevant as memory > locality. > + */ > + imbalance_max = (busiest->group_weight >> 1) - > imbalance_adj; > + if (env->imbalance <= imbalance_adj && > + busiest->sum_nr_running < imbalance_max) { > + env->imbalance = 0; > + } > + } > return; > }
I can see how the 50% point is often great for HT, but I wonder if that is also the case for SMT4 and SMT8 systems...
-- All Rights Reversed. [unhandled content-type:application/pgp-signature] | |