From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 25D84EC8726 for ; Thu, 7 Sep 2023 17:33:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240304AbjIGRdW (ORCPT ); Thu, 7 Sep 2023 13:33:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44680 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245298AbjIGRdT (ORCPT ); Thu, 7 Sep 2023 13:33:19 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id B1C0A1FE6; Thu, 7 Sep 2023 10:32:49 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id B0A7C1763; Thu, 7 Sep 2023 06:57:29 -0700 (PDT) Received: from [10.57.92.126] (unknown [10.57.92.126]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 2839B3F766; Thu, 7 Sep 2023 06:56:50 -0700 (PDT) Message-ID: <8919ed14-8d19-d964-2278-3303a5bda8ee@arm.com> Date: Thu, 7 Sep 2023 14:57:26 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.0 Subject: Re: [RFC PATCH 0/7] sched: cpufreq: Remove magic margins Content-Language: en-US To: Peter Zijlstra Cc: linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, "Rafael J. Wysocki" , Ingo Molnar , Dietmar Eggemann , Vincent Guittot , Viresh Kumar , Qais Yousef References: <20230827233203.1315953-1-qyousef@layalina.io> <20230906211850.zyvk6qtt6fvpxaf3@airbuntu> <20230907132631.GF10955@noisy.programming.kicks-ass.net> From: Lukasz Luba In-Reply-To: <20230907132631.GF10955@noisy.programming.kicks-ass.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org On 9/7/23 14:26, Peter Zijlstra wrote: > On Wed, Sep 06, 2023 at 10:18:50PM +0100, Qais Yousef wrote: > >> This is probably controversial statement. But I am not in favour of util_est. >> I need to collect the data, but I think we're better with 16ms PELT HALFLIFE as >> default instead. But I will need to do a separate investigation on that. > > I think util_est makes perfect sense, where PELT has to fundamentally > decay non-running / non-runnable tasks in order to provide a temporal > average, DVFS might be best served with a termporal max filter. > > Since we are here... Would you allow to have a configuration for the util_est shifter: UTIL_EST_WEIGHT_SHIFT ? I've found other values than '2' better in some scenarios. That helps to prevent a big task to 'down' migrate from a Big CPU (1024) to some Mid CPU (~500-700 capacity) or even Little (~120-300).