[PATCH v2 0/1] AMD EPYC: fix schedutil perf regression (freq-invariance)
From: Giovanni Gherdovich
Date: Fri Jan 22 2021 - 15:48:45 EST
Michael Larabel from Phoronix.com graciously tested v1, see results at:
AMD EPYC 7702 -
https://openbenchmarking.org/result/2101210-PTS-LINUX51178
AMD Ryzen 9 5950X -
https://openbenchmarking.org/result/2101212-HA-RYZEN959566
The reported regression is recovered, and some workloads even report an
improvement over the v5.10 results.
Thanks Michael for the feedback!
v1 at https://lore.kernel.org/lkml/20210121003223.20257-1-ggherdovich@xxxxxxx/
Changes wrt v1:
- move code around so that it builds for non-x86 architectures too
Giovanni Gherdovich (1):
x86,sched: On AMD EPYC set freq_max = max_boost in schedutil invariant
formula
drivers/cpufreq/acpi-cpufreq.c | 64 +++++++++++++++++++++++++++++++-
drivers/cpufreq/cpufreq.c | 3 ++
include/linux/cpufreq.h | 5 +++
kernel/sched/cpufreq_schedutil.c | 8 +++-
4 files changed, 76 insertions(+), 4 deletions(-)
--
2.26.2