All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] uclamp_max vs schedutil fixes
@ 2021-12-16 22:53 Qais Yousef
  2021-12-16 22:53 ` [PATCH 1/2] sched/sugov: Ignore 'busy' filter when rq is capped by uclamp_max Qais Yousef
  2021-12-16 22:53 ` [PATCH 2/2] sched/uclamp: Fix iowait boost escaping uclamp restriction Qais Yousef
  0 siblings, 2 replies; 8+ messages in thread
From: Qais Yousef @ 2021-12-16 22:53 UTC (permalink / raw)
  To: Rafael J. Wysocki, Viresh Kumar, Peter Zijlstra (Intel), Ingo Molnar
  Cc: Dietmar Eggemann, Vincent Guittot, Beata Michalska,
	Ionela Voinescu, linux-pm, linux-kernel, Qais Yousef

On systems that use sugov_update_single_{freq, perf}(), uclamp_max was
ineffective because of 'busy' filter which ignores requests to change frequency
if there's no idle time. A condition that is not true if uclamp is being used
on this system.

Similarly, io heavy tasks that are capped by uclamp_max can still obtain higher
frequencies because sugov_iowait_apply() doesn't clamp the boost with
uclamp_rq_util_with().

Patches 1 and 2 address these 2 problems.

Thanks!

--
Qais Yousef

Qais Yousef (2):
  sched/sugov: Ignore 'busy' filter when uclamp_is_used()
  sched/uclamp: Fix iowait boost escaping uclamp restriction

 kernel/sched/cpufreq_schedutil.c |  11 ++-
 kernel/sched/sched.h             | 139 +++++++++++++++++--------------
 2 files changed, 87 insertions(+), 63 deletions(-)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-01-28  7:40 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-16 22:53 [PATCH 0/2] uclamp_max vs schedutil fixes Qais Yousef
2021-12-16 22:53 ` [PATCH 1/2] sched/sugov: Ignore 'busy' filter when rq is capped by uclamp_max Qais Yousef
2021-12-17 15:54   ` Rafael J. Wysocki
2021-12-20 10:48     ` Qais Yousef
2022-01-28  7:40   ` [tip: sched/core] " tip-bot2 for Qais Yousef
2021-12-16 22:53 ` [PATCH 2/2] sched/uclamp: Fix iowait boost escaping uclamp restriction Qais Yousef
2021-12-17 15:56   ` Rafael J. Wysocki
2022-01-28  7:40   ` [tip: sched/core] " tip-bot2 for Qais Yousef

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.