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 X-Spam-Level: X-Spam-Status: No, score=-5.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6EBA1C433DB for ; Fri, 8 Jan 2021 19:47:00 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1FEEE23AA3 for ; Fri, 8 Jan 2021 19:47:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728926AbhAHTq7 (ORCPT ); Fri, 8 Jan 2021 14:46:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47878 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728759AbhAHTq7 (ORCPT ); Fri, 8 Jan 2021 14:46:59 -0500 Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:8b0:10b:1231::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 98B35C061380 for ; Fri, 8 Jan 2021 11:46:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=oOtQDu7w1ab6cweuFIDLs0jH0PgEz7DuChoBHnBqhjY=; b=ezABTJEo25pEyy8exv16P+jYeK 0xmgd65tq60rvsCkakyn2p3IaNG59Pb538U82McIBLZcyv1Kc9HHzM7cZqC7WP0jO/VxmbcgZgjXo ti/DTFIGGnvAVX1s6xnwnhCoiVKfXQ8U3HPu2gIOnfhQc5OYOnrwakzq6EoBTf/3cFW62soScWLnF /wPK56qVnW6SaOifD1t3ZREPk9vS2jIaxBbsICZoaCPELzVEr6Yz0gI/XTDBSLKfWKEF3P7Nk3IWE cEITXV6zeZdKYGet+qazKExGu4qt280U1e5ell3trROosKqnaYQ/Bf6FknWQswydbNNMlaa5BVLlC DeUVgw3w==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by merlin.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1kxxhn-0007O1-K1; Fri, 08 Jan 2021 19:45:51 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 10E8D3003D8; Fri, 8 Jan 2021 20:45:45 +0100 (CET) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id F2E0220167A86; Fri, 8 Jan 2021 20:45:44 +0100 (CET) Date: Fri, 8 Jan 2021 20:45:44 +0100 From: Peter Zijlstra To: Vincent Guittot Cc: Mel Gorman , "Li, Aubrey" , linux-kernel , Ingo Molnar , Juri Lelli , Valentin Schneider , Qais Yousef , Dietmar Eggemann , Steven Rostedt , Ben Segall , Tim Chen , Jiang Biao Subject: Re: [RFC][PATCH 1/5] sched/fair: Fix select_idle_cpu()s cost accounting Message-ID: References: <20201214164822.402812729@infradead.org> <20201214170017.877557652@infradead.org> <20201215075911.GA3040@hirez.programming.kicks-ass.net> <20210108102738.GB3592@techsingularity.net> <20210108144058.GD3592@techsingularity.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jan 08, 2021 at 04:10:51PM +0100, Vincent Guittot wrote: > Also, there is another problem (that I'm investigating) which is that > this_rq()->avg_idle is stalled when your cpu is busy. Which means that > this avg_idle can just be a very old and meaningless value. I think > that we should decay it periodically to reflect there is less and less https://lkml.kernel.org/r/20180530143105.977759909@infradead.org :-)