All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] track rt rq utilization
@ 2017-05-24  9:00 Vincent Guittot
  2017-05-24  9:00 ` [RFC PATCH 1/2] sched/rt: add utilization tracking Vincent Guittot
  2017-05-24  9:00 ` [PATCH 2/2] cpufreq/schedutil: add rt " Vincent Guittot
  0 siblings, 2 replies; 11+ messages in thread
From: Vincent Guittot @ 2017-05-24  9:00 UTC (permalink / raw)
  To: peterz, mingo, linux-kernel
  Cc: rjw, juri.lelli, dietmar.eggemann, Morten.Rasmussen, Vincent Guittot

When both cfs and rt tasks compete to run on a CPU, we can see some frequency
drops with schedutil governor. In such case, the cfs_rq's utilization doesn't
reflect anymore the utilization of cfs tasks but only the remaining part that
is not used by rt tasks. We should monitor the stolen utilization and take
it into account when selecting OPP.

Patch 1 tracks utilization of rt_rq.
Patch 2 adds the rt_rq's utilization when selection OPP for cfs tasks

This patchset doesn't change the OPP selection policy for RT tasks

Vincent Guittot (2):
  sched/rt: add utilization tracking
  cpufreq/schedutil: add rt utilization tracking

 kernel/sched/cpufreq_schedutil.c |  2 +-
 kernel/sched/fair.c              | 21 +++++++++++++++++++++
 kernel/sched/rt.c                |  9 +++++++++
 kernel/sched/sched.h             |  3 +++
 4 files changed, 34 insertions(+), 1 deletion(-)

-- 
2.7.4

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

end of thread, other threads:[~2017-05-31 11:39 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-24  9:00 [PATCH 0/2] track rt rq utilization Vincent Guittot
2017-05-24  9:00 ` [RFC PATCH 1/2] sched/rt: add utilization tracking Vincent Guittot
2017-05-30 15:50   ` Morten Rasmussen
2017-05-30 16:24     ` Vincent Guittot
2017-05-31  7:57       ` Morten Rasmussen
2017-05-31  9:40   ` Peter Zijlstra
2017-05-31 10:30     ` Peter Zijlstra
2017-05-31 10:41       ` Juri Lelli
2017-05-31 11:39         ` Peter Zijlstra
2017-05-31 11:24     ` Vincent Guittot
2017-05-24  9:00 ` [PATCH 2/2] cpufreq/schedutil: add rt " Vincent Guittot

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.