From mboxrd@z Thu Jan 1 00:00:00 1970 From: Quentin Perret Subject: Re: [PATCH v5 09/14] sched: Add over-utilization/tipping point indicator Date: Thu, 9 Aug 2018 10:38:09 +0100 Message-ID: <20180809093808.dkhf53a7gecv3djo@queper01-lin> References: <20180724122521.22109-1-quentin.perret@arm.com> <20180724122521.22109-10-quentin.perret@arm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org To: Vincent Guittot Cc: Peter Zijlstra , "Rafael J. Wysocki" , linux-kernel , "open list:THERMAL" , "gregkh@linuxfoundation.org" , Ingo Molnar , Dietmar Eggemann , Morten Rasmussen , Chris Redpath , Patrick Bellasi , Valentin Schneider , Thara Gopinath , viresh kumar , Todd Kjos , Joel Fernandes , "Cc: Steve Muckle" , adharmap@quicinc.com, "Kannan, Saravana" , pkondeti@codeaurora.org List-Id: linux-pm@vger.kernel.org On Thursday 09 Aug 2018 at 11:30:57 (+0200), Vincent Guittot wrote: > On Tue, 24 Jul 2018 at 14:26, Quentin Perret wrote: > > > > 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 > > above the tipping point task placement is done the traditional way based > > on load_avg, spreading the tasks across as many cpus as possible based > > on priority scaled load to preserve smp_nice. Below the tipping point we > > want to use util_avg instead. We need to define a criteria for when we > > make the switch. > > > > The util_avg for each cpu converges towards 100% (1024) regardless of > > remove the "(1024)" because util_avg converges to max cpu capacity > which can be different from 1024 Good point, will be fixed in v6. Thanks, Quentin