Linux kernel -stable discussions
 help / color / mirror / Atom feed
From: K Prateek Nayak <kprateek.nayak@amd.com>
To: Vincent Guittot <vincent.guittot@linaro.org>
Cc: Jean-Baptiste Roquefere <jb.roquefere@ateme.com>,
	Peter Zijlstra <peterz@infradead.org>,
	"mingo@kernel.org" <mingo@kernel.org>,
	Juri Lelli <juri.lelli@redhat.com>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	Borislav Petkov <bp@alien8.de>,
	"Dietmar Eggemann" <dietmar.eggemann@arm.com>,
	Steven Rostedt <rostedt@goodmis.org>,
	Ben Segall <bsegall@google.com>, Mel Gorman <mgorman@suse.de>,
	"Gautham R. Shenoy" <gautham.shenoy@amd.com>,
	Swapnil Sapkal <swapnil.sapkal@amd.com>,
	Valentin Schneider <vschneid@redhat.com>,
	"regressions@lists.linux.dev" <regressions@lists.linux.dev>,
	"stable@vger.kernel.org" <stable@vger.kernel.org>
Subject: Re: IPC drop down on AMD epyc 7702P
Date: Mon, 5 May 2025 20:46:51 +0530	[thread overview]
Message-ID: <c0e87c08-f863-47f3-8016-c44e3dce2811@amd.com> (raw)
In-Reply-To: <CAKfTPtC6siPqX=vBweKz+dt2zoGiSQEGo32yh+MGhxNLSSW1_w@mail.gmail.com>

Hello Vincent,

On 5/5/2025 8:40 PM, Vincent Guittot wrote:
>>> commit 16b0a7a1a0af  ("sched/fair: Ensure tasks spreading in LLC
>>> during LB") eases the spread of task inside a LLC so It's not obvious
>>> for me how it would increase "a lot of CPU migrations go out of CCX,
>>> then L3 miss,". On the other hand, it will spread task in SMT and in
>>> LLC which can prevent running at highest freq on some system but I
>>> don't know if it's relevant for this SoC.
>>
>> I misspoke there. JB's workload seems to be sensitive even to core to
>> core migrations - "relax_domain_level=2" actually disabled newidle
>> balance above CLUSTER level which is a subset of MC on x86 and gets
> 
> Did he try with relax_domain_level=3, i.e. prevent newilde idle
> balance between LLC ? I don't see results showing that it's not enough
> to prevent newly idle migration between LLC

I don't think he did. JB if it isn't too much trouble, could you please
try running with "relax_domain_level=3" in kernel cmdline and see if
the performance is similar to "relax_domain_level=2".

I only realized it later that "relax_domain_level" works on topology
levels before degeneration.

-- 
Thanks and Regards,
Prateek



  reply	other threads:[~2025-05-05 15:17 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-17 21:08 IPC drop down on AMD epyc 7702P Jean-Baptiste Roquefere
2025-04-18  6:39 ` K Prateek Nayak
2025-04-28  7:43   ` Jean-Baptiste Roquefere
2025-04-30  9:13     ` K Prateek Nayak
2025-04-30  9:25       ` Peter Zijlstra
2025-04-30 10:41       ` Libo Chen
2025-04-30 11:29         ` K Prateek Nayak
2025-05-01  2:46           ` Libo Chen
2025-05-05 10:28       ` Vincent Guittot
2025-05-05 12:29         ` K Prateek Nayak
2025-05-05 15:10           ` Vincent Guittot
2025-05-05 15:16             ` K Prateek Nayak [this message]
2025-05-16 15:05               ` Jean-Baptiste Roquefere
2025-05-22 14:51                 ` Vincent Guittot
2025-05-23 12:24                   ` Jean-Baptiste Roquefere
2025-05-26  7:53                     ` Vincent Guittot

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=c0e87c08-f863-47f3-8016-c44e3dce2811@amd.com \
    --to=kprateek.nayak@amd.com \
    --cc=bp@alien8.de \
    --cc=bsegall@google.com \
    --cc=dietmar.eggemann@arm.com \
    --cc=gautham.shenoy@amd.com \
    --cc=jb.roquefere@ateme.com \
    --cc=juri.lelli@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mgorman@suse.de \
    --cc=mingo@kernel.org \
    --cc=peterz@infradead.org \
    --cc=regressions@lists.linux.dev \
    --cc=rostedt@goodmis.org \
    --cc=stable@vger.kernel.org \
    --cc=swapnil.sapkal@amd.com \
    --cc=vincent.guittot@linaro.org \
    --cc=vschneid@redhat.com \
    /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