From: Ingo Molnar <mingo@kernel.org>
To: Chaohong Guo <guochaohong@open-hieco.net>
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
Date: Mon, 3 Aug 2026 08:10:00 +0200 [thread overview]
Message-ID: <anAwuEYDP_YAc6FL@gmail.com> (raw)
In-Reply-To: <20260803051248.3684453-2-guochaohong@open-hieco.net>
* Chaohong Guo <guochaohong@open-hieco.net> 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
next prev parent reply other threads:[~2026-08-03 6:10 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-03 5:12 [PATCH 1/2] x86/cpu/hygon: Introduce macros for hygon family numbers Chaohong Guo
2026-08-03 5:12 ` [PATCH 2/2] sched/numa: Apply remote socket distance averaging for Hygon 7447V Chaohong Guo
2026-08-03 6:10 ` Ingo Molnar [this message]
2026-08-03 6:10 ` [PATCH 1/2] x86/cpu/hygon: Introduce macros for hygon family numbers Peter Zijlstra
2026-08-03 6:25 ` Borislav Petkov
2026-08-04 2:57 ` Guo Chaohong
2026-08-04 17:55 ` Ingo Molnar
2026-08-03 6:30 ` Ingo Molnar
2026-08-04 3:11 ` Guo Chaohong
2026-08-04 17:53 ` Ingo Molnar
2026-08-05 1:35 ` Guo Chaohong
2026-08-05 2:33 ` Guo Chaohong
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=anAwuEYDP_YAc6FL@gmail.com \
--to=mingo@kernel.org \
--cc=bp@alien8.de \
--cc=guochaohong@open-hieco.net \
--cc=linux-kernel@vger.kernel.org \
--cc=peterz@infradead.org \
--cc=tim.c.chen@linux.intel.com \
--cc=x86@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox