Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp870143rwl; Wed, 12 Apr 2023 05:24:56 -0700 (PDT) X-Google-Smtp-Source: AKy350byY4haH+wbfOW8nTcXb+B+LNppRACJautWO3NfzG6okNCkaX4xJFEhHIXNj54WHxi4ppn5 X-Received: by 2002:a17:90b:3b91:b0:23f:a667:4efa with SMTP id pc17-20020a17090b3b9100b0023fa6674efamr19527489pjb.15.1681302295717; Wed, 12 Apr 2023 05:24:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681302295; cv=none; d=google.com; s=arc-20160816; b=NkXZtRls4fxx+r6H2PZHLtvHKSmH5a7t6EdB8kW+5vmDIuVrqxEvebbiG396Lbpxx/ Uh1bgl6+xd1M8R4u67NQ7arOU8eRSGWGe05gMv2vc6Y6AVlCqenqLd3ZuIUGAZudDh9X KfoaszaNWJJiZPL+PQ1+rMWB9JqDVjcCxgUcKbpDIPmqDZdlRO59lyQu+VjNhT/1+nBl nKCAd15V14nFLFXmu5URhYAxQ2wXTIxG3wbAg7Nxx6P/EhE+O3rghgLQibvkUvtJa9Rj U7lLxopju4nNS/SteTVBCLXHMrOw6h8THdAJclCGlPNq7NZVxEoaEZfZ1+ibtLIkQ+VT pIRw== 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=X6WFaagDxA1HSNNorPLlMI2u9P5Ku6tSIBRxh0ocD30=; b=j2rV84Nj7kzWDSaWJhOVw0OjsgGit2kTpWl+3LOpuRxDQquPEJCPVqmtR5dYq0ml+L nbb2UcsWdZYJRbwwQazBLoPxB7Thfo4hJyzP9t5XlwFmE5lt2O1CdqsnwLx3mAdPQVkU dYfdp0TMqQU+u2Ibdsr9xRFMEKVSCkRpz5K0hfBQrs3INkxlr+AnMuOK8zCGdDLdKiyx s/KEWCdYGjmnModyQXdZrfFylO0TJ7HTJYR4ch/nY0IkQdNP9CiG8q3m+yuffpQgawGc IphtSWAhRhtHzfeY8pZcOrml+XAeZhP6EcnwsuJPBHSA38ZDpePS/LrVzUWQDogUlptF lQuQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b=ABhlM9wU; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k186-20020a6384c3000000b005194496616bsi8799674pgd.348.2023.04.12.05.24.43; Wed, 12 Apr 2023 05:24:55 -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; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b=ABhlM9wU; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229895AbjDLMIT (ORCPT + 99 others); Wed, 12 Apr 2023 08:08:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49882 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229751AbjDLMIS (ORCPT ); Wed, 12 Apr 2023 08:08:18 -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 6AC6E4EDA for ; Wed, 12 Apr 2023 05:08:01 -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=X6WFaagDxA1HSNNorPLlMI2u9P5Ku6tSIBRxh0ocD30=; b=ABhlM9wUckgXQJWL6kJDkzboco RGXw5Hg+GfMYXPpSrUSOCsLO5j7giKKNBUio/BjF3jHHWlDj8ny7A0Qf8iCdKL1n6iEm8uR3JS1Qx xNUyTmJgYSt2D3LFDpSOw+qK15vjUBYh1ICjy54ycwE10yrOp1Q9YRF+rDZyy6JTu0xJUldMTmJ+b XEr9uRFzyaCtb7wlukH+l2MK9juccfw/zwDMciwgrUEsNEc7D9c6qU5eMF4S3q4hE5q4dNl2pHfSs Pzz+w/acszRDsYTMAbdJLSQoIw9Amjmc65ePuB0vc+1eBgCsFaxp/tS71ZmnzV3V7JAVyTanHRevu yXv9Yk/Q==; Received: from j130084.upc-j.chello.nl ([24.132.130.84] helo=noisy.programming.kicks-ass.net) by desiato.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1pmZGE-00DuvH-1U; Wed, 12 Apr 2023 12:07:38 +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 A57523002A6; Wed, 12 Apr 2023 14:07:36 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 88F3D235CC4CB; Wed, 12 Apr 2023 14:07:36 +0200 (CEST) Date: Wed, 12 Apr 2023 14:07:36 +0200 From: Peter Zijlstra To: Daniel Jordan Cc: Aaron Lu , Dietmar Eggemann , Ingo Molnar , Juri Lelli , Vincent Guittot , Steven Rostedt , Ben Segall , Mel Gorman , Daniel Bristot de Oliveira , Valentin Schneider , Tim Chen , Nitin Tekchandani , Waiman Long , Yu Chen , linux-kernel@vger.kernel.org Subject: Re: [RFC PATCH] sched/fair: Make tg->load_avg per node Message-ID: <20230412120736.GD628377@hirez.programming.kicks-ass.net> References: <20230327053955.GA570404@ziqianlu-desk2> <943d44f7-1fa9-8545-dc1d-890e4dd20854@arm.com> <20230328125624.GA6130@ziqianlu-desk2> <76939bf6-1d9d-5f8f-f15c-f03b2322d684@arm.com> <20230329135455.GA108864@ziqianlu-desk2> <20230330174557.m6jsgb6hsni4mxwq@parnassus.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230330174557.m6jsgb6hsni4mxwq@parnassus.localdomain> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE,URIBL_BLOCKED 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 On Thu, Mar 30, 2023 at 01:45:57PM -0400, Daniel Jordan wrote: > The topology of my machine is different from yours, but it's the biggest > I have, and I'm assuming cpu count is more important than topology when > reproducing the remote accesses. I also tried on Core count definitely matters some, but the thing that really hurts is the cross-node (and cross-cache, which for intel happens to be the same set) atomics. I suppose the thing to measure is where this cost rises most sharply on the AMD platforms -- is that cross LLC or cross Node? I mean, setting up the split at boot time is fairly straight forward and we could equally well split at LLC.