Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp508215iob; Wed, 18 May 2022 07:03:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwptO99HufUqOmatIVlkLlvbecnsKqa1pxxJB/x+0ZnnizbaAbBFvpMNYdrLo1UGbVe5NDI X-Received: by 2002:a17:903:120f:b0:15f:99f:9597 with SMTP id l15-20020a170903120f00b0015f099f9597mr27322495plh.45.1652882624741; Wed, 18 May 2022 07:03:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652882624; cv=none; d=google.com; s=arc-20160816; b=HTxdkU722Fdb/Mau35W/pKteCWfBU3ILjYyLo9P4GXWkdOdB7R4G+KNL5e7tAiDtrm og44mcfxaKPGlvTcQfkvIlVKzFQqbA3K7rk1hWn8UZMJ0EXxmkX3XjOmqB2AsSeEz7J5 ocljHeYnGrM2pX9lkF40ScPj4VMXVkhpCL1AgsrntczTPSYS5fDQbZLpD4Gh3wWQgFnE Gok1fHlmcT4v5O+2SMc8Q7AejDNTF7W7hSS8qSQo6RgQv7/8meeqGc5WIySVxz7qGtpQ k1Hodu4T7MzjTWqN7PfKVdnSk6xiMZjeBfSI+oEyToJ0UyjS4mbVi5nHuHhqtWEnFrS8 0LEA== 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=diFgENTszdQUHXAKgwYmdyZMPkaYBZcehcdCuI+8CNI=; b=QtBphdXJ9/L+dIoFzaovV7TaCAkalIiFD+oXjUNPIKvXTrkN7BLWjznlriW8cHf3Jv 6TF42LWGEdjVopDGSk+SwsvSCRI9s2PzzYAc/xtgKyGukpHyQx2nYY/rdPG2G8AL9A9W 3GXXdmno4Gzmem+JtC0adFDZvJPXBzafGou7fFEe4k/7Qy1Je2maqyFcIfwMEHdJS3uq iAwYozmKEt1q1nABu6ZmP5y3vwC9Jqt/pI3QIEY4fwzq5fELQH+aVFhwgg2XzsvtAHG7 SnPF5bvqFRVdF1tmCISt6riss+x+PGoE2lH8TCo2HyJyO+t5C0DufJPkzCODlZL7xbnC 8H+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b=piMPTHj0; 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 n11-20020a1709026a8b00b00153b2d16485si2659796plk.141.2022.05.18.07.03.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 May 2022 07:03:44 -0700 (PDT) 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=piMPTHj0; 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 4C4A21B7779; Wed, 18 May 2022 07:00:00 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238328AbiERN7u (ORCPT + 99 others); Wed, 18 May 2022 09:59:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40108 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229721AbiERN7t (ORCPT ); Wed, 18 May 2022 09:59:49 -0400 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 6CBC41A7D28 for ; Wed, 18 May 2022 06:59:47 -0700 (PDT) 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=diFgENTszdQUHXAKgwYmdyZMPkaYBZcehcdCuI+8CNI=; b=piMPTHj0XG5LeId6adfAZJaoiu gsW2AlDfqunjvacbNZ/xs4ODNR4GizI/LByJtwiD30R11aQIkyOmX3NDkQ+jgnqWMOXc2GtT0LE99 PnDJ0pGknFeTbCpw1F3+NIjAuuv9Irh5ovdQgb6UNJZjvzQORVnts4X88IrdFjxtgT/dN4UjZy2U4 Pwcu9m61SgyVlI3lZ4ECgfKR4hlHsnRgSJ0GLCv5J3YLYLJVpHfol+t5/bnuuLbonzVNv0nvliGUw p1Nn5EKLXc/vLbBXxIaO9APm0HBwzecwb7RCKeNfiyPB/BGf08Iog1J9oDAQouGohRcGq2u2vAdDR urBkCclg==; 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 1nrKD9-001YVZ-N4; Wed, 18 May 2022 13:59:36 +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 1AFB93003AA; Wed, 18 May 2022 15:59:35 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 00C42202391E4; Wed, 18 May 2022 15:59:34 +0200 (CEST) Date: Wed, 18 May 2022 15:59:34 +0200 From: Peter Zijlstra To: Mel Gorman Cc: Ingo Molnar , Vincent Guittot , Valentin Schneider , Aubrey Li , LKML Subject: Re: [PATCH 3/4] sched/numa: Apply imbalance limitations consistently Message-ID: 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=us-ascii Content-Disposition: inline In-Reply-To: <20220518104652.GO3441@techsingularity.net> 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 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.