Re: [PATCH v3 1/5] sched/fair: Account update_blocked_averages in newidle_balance cost

From: Mel Gorman
Date: Thu Oct 21 2021 - 05:43:18 EST


On Tue, Oct 19, 2021 at 02:35:33PM +0200, Vincent Guittot wrote:
> The time spent to update the blocked load can be significant depending of
> the complexity fo the cgroup hierarchy. Take this time into account in
> the cost of the 1st load balance of a newly idle cpu.
>
> Also reduce the number of call to sched_clock_cpu() and track more actual
> work.
>
> Signed-off-by: Vincent Guittot <vincent.guittot@xxxxxxxxxx>

Acked-by: Mel Gorman <mgorman@xxxxxxx>

--
Mel Gorman
SUSE Labs