Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp1731623pxm; Thu, 24 Feb 2022 08:21:28 -0800 (PST) X-Google-Smtp-Source: ABdhPJwSFWzPL4yQvXiy1LWZbmJwaZSx277oE/b9SYZtCzSZ/NIgB5SrDXDC2/XzDYF9/w6cg0ve X-Received: by 2002:a17:902:70cc:b0:14f:9d7c:907d with SMTP id l12-20020a17090270cc00b0014f9d7c907dmr3444960plt.52.1645719687968; Thu, 24 Feb 2022 08:21:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645719687; cv=none; d=google.com; s=arc-20160816; b=07+TOw1BYbYkiFgGhCJff6ZU3qlp0RVbRcgp+uLv9Hu1zGam8gwX13kdQC9VoeP0NP okuN76Y2xiGoXVh1YIV+oJG05IQzBdzIS8YaQQ6fI9w0vZ0HVIoNxerLiq5luPFwSNg3 XW3j0JypswQFpAeGvQXsrmwVMporYcWhC2hLexUn/CcC74O7tdwMiRhFGxDH1tlPic6j ijr7Ye6LMy10iHvDJ/d1ad8pJSr1CF3hqwk0v4ZfD6uXYgO51CIKuu0bbOr3lk++Ksud W+avMXmXZQNDZJN25lK5efyHiTUCP3XFUrxKVahkAju7ZkzF8IJroZHHsPD97pOLkgU7 /qhA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=qvM8jMFqdhB8ggMaZ8z1CU+Zz5sAw6Hp+J/ntKdwyaM=; b=TxmrFG/D4rdZe1h3X/1Jn+i2qvA7t6DVfmP2q/OTCHNvWLpPAxd8iY/UA4WKjDUb0q RNWa7mGuCGEelw2n5WRNjjYWGPWYABo8sv+tY3J6pTWa7iIRrW5gH7BR096iPk45ASuR 3QXw9V8lgAar+25pQKZ51fuoIScDTrmAabAEBlvz/WfmUOf5eKcfQ0cqmkUFHa6RKw+U tycEGk15bKJ4n78vGnyimZ4Gj2Q25lBKndxTaRM3NTU34qdo56q5uP5/24wbE871loyt iIlL1UJvxkc3r49BzfozpUSPdjKjmeIp2TqVh4ef28JDk5/jCuyOr0SP3ljk6h8DuEvI wCiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b=fSEXEEkF; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id q17si2794171pgq.14.2022.02.24.08.21.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Feb 2022 08:21:27 -0800 (PST) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b=fSEXEEkF; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 56BE243381; Thu, 24 Feb 2022 08:11:55 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232607AbiBXPWF (ORCPT + 99 others); Thu, 24 Feb 2022 10:22:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53018 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236255AbiBXPVq (ORCPT ); Thu, 24 Feb 2022 10:21:46 -0500 Received: from desiato.infradead.org (desiato.infradead.org [IPv6:2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9CD181B4035 for ; Thu, 24 Feb 2022 07:21:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; 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=qvM8jMFqdhB8ggMaZ8z1CU+Zz5sAw6Hp+J/ntKdwyaM=; b=fSEXEEkFMLpIgLXbqA2nOecSt5 9GyadfrtfRSW11ywgU3aKH8kLQRavn57Qv/KH4s1T91yhBZDkCOEvr+un/C9eQmmc4nz9/6JOm/dY J0GP1wvipeR3YCNQWhMc4ZRKfu7JNQuyWAy5Zey6KY7njrcUwG3bwJAP9r4TKRrzP/P6Rty8J3O6M JXdnafq+WuREFPHtPj3AZcnbGNVskgUV0xqR/2JAHWncXx9h6i6Oa1aa7zVcV1WIwyCJxjUc7cJDQ ioNFRqztEASVyMmeXhpvXwJbuSTOSjusqRmok9JiS+7jAXNHRsmw4MPzQRGxoTjCvk6XglWQ8vqsD ohuEpbFg==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by desiato.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1nNFvE-00CeY9-Aj; Thu, 24 Feb 2022 15:20:49 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 9FC3C300230; Thu, 24 Feb 2022 16:20:47 +0100 (CET) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 89ECB20164DD3; Thu, 24 Feb 2022 16:20:47 +0100 (CET) Date: Thu, 24 Feb 2022 16:20:47 +0100 From: Peter Zijlstra To: Abel Wu Cc: Ben Segall , Daniel Bristot de Oliveira , Dietmar Eggemann , Ingo Molnar , Juri Lelli , Mel Gorman , Steven Rostedt , Vincent Guittot , linux-kernel@vger.kernel.org Subject: Re: [RFC PATCH 0/5] introduce sched-idle balancing Message-ID: References: <20220217154403.6497-1-wuyun.abel@bytedance.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220217154403.6497-1-wuyun.abel@bytedance.com> X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 17, 2022 at 11:43:56PM +0800, Abel Wu wrote: > Current load balancing is mainly based on cpu capacity > and task util, which makes sense in the POV of overall > throughput. While there still might be some improvement > can be done by reducing number of overloaded cfs rqs if > sched-idle or idle rq exists. I'm much confused, there is an explicit new-idle balancer and a periodic idle balancer already there.