From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F0532395D8B for ; Mon, 3 Aug 2026 06:10:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785737407; cv=none; b=s0l5P6vHvY9BQkb5K7qDRfypJVqWqpZ8oI5qjOyRC0r8bKwvHVSFmjhdHsUyzEl8jGmRd3UMkEntaIn6Ff8W0HkxtNOWm98PXleDrDuOSvhtCjncoMUx4Th5gLlrMjLIK8fopwCluJzhb98PJ2mLE4yuriLqLmmxFoEi9W4juVQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785737407; c=relaxed/simple; bh=h1YW7k8KxLqdWZ/HT2jSqlwU6HwZuAFn981LfWB9DiM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=KJ8/5yacIfF4iCmCPINpg194g+kJFAAJIfWWRCvg2UJ/sN+izzPAjm0kkfnsJm9PuWrHOv2UTrrgQeMAXhpzP99LeZTIb0JY8JCGTf3KdTuxhNPdpp8efgoBcuB6w/bvkiHDALQ/PpDUopjm1gkw0nsUQVrY4Op49t7LoVOM6uI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=ebjeJUAw; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="ebjeJUAw" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0AC081F000E9; Mon, 3 Aug 2026 06:10:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1785737405; bh=MNmf4Y9IK+ucVjAttB6nCCkw2umavVY7bZ9RvQife6c=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=ebjeJUAwpG51vIxOKoZctUa9O9Ilb//UJZ5mU2k0BPHtHDzw+LttwmjcTiVWdrVw9 Qs4IRYoWwCX/hOmjIQh1t4CHVVflRDFs06CVHbbCw2AnzHD5l/rHh73sLWf4Sz37BM 4JNAcsgJPrd1MpSKucj275SA1xUEFuWmVFSqs0J+A3RcWOfo4shlE8L+delSBXpFQt INYCCYjdZozLPkdleiziVrLgug0jn8GMz0+Kx8lBt3FZg0qNtL5qc+36c54BXeJT4a QwX3e9PnuQOtfgZVmsarrUsI+cNwYgbdPuKx+LTy7Z5w+abMPlPM9FCZpUI5MyGwB9 WWjDSpKSbB5sA== Date: Mon, 3 Aug 2026 08:10:00 +0200 From: Ingo Molnar To: Chaohong Guo Cc: peterz@infradead.org, tim.c.chen@linux.intel.com, bp@alien8.de, x86@kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/2] sched/numa: Apply remote socket distance averaging for Hygon 7447V Message-ID: References: <20260803051248.3684453-1-guochaohong@open-hieco.net> <20260803051248.3684453-2-guochaohong@open-hieco.net> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20260803051248.3684453-2-guochaohong@open-hieco.net> * Chaohong Guo wrote: > The following diagram illustrates the node topology (two packages, six > nodes each): > > package 0 package 1 > > ---------------------------------------------- > | -------------------- | > | | | | > ------ ------- ------ ------ > | 0 |------| 3 | | 6 |-------| 9 | > ------ ------- ----- ----- > | | | | > ------- ------- ----- ------ > | 5 |------| 2 | | 11 |-------| 8 | > ------- ------- ----- ----- > | | | | > ------- ------- ----- ------ > | 4 |------| 1 | | 10 |-------| 7 | > ------ ------- ----- ------ > | | | | > | -------------------- | > ---------------------------------------------- > > From the perspective of CPUs in node 0, sched domains: > numa-level 1 : [0] [3] [5] > numa-level 2: [0, 3, 5], [2], [4] > numa-level 3: [0, 2, 3, 4, 5], [1, 2, 3, 4, 5] > numa-level 4: [0-5], [9] > numa-level 5: [0-5, 9], [6], [8] > numa-level 6: [0-6, 8, 9], [7], [11] > numa-level 7: [0-9], [2-11] > > NUMA level 5-7, nodes in different socket are grouped together,which > caused CPUs in remote socket are chosen while load balancing. > > For better perfornace, we do the same as Intel is doing on intel GNR/CWF. Could you please include the before/after sched domains topology in the changelog. Looks good otherwise. Thanks, Ingo