Linux Documentation
 help / color / mirror / Atom feed
From: Lukasz Luba <lukasz.luba@arm.com>
To: "Lucas de Lima Nóbrega" <lucaslnobrega38@gmail.com>
Cc: dietmar.eggemann@arm.com, rostedt@goodmis.org,
	vincent.guittot@linaro.org, mingo@redhat.com, bsegall@google.com,
	mgorman@suse.de, vschneid@redhat.com, kprateek.nayak@amd.com,
	corbet@lwn.net, skhan@linuxfoundation.org,
	linux-pm@vger.kernel.org, linux-doc@vger.kernel.org,
	linux-kernel@vger.kernel.org, juri.lelli@redhat.com,
	rafael@kernel.org, viresh.kumar@linaro.org, peterz@infradead.org
Subject: Re: [PATCH] sched/topology: Allow EAS without schedutil for artificial Energy Models
Date: Mon, 29 Jun 2026 15:05:54 +0100	[thread overview]
Message-ID: <7f960dca-2de2-4831-8690-a40fdec848dd@arm.com> (raw)
In-Reply-To: <20260629083542.10041-1-lucaslnobrega38@gmail.com>



On 6/29/26 09:35, Lucas de Lima Nóbrega wrote:
> EAS currently refuses to enable energy-aware scheduling on a root
> domain unless schedutil is the active CPUFreq governor for all of its
> CPUs (cpufreq_ready_for_eas()). This requirement exists to protect the
> accuracy of the energy estimate: EAS predicts the OPP a CPU will run
> at from its utilization, which is only meaningful if the active
> governor actually requests OPPs that way, and schedutil is the only
> one that does.
> 
> That requirement does not apply to artificial Energy Models
> (EM_PERF_DOMAIN_ARTIFICIAL). An artificial EM is built from a
> get_cost() callback instead of real power numbers, and only encodes a
> cost ranking between CPUs (e.g. P-cores cost more than E-cores at a
> given utilization). It never claims to predict real energy use at any
> specific OPP, so there is no per-OPP accuracy for the governor
> requirement to protect, regardless of which governor is in control or
> whether it tracks utilization at all.
> 
> intel_pstate registers exactly this kind of artificial EM for hybrid
> (P/E-core) systems without SMT, regardless of whether it operates in
> active or passive mode. In active mode it never uses schedutil, since
> HWP picks frequency autonomously, so on these systems EAS never

When frequency is picked autonomously then EAS and energy estimations
don't make sense IMHO.

Do you have any data from experiments how it runs?

Regards,
Lukasz

  reply	other threads:[~2026-06-29 14:05 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-29  8:35 [PATCH] sched/topology: Allow EAS without schedutil for artificial Energy Models Lucas de Lima Nóbrega
2026-06-29 14:05 ` Lukasz Luba [this message]
2026-06-29 19:07   ` Lucas Lima
2026-06-29 15:16 ` Rafael J. Wysocki (Intel)
2026-06-29 19:06   ` Rafael J. Wysocki
2026-06-30  8:11     ` Lucas Lima
2026-06-30 13:06       ` Rafael J. Wysocki (Intel)
2026-06-30 18:15         ` Lucas Lima
2026-07-02 21:27           ` Lucas Lima
2026-07-06  9:05             ` Christian Loehle
2026-06-29 21:12   ` Lucas Lima
2026-06-30 12:47     ` Rafael J. Wysocki (Intel)

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=7f960dca-2de2-4831-8690-a40fdec848dd@arm.com \
    --to=lukasz.luba@arm.com \
    --cc=bsegall@google.com \
    --cc=corbet@lwn.net \
    --cc=dietmar.eggemann@arm.com \
    --cc=juri.lelli@redhat.com \
    --cc=kprateek.nayak@amd.com \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=lucaslnobrega38@gmail.com \
    --cc=mgorman@suse.de \
    --cc=mingo@redhat.com \
    --cc=peterz@infradead.org \
    --cc=rafael@kernel.org \
    --cc=rostedt@goodmis.org \
    --cc=skhan@linuxfoundation.org \
    --cc=vincent.guittot@linaro.org \
    --cc=viresh.kumar@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