[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1467654194.3583.33.camel@gmail.com>
Date: Mon, 04 Jul 2016 19:43:14 +0200
From: Mike Galbraith <umgwanakikbuti@...il.com>
To: Matt Fleming <matt@...eblueprint.co.uk>,
Dietmar Eggemann <dietmar.eggemann@....com>
Cc: Peter Zijlstra <peterz@...radead.org>,
Yuyang Du <yuyang.du@...el.com>,
LKML <linux-kernel@...r.kernel.org>,
Mel Gorman <mgorman@...hsingularity.net>
Subject: Re: [rfc patch] sched/fair: Use instantaneous load for fork/exec
balancing
On Mon, 2016-07-04 at 16:04 +0100, Matt Fleming wrote:
> But we can optimise the special case of dequeueing the last entity and
> reset ::runnable_load_avg early, which gives a performance improvement
> to workloads that trigger the load balancer, such as fork-heavy
> applications when SD_BALANCE_FORK is set, because it gives a more up
> to date view of how busy the cpu is.
Begs the question: what's so special about this case vs any other
dequeue/enqueue?
I've given up on this as being a waste of time. Either you serialize
everything box wide (not!) and can then make truly accurate evaluations
of state, or you're making an educated guess based upon what once was.
The only place I've seen where using the average consistently has
issues is with a longish period periodic load (schbench).
-Mike
Powered by blists - more mailing lists