Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp594858iob; Wed, 18 May 2022 08:46:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxeYmBf61Dn8i5ET7gAY3qCOqPYywRCi1A/iMwvpj5kQ0Je2Kc6rrxVaoXsYIc4kdIKEGRw X-Received: by 2002:a17:903:234d:b0:161:994f:f83e with SMTP id c13-20020a170903234d00b00161994ff83emr325217plh.120.1652888819747; Wed, 18 May 2022 08:46:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652888819; cv=none; d=google.com; s=arc-20160816; b=A/T6Lh9lTbF+kIytLjO7/3TD37UVEgHz/XF2NUKCZwuG1a+8bvvJjgLtJdGtD0FIgx YN046rVRDNuldeUz3iStYtbxNQ6nKX25Zf8XgbjA3fC4fd+3rQ1nQzfMwz8TdjnaejiJ Z7kybw+eoBYO3thNt9MTNN+8mJMsuk1JACqqdwfwCz1WyDkfkkxJ/sdD3Wdc+0DO3ROG sI2MIM60M14LbmF2FFxP03zdHeeyfgPtrzhttc0TeSdZgkVxqMGmp1zgOKQVJ6GxOhWn RzXnVq+UCFOMhIBqb/Ljxvk/aaTkEjyMoNrhOzjry/OYr8Okgdmkik1zhRuJQgbjxR97 VrmQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=qPUjm835bmvxm10yGqmoOtgXa63h8vXk9UkcCeeb/4s=; b=XsgAtjsxijRLsqVNP4K1TMejvcbtp1DW1gZlDpBXN9LCj11oI1z7foHT/RsHNnJOuB Zp8W6CtC1rRNsGfVzhNwvgC0LpPl+wRdmoaYkv6nJx72oWgBTlRcUwAAa0lRe10xps1x lA0Tl7i4EsPnjX1AJQZQhjrUkVu/Xh7wQYNv76RD/FJkIyVkKMqI6H/H3Z/4+azhSTk0 iLcCIQyTIkpxUgPom7Ldf+aXpL+WynS8w4JSYfRjGXlvpIVtCH9Q4j4eLtZ4ECSPySbc 5Fe7ibVtqlqECJgiU4oUA8ZtIttD1mOZkzvVweVrZS4jJ0crOptRGsseQr+8Sk4Oh/0I OyfQ== 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:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id j10-20020a056a00130a00b0050dcc1acf09si3446554pfu.111.2022.05.18.08.46.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 May 2022 08:46:59 -0700 (PDT) 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; 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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 4B593DDE; Wed, 18 May 2022 08:40:48 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239500AbiERPj6 (ORCPT + 99 others); Wed, 18 May 2022 11:39:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49616 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239494AbiERPjw (ORCPT ); Wed, 18 May 2022 11:39:52 -0400 Received: from outbound-smtp03.blacknight.com (outbound-smtp03.blacknight.com [81.17.249.16]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 168B9163F66 for ; Wed, 18 May 2022 08:39:50 -0700 (PDT) Received: from mail.blacknight.com (pemlinmail06.blacknight.ie [81.17.255.152]) by outbound-smtp03.blacknight.com (Postfix) with ESMTPS id 5FA68C0AF9 for ; Wed, 18 May 2022 16:39:49 +0100 (IST) Received: (qmail 812 invoked from network); 18 May 2022 15:39:49 -0000 Received: from unknown (HELO techsingularity.net) (mgorman@techsingularity.net@[84.203.198.246]) by 81.17.254.9 with ESMTPSA (AES256-SHA encrypted, authenticated); 18 May 2022 15:39:49 -0000 Date: Wed, 18 May 2022 16:39:47 +0100 From: Mel Gorman To: Peter Zijlstra Cc: Ingo Molnar , Vincent Guittot , Valentin Schneider , Aubrey Li , LKML Subject: Re: [PATCH 3/4] sched/numa: Apply imbalance limitations consistently Message-ID: <20220518153947.GS3441@techsingularity.net> References: <20220511143038.4620-1-mgorman@techsingularity.net> <20220511143038.4620-4-mgorman@techsingularity.net> <20220518093156.GD10117@worktop.programming.kicks-ass.net> <20220518104652.GO3441@techsingularity.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, 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 Wed, May 18, 2022 at 03:59:34PM +0200, Peter Zijlstra wrote: > On Wed, May 18, 2022 at 11:46:52AM +0100, Mel Gorman wrote: > > > > (Although I do wonder about that 25% figure in the comment; that doesn't > > > seem to relate to any actual code anymore) > > > > > > > You're right, by the end of the series it's completely inaccurate and > > currently it's not accurate if there are multiple LLCs per node. I > > adjusted the wording to "Allow a NUMA imbalance if busy CPUs is less > > than the maximum threshold. Above this threshold, individual tasks may > > be contending for both memory bandwidth and any shared HT resources." > > > > Looks good. Meanwhile I saw a 0-day complaint that this regresses > something something unixbench by a bit. Do we care enough? I suppose > this is one of those trade-off patches again, win some, loose some. I think it's a trade-off. I made a more complete response to the 0-day people at https://lore.kernel.org/all/20220518152258.GR3441@techsingularity.net/ -- Mel Gorman SUSE Labs