mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/3 v3] sched/rt: track rt rq utilization
@ 2017-11-22 14:35 Vincent Guittot
  2017-11-22 14:35 ` [PATCH v3 1/3] sched/pelt: Move pelt related code in a dedicated file Vincent Guittot
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Vincent Guittot @ 2017-11-22 14:35 UTC (permalink / raw)
  To: peterz, mingo, linux-kernel, rjw
  Cc: juri.lelli, dietmar.eggemann, Morten.Rasmussen, viresh.kumar,
	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.

Pathc 1 move pelt code in pelt.c file
Patch 2 tracks utilization of rt_rq.
Patch 3 adds the rt_rq's utilization when selection OPP for cfs tasks

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

Change since v2:
- move pelt code into a dedicated pelt.c file
- rebase on load tracking changes

Change since v1:
- Only a rebase. I have addressed the comments on previous version in
  patch 1/2

Vincent Guittot (3):
  sched/pelt: Move pelt related code in a dedicated file
  sched/rt: add rt_rq utilization tracking
  cpufreq/schedutil: add rt utilization tracking

 kernel/sched/Makefile            |   2 +-
 kernel/sched/cpufreq_schedutil.c |   2 +-
 kernel/sched/fair.c              | 310 +-----------------------------------
 kernel/sched/pelt.c              | 331 +++++++++++++++++++++++++++++++++++++++
 kernel/sched/pelt.h              |  24 +++
 kernel/sched/rt.c                |   9 ++
 kernel/sched/sched.h             |  21 +++
 7 files changed, 390 insertions(+), 309 deletions(-)
 create mode 100644 kernel/sched/pelt.c
 create mode 100644 kernel/sched/pelt.h

-- 
2.7.4

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

end of thread, other threads:[~2017-12-12 12:35 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-22 14:35 [PATCH 0/3 v3] sched/rt: track rt rq utilization Vincent Guittot
2017-11-22 14:35 ` [PATCH v3 1/3] sched/pelt: Move pelt related code in a dedicated file Vincent Guittot
2017-12-11 14:08   ` Quentin Perret
2017-12-12 11:21     ` Vincent Guittot
2017-12-12 12:35       ` Quentin Perret
2017-11-22 14:35 ` [PATCH v3 2/3] sched/rt: add rt_rq utilization tracking Vincent Guittot
2017-11-22 14:35 ` [PATCH 3/3] cpufreq/schedutil: add rt " Vincent Guittot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®