Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp1252660rwr; Fri, 5 May 2023 11:11:53 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4YMcB5RCKTsX2/QtfhNbvOAp3RNsLlAlAzdAx9t7aNIvPJWoTarQpIWoJ+478v/CRu1G84 X-Received: by 2002:a05:6a21:32a1:b0:ee:d266:32b9 with SMTP id yt33-20020a056a2132a100b000eed26632b9mr3362284pzb.10.1683310313355; Fri, 05 May 2023 11:11:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683310313; cv=none; d=google.com; s=arc-20160816; b=G1hqFWSOrM0sel8h6mlIS7bdlOaRHfB/hog8e5e1dKaIeRmqhcCfe3tozx3vu2rb20 hh2kuYe0YtcluqvMVQagtSIKhG39OUj66R60JwMForAXFUydfDOA9WkKLuPZBSDY4Zq3 04KBAaFDJ5HGae4evsY8xU+Q69VORoYOTopZ1OkNdSVIre0Y/zJD7MYNfbJfTJULLj3t A+zL9qCH/TsPjrY4UeFAasf7sjkNFk62NicXsGL93t32QkHexTFUbgrgkoz7EXkbtew7 UtHEUHMZvzjlEhvyVSNyCPnVH8r4tGUvFlvn7vgWzZt3jvRIdW5XTdWxyOPPGCc7zz9H NmIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=P6YVcgEzMgaC4YxkkL4e51dimPgQiFbR0NQ0tYCjD10=; b=igKIH5uZVk5SGkTNO8ymphIXCdaIpCOiyjB30gdu4W0dUTedUkfhHJbP2J9hzJhD92 vutkro1JFs3aLQtYvyBIGN+VtokcRvMBoYUTVoeFnFFFDVZn2Hzp+5j7A0hMFICyxEc5 vxYonHqgB1DGONf5iyB/2bKwBPO4ZVuIuWxcJRt1UmqC9DXcop0yvDxR4sDF7Tg8Jclj 01f0wuIVU2Y/MPHoE/uMWa+vkbNXkxoNGeXkAZDflcpg5+O1U5CHcKSSt6ethi/euS/l vF/xAxv9xjm8jfO/xY9mOQPtxmreS8hc2saeN7kTcMOxDfROD7RExDkrs6K9Kd0zq6qY qggA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k188-20020a636fc5000000b0052c6e736ad1si2575658pgc.61.2023.05.05.11.11.40; Fri, 05 May 2023 11:11:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233176AbjEESCo (ORCPT + 99 others); Fri, 5 May 2023 14:02:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60958 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232149AbjEESCl (ORCPT ); Fri, 5 May 2023 14:02:41 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 3A5C3160BD for ; Fri, 5 May 2023 11:02:40 -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 49C001FB; Fri, 5 May 2023 11:03:24 -0700 (PDT) Received: from [192.168.178.92] (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 651A23F67D; Fri, 5 May 2023 11:02:38 -0700 (PDT) Message-ID: <8276e5ce-b1f6-19e2-095b-abc6952bd1c7@arm.com> Date: Fri, 5 May 2023 20:02:36 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: [PATCH 1/1] sched: Consider CPU contention in frequency & load-balance busiest CPU selection Content-Language: en-US To: Chen Yu Cc: Ingo Molnar , Peter Zijlstra , Vincent Guittot , Qais Yousef , Kajetan Puchalski , Morten Rasmussen , Vincent Donnefort , Quentin Perret , Abhijeet Dharmapurikar , linux-kernel@vger.kernel.org References: <20230406155030.1989554-1-dietmar.eggemann@arm.com> <20230406155030.1989554-2-dietmar.eggemann@arm.com> From: Dietmar Eggemann In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-8.5 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham 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 Hi Chenyu, On 05/05/2023 09:10, Chen Yu wrote: > On 2023-04-06 at 17:50:30 +0200, Dietmar Eggemann wrote: >> Use new cpu_boosted_util_cfs() instead of cpu_util_cfs(). >> >> The former returns max(util_avg, runnable_avg) capped by max CPU >> capacity. CPU contention is thereby considered through runnable_avg. >> >> The change in load-balance only affects migration type `migrate_util`. >> >> Suggested-by: Vincent Guittot >> Signed-off-by: Dietmar Eggemann >> > Tested on Intel Sapphire Rapids which has 2x56C/112T = 224 CPUs. > The test tries to check if this is any impact on find_busiest_queue() > so it was tested with cpufreq governor performance. > The baseline is the 6.3 sched/core branch on top of > Commit 67fff302fc445a ("sched/fair: Introduce SIS_CURRENT to wake up"), > and compared to the code with current patch applied. > > In summary no obvious difference and some small improvements on tbench > were observed so far: many thanks for the test results! Could you share the parameter lists you use for the individual tests? This would make it easier to understand the results and rerun the tests on similar machines. [...]