Re: [PATCH v3] perf pmu intel: Adjust cpumaks for sub-NUMA clusters on Emeraldrapids
From: Chun-Tse Shao
Date: Thu Apr 02 2026 - 16:54:38 EST
Please check patch v4 for rebasing.
https://lore.kernel.org/20260402205300.1953706-1-ctshao@xxxxxxxxxx
Thanks,
CT
On Wed, Apr 1, 2026 at 5:08 PM Namhyung Kim <namhyung@xxxxxxxxxx> wrote:
>
> On Wed, Apr 01, 2026 at 09:38:24AM -0700, Ian Rogers wrote:
> > On Thu, Feb 12, 2026 at 4:08 PM Chen, Zide <zide.chen@xxxxxxxxx> wrote:
> > >
> > > On 2/12/2026 2:39 PM, Chun-Tse Shao wrote:
> > > > Similar to GNR [1], Emeraldrapids supports sub-NUMA clusters as well.
> > > > Adjust cpumasks as the logic for GNR in [1].
> > > >
> > > > Tested on Emeraldrapids with SNC2 enabled:
> > > > $ perf stat --per-node -e 'UNC_CHA_CLOCKTICKS,UNC_M_CLOCKTICKS' -a -- sleep 1
> > > >
> > > > Performance counter stats for 'system wide':
> > > >
> > > > N0 30 72125876670 UNC_CHA_CLOCKTICKS
> > > > N0 4 8815163648 UNC_M_CLOCKTICKS
> > > > N1 30 72124958844 UNC_CHA_CLOCKTICKS
> > > > N1 4 8815014974 UNC_M_CLOCKTICKS
> > > > N2 30 72121049022 UNC_CHA_CLOCKTICKS
> > > > N2 4 8814592626 UNC_M_CLOCKTICKS
> > > > N3 30 72117133854 UNC_CHA_CLOCKTICKS
> > > > N3 4 8814012840 UNC_M_CLOCKTICKS
> > > >
> > > > 1.001574118 seconds time elapsed
> > > >
> > > > [1] lore.kernel.org/20250515181417.491401-1-irogers@xxxxxxxxxx
> > > >
> > > > Signed-off-by: Chun-Tse Shao <ctshao@xxxxxxxxxx>
> > >
> > > LGTM.
> > >
> > > Reviewed-by: Zide Chen <zide.chen@xxxxxxxxx>
> >
> > Reviewed-by: Ian Rogers <irogers@xxxxxxxxxx>
>
> It doesn't apply cleanly anymore. CT, can you please rebase?
>
> Thanks,
> Namhyung
>