All of lore.kernel.org
 help / color / mirror / Atom feed
From: Artem Bityutskiy <dedekind1@gmail.com>
To: "Kumar, Kaushlendra" <kaushlendra.kumar@intel.com>,
	"rafael@kernel.org" <rafael@kernel.org>,
	"lenb@kernel.org" <lenb@kernel.org>
Cc: "linux-pm@vger.kernel.org" <linux-pm@vger.kernel.org>
Subject: Re: [PATCH] intel_idle: Fix C6S and C10 latency values for Pantherlake
Date: Tue, 11 Aug 2026 20:25:34 +0300	[thread overview]
Message-ID: <8cdc18896a03d13ebea065ab27991a71e460069b.camel@gmail.com> (raw)
In-Reply-To: <LV3PR11MB87680CA8F9B3172110B7EBD0F5DD2@LV3PR11MB8768.namprd11.prod.outlook.com>

On Tue, 2026-08-11 at 10:36 +0000, Kumar, Kaushlendra wrote:
> On Tue, 2026-08-11 at 13:47 +0530, <reviewer> wrote:
> > The current values are based on what I measured using wult/pbe tool.
> > 
> > I think it will be better to explain the problem and how this patch
> > fixes it, give some details about workload. And ideally, also provided
> > turbostat output when it runs in parallel with the workload before and
> > after this patch.
> 
> Thank you for the feedback.
> 
> Looking at other platforms in intel_idle, C-state latency values are
> generally sourced from BIOS ACPI _CST characterization data. For
> example, MTL-L C6 (exit_latency=140, target_residency=420) and ADL-L
> C6 (exit_latency=170, target_residency=500) match their respective
> ACPI _CST tables.

So there are platforms that have intel_idle table and that do not have
it.

> For PTL, I observed a discrepancy. The ACPI _CST on a Pantherlake-L
> device  reports:
> 
>   C6S: latency=127us, residency=381us
>   C10: latency=1048us, residency=3144us

Discrepancy -> difference.

> Could you clarify which reference was used for other platforms — ACPI
> _CST or wult — so we can apply a consistent methodology for PTL?

Platforms that do not have intel_idle custom table, use latency from
ACPI _CST table. It only provides latency. Target residency is
calculated as 3x latency.

I do not know about _CST numbers. I only know that in many cases they
are not what I can observe using wult tool.

Panther Lake is the only client platform that I measured with the tools
I developed, and submitted the numbers based on wult and pbe data that
I got.

Artem.

      reply	other threads:[~2026-08-11 17:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-11  8:17 [PATCH] intel_idle: Fix C6S and C10 latency values for Pantherlake Kaushlendra Kumar
2026-08-11 10:05 ` Artem Bityutskiy
2026-08-11 10:06 ` Artem Bityutskiy
2026-08-11 10:36   ` Kumar, Kaushlendra
2026-08-11 17:25     ` Artem Bityutskiy [this message]

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=8cdc18896a03d13ebea065ab27991a71e460069b.camel@gmail.com \
    --to=dedekind1@gmail.com \
    --cc=kaushlendra.kumar@intel.com \
    --cc=lenb@kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=rafael@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.