Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp1743561pxm; Thu, 24 Feb 2022 08:33:41 -0800 (PST) X-Google-Smtp-Source: ABdhPJw+Gy2tnPCCn949diC8kTrtuyRywFumHiuwZkSaWktlVVi1RLJhMWxnZSXsInoS+wZcztgK X-Received: by 2002:a17:90a:9a8d:b0:1bc:508a:9b16 with SMTP id e13-20020a17090a9a8d00b001bc508a9b16mr3621933pjp.52.1645720421298; Thu, 24 Feb 2022 08:33:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645720421; cv=none; d=google.com; s=arc-20160816; b=O5SMj6C5NJITB6HKuhxr977Z/GUb0z7v08ch8axZDbpv+g+JS4dVDw2U4nrvbtMslK pw6bU5cPHze3KXBQST9FQlwYAx2UuouqH+huo7U6NrY/x4PJBQL8UPPHiy5bgJ/MPuX/ +neY+QulyEMgoLvoc4MFL+0zfN+HCtXV8em+B30DDTmgjn/2O2iDexbN7Xmyjqx6KEqK UHvoueZnnbBcHCl/zXkifg20tZcP5JI3VxjaQFRx7PP0mwY5fCSu4b5Skts+T/T8bcPw +tpaRE0/YpVFJ/A6VgGvJe5CCBFHFJJpeQW11fy8K5PFcf2G0BF3Qu91/Y9nEEp2zqNn 1W0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=EMjz3GUKEught2ePjPyclv4KwRdqwfnECAei6dKW3vI=; b=Qtwdf4VwWz/WV3qHQOUyd/fAkFpyKOrlfz5jMDmsi777/wpHUnkULiGjtQ7cTZ9iE3 kNruTUjL5nOG3V+YKtqWURjRxF3b5E1OqZV0B58APfoVSD4jOSV3liTIJWPXGwiB2WnB oHEVOupPvPtqe5JW5+I6ajhXHy8+4m/ZZVh33fo2R+7rjK3WYD5hrz4pkBciIUutLlDw eloKEumVoHKwHut9pAAeHaUmin0F7PVh71fgSw4JZqtANPVTtZ52tV40ayYkJdXrP3at 0o6hCg1B5vsFjIfCC8azrkC9OdLY9la9aYwsFAyO2+FnUE0IV3ese5sH1jvs6OLvOT81 JF4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gFftsX0z; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id s13si624706pgo.297.2022.02.24.08.33.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Feb 2022 08:33:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gFftsX0z; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 8D6511BA917; Thu, 24 Feb 2022 08:17:49 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232334AbiBXP3u (ORCPT + 99 others); Thu, 24 Feb 2022 10:29:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54678 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232343AbiBXP3t (ORCPT ); Thu, 24 Feb 2022 10:29:49 -0500 Received: from mail-lj1-x22a.google.com (mail-lj1-x22a.google.com [IPv6:2a00:1450:4864:20::22a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 724091BA14C for ; Thu, 24 Feb 2022 07:29:19 -0800 (PST) Received: by mail-lj1-x22a.google.com with SMTP id bn33so3408864ljb.6 for ; Thu, 24 Feb 2022 07:29:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=EMjz3GUKEught2ePjPyclv4KwRdqwfnECAei6dKW3vI=; b=gFftsX0zxW/J0elk0M3ECgZKjVXIIbavU/YePdhRXkpMslH4BYQQSm30MsSEwKkW+e 5AM+QDI2cWeD6mu8dLlaGyL/YBEHISsTs16zDwC2BeOsfXMmL2JvRzaY8+vbjTvQ8HDV g+Yrl5r0cxVFAbHOZ4ReZzoUOeEb54kGl81MzFf7F+yykMW1xmJ49UvdySchA++r9WUt 96bluTYY7CZGYQ24S+YJ3CxFuDpopexF88tihcK/fa8VIH8qSoYCAQ0kNvbZjWFOvlWi L2Rx2mXxDcF7a2gyCPz5fr8xPq6yRfMZGortCGXJUfVlWtY17nNRu+lRpHLH/NjvkxDh zVHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=EMjz3GUKEught2ePjPyclv4KwRdqwfnECAei6dKW3vI=; b=6iZTRTgWV2YHM0pRxDD7/vmGNI+DM+d8OI7QqBLkY+Tk9Hw0v0fRuLHSaUR4RfbiX1 J3idj/BiPnWOq+Tvn0tMz2H+HSGoyYCLE0dt/tsVt6eHLaZ01bwKM7mL82avgjbGKSD8 CXBX6fkfUONVQddj/w7n/69tyAVxJ28BNW1SvA7Bcqf1E1QWGiMqMxGQAMToNmCCAZhr BoXaeOUnJ9yaMi6iRe4zSJMk5ugWSdOhKAd4RNlm7gfBKT58tENagUg5hkyoV5XuYFJl vzvSZa9/rhHZiKVsueDaZvqBFKElIcly/SkxtnJGmocQZCavrDB/EFCv/eufz6whWMQz AF3A== X-Gm-Message-State: AOAM531iLNScUGhkQJCcKLnvy4qh751wvVcnJLagTn7H8wnNOTgifqIM X8uVqJqTMs6+UdMu0ur/s9XZvBr6lDMEZ23i9Eix8Q== X-Received: by 2002:a2e:a905:0:b0:246:609b:881e with SMTP id j5-20020a2ea905000000b00246609b881emr2202891ljq.383.1645716557754; Thu, 24 Feb 2022 07:29:17 -0800 (PST) MIME-Version: 1.0 References: <20220217154403.6497-1-wuyun.abel@bytedance.com> In-Reply-To: From: Vincent Guittot Date: Thu, 24 Feb 2022 16:29:06 +0100 Message-ID: Subject: Re: [RFC PATCH 0/5] introduce sched-idle balancing To: Peter Zijlstra Cc: Abel Wu , Ben Segall , Daniel Bristot de Oliveira , Dietmar Eggemann , Ingo Molnar , Juri Lelli , Mel Gorman , Steven Rostedt , linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" 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, 24 Feb 2022 at 16:20, Peter Zijlstra wrote: > > 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. I agree, You failed to explain why newly_idle and periodic idle load balance are not enough and we need this new one