[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210604080954.13915-1-lukasz.luba@arm.com>
Date: Fri, 4 Jun 2021 09:09:52 +0100
From: Lukasz Luba <lukasz.luba@....com>
To: linux-kernel@...r.kernel.org
Cc: linux-pm@...r.kernel.org, peterz@...radead.org, rjw@...ysocki.net,
viresh.kumar@...aro.org, vincent.guittot@...aro.org,
qperret@...gle.com, dietmar.eggemann@....com,
vincent.donnefort@....com, lukasz.luba@....com,
Beata.Michalska@....com, mingo@...hat.com, juri.lelli@...hat.com,
rostedt@...dmis.org, segall@...gle.com, mgorman@...e.de,
bristot@...hat.com
Subject: [PATCH v2 0/2] Add allowed CPU capacity knowledge to EAS
Hi all,
The patch set v2 aims to add knowledge about reduced CPU capacity
into the Energy Model (EM) and Energy Aware Scheduler (EAS). Currently the
issue is that SchedUtil CPU frequency and EM frequency are not aligned,
when there is a CPU thermal capping. This causes an estimation error.
This patch set provides the information about allowed CPU capacity
into the EM (thanks to thermal pressure signal). This improves the
energy estimation. More info about this mechanism can be found in the
patches comments.
Changelog:
v2:
- clamp the returned value from effective_cpu_util() and avoid irq
util scaling issues (Quentin)
v1 is available at [1]
Regards,
Lukasz
[1] https://lore.kernel.org/linux-pm/20210602135609.10867-1-lukasz.luba@arm.com/
Lukasz Luba (2):
sched/fair: Take thermal pressure into account while estimating energy
sched/cpufreq: Consider reduced CPU capacity in energy calculation
include/linux/energy_model.h | 16 +++++++++++++---
include/linux/sched/cpufreq.h | 2 +-
kernel/sched/cpufreq_schedutil.c | 1 +
kernel/sched/fair.c | 19 +++++++++++++++----
4 files changed, 30 insertions(+), 8 deletions(-)
--
2.17.1
Powered by blists - more mailing lists